move busybox to config
This commit is contained in:
parent
70d48c2687
commit
272000bd34
2
config
2
config
@ -18,7 +18,7 @@ rootflags=""
|
|||||||
drivers="ext4 virtio-scsi virtio-pci sd-mod"
|
drivers="ext4 virtio-scsi virtio-pci sd-mod"
|
||||||
|
|
||||||
# binaries
|
# binaries
|
||||||
binaries="findfs mount modprobe umount"
|
binaries="./busybox findfs mount modprobe umount"
|
||||||
|
|
||||||
# LVM support
|
# LVM support
|
||||||
#use_lvm=0
|
#use_lvm=0
|
||||||
|
3
generate
3
generate
@ -100,9 +100,8 @@ for b in $(echo $binaries); do
|
|||||||
done
|
done
|
||||||
done
|
done
|
||||||
|
|
||||||
# install files
|
# install init
|
||||||
cp ./init "$tmpdir/init" && chmod +x "$tmpdir/init"
|
cp ./init "$tmpdir/init" && chmod +x "$tmpdir/init"
|
||||||
cp ./busybox "$tmpdir/usr/bin/busybox" && chmod +x "$tmpdir/usr/bin/busybox"
|
|
||||||
|
|
||||||
# initialize config
|
# initialize config
|
||||||
cat <<EOF > "$tmpdir/config"
|
cat <<EOF > "$tmpdir/config"
|
||||||
|
Loading…
Reference in New Issue
Block a user