use fstab & add hostname to real root

This commit is contained in:
aheirman 2021-03-27 18:53:32 +01:00 committed by GitHub
parent bcb0c85d91
commit 6996c42f0d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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