Add more required files & folders to createimg.sh

This commit is contained in:
aheirman 2021-04-07 21:35:24 +02:00 committed by GitHub
parent a55e2671b8
commit df3c282f42
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -48,10 +48,17 @@ packages=(musl mksh bmake gmake libressl cmake curl rsync flex byacc om4 zlib sa
cp_packages ${ROOT}
echo "Copying misc files & creating misc dirs for live-usb"
mkdir ${ROOT}/proc/
mkdir ${ROOT}/dev/
mkdir ${ROOT}/tmp/
mkdir ${ROOT}/sys/
mkdir ${ROOT}/etc/
mkdir ${ROOT}/root/
cp ./pkgs/tiny-linux-bootloader/fstab ${ROOT}/etc/fstab
cp /etc/hostname ${ROOT}/hostname
cp /etc/hostname ${ROOT}/etc/hostname
cp /etc/passwd ${ROOT}/etc/passwd
touch /etc/shadow
echo "Using the host keymap"
cp /etc/vconsole.conf ${ROOT}/etc/vconsole.conf