diff --git a/install-stage1.sh b/install-stage1.sh index 42be269..b664c1c 100644 --- a/install-stage1.sh +++ b/install-stage1.sh @@ -34,6 +34,7 @@ xbps-install --yes xmirror squashfs-tools # xmirror, that should be done here. #TODO: Select keyboard layout +KBD_LAYOUT="de-latin1" clear echo "Select the USB stick to install to (NAME column below)... @@ -153,4 +154,18 @@ echo "repository=$TARGET_MIRROR" > /mnt/target/etc/xbps.d/00-repository-main.con echo "%wheel ALL=(ALL:ALL) ALL" > /mnt/target/etc/sudoers.d/wheel_as_sudo_group.conf -# TODO: add overlayfs scripts (bootup and shutdown) and (if useful) fstab entries +# TODO: add overlayfs scripts (bootup and shutdown) + +echo "# See fstab(5). +# + +# / and /mnt/container are mounted by a script in initramfs +# TODO: add script path + +UUID=$(blkid --output value --match-tag UUID $TARGET_PART_BOOT) /boot f2fs defaults,nodev,nosuid 0 2 +UUID=$(blkid --output value --match-tag UUID $TARGET_PART_EFI) /boot/efi vfat defaults 0 2 +/mnt/container/home /home none bind 0 0 +" > /mnt/target/etc/fstab + + +#