From df3c282f4207d113866e25cfb8cf205d53092613 Mon Sep 17 00:00:00 2001 From: aheirman <48590738+aheirman@users.noreply.github.com> Date: Wed, 7 Apr 2021 21:35:24 +0200 Subject: [PATCH] Add more required files & folders to createimg.sh --- createimg.sh | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/createimg.sh b/createimg.sh index dd450c8..aac59d0 100755 --- a/createimg.sh +++ b/createimg.sh @@ -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