move busybox to config

This commit is contained in:
illiliti 2020-01-12 19:43:16 +03:00
parent 70d48c2687
commit 272000bd34
2 changed files with 2 additions and 3 deletions

2
config
View File

@ -18,7 +18,7 @@ rootflags=""
drivers="ext4 virtio-scsi virtio-pci sd-mod"
# binaries
binaries="findfs mount modprobe umount"
binaries="./busybox findfs mount modprobe umount"
# LVM support
#use_lvm=0

View File

@ -100,9 +100,8 @@ for b in $(echo $binaries); do
done
done
# install files
# install init
cp ./init "$tmpdir/init" && chmod +x "$tmpdir/init"
cp ./busybox "$tmpdir/usr/bin/busybox" && chmod +x "$tmpdir/usr/bin/busybox"
# initialize config
cat <<EOF > "$tmpdir/config"