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" 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

View File

@ -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"