summaryrefslogtreecommitdiffstats
path: root/builder/modules.d/busybox/install-busybox-stage4.sh
diff options
context:
space:
mode:
authorJonathan Bauer2020-05-13 11:04:02 +0200
committerJonathan Bauer2020-05-13 11:04:02 +0200
commit1130873aa55c9b0a7e5af48edc44bd6c6fd1f888 (patch)
tree0fcfa186cd631d8d36611b3d4bc509fd38841d51 /builder/modules.d/busybox/install-busybox-stage4.sh
parentMerge branch 'centos8' into downloader (diff)
downloadsystemd-init-1130873aa55c9b0a7e5af48edc44bd6c6fd1f888.tar.gz
systemd-init-1130873aa55c9b0a7e5af48edc44bd6c6fd1f888.tar.xz
systemd-init-1130873aa55c9b0a7e5af48edc44bd6c6fd1f888.zip
restructure repo
* remove packager * move everything from builder/* back to root
Diffstat (limited to 'builder/modules.d/busybox/install-busybox-stage4.sh')
-rw-r--r--builder/modules.d/busybox/install-busybox-stage4.sh16
1 files changed, 0 insertions, 16 deletions
diff --git a/builder/modules.d/busybox/install-busybox-stage4.sh b/builder/modules.d/busybox/install-busybox-stage4.sh
deleted file mode 100644
index ad34b75c..00000000
--- a/builder/modules.d/busybox/install-busybox-stage4.sh
+++ /dev/null
@@ -1,16 +0,0 @@
-#!/bin/bash
-
-if hash busybox; then
- # check if the stage4 has a busybox in the same location
- # as within the initramfs. If so, we keep it and just hope
- # that everything works out. If there is none, we can copy
- # our busybox there safely
- bb_path="$(type -p busybox)"
- if ! [ -x "${NEWROOT}/${bb_path}" ]; then
- cp -f "$bb_path" "${NEWROOT}/${bb_path}"
- fi
- # finally install the applets under /opt/openslx/bin
- mkdir -p "${NEWROOT}/opt/openslx/bin"
- busybox --install -s "${NEWROOT}/opt/openslx/bin"
-fi
-true