From 6996c42f0d520289da62896875c955dd5f784eca Mon Sep 17 00:00:00 2001 From: aheirman <48590738+aheirman@users.noreply.github.com> Date: Sat, 27 Mar 2021 18:53:32 +0100 Subject: [PATCH] use fstab & add hostname to real root --- createimg.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/createimg.sh b/createimg.sh index 55d1e04..a8144ca 100644 --- a/createimg.sh +++ b/createimg.sh @@ -43,6 +43,11 @@ mount ${LOOPBACK} ${ROOT} packages=(musl mksh bmake gmake libressl cmake curl rsync flex byacc om4 zlib samurai libffi python ca-certificates zlib expat gettext-tiny git kati netbsd-curses kakoune iglunix rust toybox busybox less file pci-ids e2fsprogs linux-pam kbd) cp_packages ${ROOT} +echo "Copying misc files to ${ROOT}" +mkdir ${ROOT}/etc/ +cp ./pkgs/tiny-linux-bootloader/fstab ${ROOT}/etc/fstab +cp /etc/hostname ${ROOT}/hostname + echo "Using the host keymap" cp /etc/vconsole.conf ${ROOT}/etc/vconsole.conf