install stage 1: fstab
parent
ccc6982ee0
commit
29af65cfc1
|
@ -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).
|
||||
# <device> <mount point> <fstype> <options> <dump> <pass>
|
||||
|
||||
# / 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
|
||||
|
||||
|
||||
#
|
||||
|
|
Loading…
Reference in New Issue