cmd/update: use short option in update.sh #20368
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Following McQuaid's suggestion, I chose a practical target: installing Homebrew on Alpine Linux. I understood each step and the current issues faced, then I wrote an article describing the installation process.
According to the current tier policy, Alpine Linux should be considered Tier 2. Since Homebrew doesn't appear to be interested in migrating its images to Alpine, I didn't add CI tests running on Alpine Linux.
The current issues of installing and running Homebrew on Alpine Linux are:
ldd
for installation.grep
andsort
for installation, but busybox do not support them./usr/bin/stat
existing for installation, but Alpine Linux only has/bin/stat
.brew shellenv
needsps
to support-p
option, but busybox do not support it.-p
is POSIX-required, that should be fixed by busybox.brew shellenv sh
.brew list
needsls
to support-q
option, but busybox do not support it.-q
is POSIX-required, that should be fixed by busybox.find
to support-lname
option, but busybox do not support it.In summary, the changes involved in this PR are all the required changes.