mirror of
https://github.com/valitydev/salt.git
synced 2024-11-06 16:45:27 +00:00
Merge pull request #46734 from terminalmage/busybox
Make busybox image builder work with newer busybox releases
This commit is contained in:
commit
bd1e8bcc7d
@ -32,6 +32,9 @@ cp "$busybox" "$rootfsDir/bin/busybox"
|
||||
unset IFS
|
||||
|
||||
for module in "${modules[@]}"; do
|
||||
# Don't stomp on the busybox binary (newer busybox releases
|
||||
# include busybox in the --list-modules output)
|
||||
test "$module" == "bin/busybox" && continue
|
||||
mkdir -p "$(dirname "$module")"
|
||||
ln -sf /bin/busybox "$module"
|
||||
done
|
||||
|
Loading…
Reference in New Issue
Block a user