diff options
| author | Laurent Bercot <ska-skaware@skarnet.org> | 2019-05-04 00:10:26 +0000 |
|---|---|---|
| committer | Laurent Bercot <ska-skaware@skarnet.org> | 2019-05-04 00:10:26 +0000 |
| commit | 7bb2006007c1996f33758e41db070252d4d3607f (patch) | |
| tree | 3dc03d4f6a8867742961a3dea9ecc96c52d00a10 /sub/busybox/install-bbsuid | |
| parent | 1202c964c4e91083a3c60b41b9c11e220bfa759d (diff) | |
| download | lh-bootstrap-7bb2006007c1996f33758e41db070252d4d3607f.tar.gz | |
Make a lean and mean version, as a basis for filling an initramfs
Diffstat (limited to 'sub/busybox/install-bbsuid')
| -rwxr-xr-x | sub/busybox/install-bbsuid | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/sub/busybox/install-bbsuid b/sub/busybox/install-bbsuid deleted file mode 100755 index da73864..0000000 --- a/sub/busybox/install-bbsuid +++ /dev/null @@ -1,18 +0,0 @@ -#!/bin/sh -e - -output="$1" -file="$2" - -cp -f $output/build-host/bbsuid $output/rootfs/opt/busybox/bin/bbsuid -s6-chmod 4755 $output/rootfs/opt/busybox/bin/bbsuid - -for i in $(s6-ls $output/rootfs/opt/busybox/bin | grep -xFf $file) ; do - rm -f $output/rootfs/opt/busybox/bin/$i - s6-ln -s bbsuid $output/rootfs/opt/busybox/bin/$i -done - -for i in $(s6-ls $output/rootfs/opt/busybox/sbin | grep -xFf $file) ; do - rm -f $output/rootfs/opt/busybox/sbin/$i - s6-ln -s ../bin/bbsuid $output/rootfs/opt/busybox/bin/$i -done - |
