mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Make busybox image builder work with newer busybox releases
This commit is contained in:
parent
554400e067
commit
6502b6b4ff
1 changed files with 3 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue