summaryrefslogtreecommitdiffstats
path: root/builder/modules.d/busybox/install-busybox-stage4.sh
diff options
context:
space:
mode:
authorJonathan Bauer2019-08-08 13:52:50 +0200
committerJonathan Bauer2019-08-08 13:52:50 +0200
commitcc96ca29557586ff63d5c1fb192bcd570cc1cef7 (patch)
treea6a672a8f574a111a4826704e172b7db4101d052 /builder/modules.d/busybox/install-busybox-stage4.sh
parent[busybox] only install if binary is there (diff)
downloadsystemd-init-cc96ca29557586ff63d5c1fb192bcd570cc1cef7.tar.gz
systemd-init-cc96ca29557586ff63d5c1fb192bcd570cc1cef7.tar.xz
systemd-init-cc96ca29557586ff63d5c1fb192bcd570cc1cef7.zip
[busybox] install busybox into stage4
Diffstat (limited to 'builder/modules.d/busybox/install-busybox-stage4.sh')
-rw-r--r--builder/modules.d/busybox/install-busybox-stage4.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/builder/modules.d/busybox/install-busybox-stage4.sh b/builder/modules.d/busybox/install-busybox-stage4.sh
new file mode 100644
index 00000000..dde07184
--- /dev/null
+++ b/builder/modules.d/busybox/install-busybox-stage4.sh
@@ -0,0 +1,7 @@
+#!/bin/bash
+
+if hash busybox; then
+ mkdir -p "$NEWROOT/opt/openslx/bin"
+ busybox --install -s "$NEWROOT/opt/openslx/bin"
+fi
+true