summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJonathan Bauer2021-07-26 14:08:44 +0200
committerJonathan Bauer2021-07-26 14:08:44 +0200
commit1439e6a5f20a5ce3418d4329ec8e0b4371c1374b (patch)
treedf2ef3cc35f7da5a8a7658e4d6f04b19fd99ec2a
parent[busybox] fix applet install paths in stage4 (diff)
downloadsystemd-init-1439e6a5f20a5ce3418d4329ec8e0b4371c1374b.tar.gz
systemd-init-1439e6a5f20a5ce3418d4329ec8e0b4371c1374b.tar.xz
systemd-init-1439e6a5f20a5ce3418d4329ec8e0b4371c1374b.zip
[busybox] fix install paths & remove double warning
-rw-r--r--modules.d/busybox/install-busybox-stage4.sh3
1 files changed, 1 insertions, 2 deletions
diff --git a/modules.d/busybox/install-busybox-stage4.sh b/modules.d/busybox/install-busybox-stage4.sh
index 55b1ab16..03071773 100644
--- a/modules.d/busybox/install-busybox-stage4.sh
+++ b/modules.d/busybox/install-busybox-stage4.sh
@@ -11,8 +11,7 @@ if hash busybox; then
cp -f "$bb_path" "${NEWROOT}/opt/openslx/bin/busybox"
# --list-full gives {s,}bin prefixes
for app in $(busybox --list-full); do
- ln -s "/opt/openslx/bin/busybox" "/opt/openslx/$app" \
- || warn "Failed to symlink '$app' to busybox."
+ ln -s "/opt/openslx/bin/busybox" "${NEWROOT}/opt/openslx/$app"
done
fi
fi