install stage 1: minor fixes
parent
e61ac82761
commit
269dfc498c
|
@ -34,6 +34,10 @@ function yesno {
|
||||||
done
|
done
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function run_in_target {
|
||||||
|
xchroot /mnt/target "$@"
|
||||||
|
}
|
||||||
|
|
||||||
clear
|
clear
|
||||||
echo "
|
echo "
|
||||||
This script will now download and install Void Linux on your USB stick.
|
This script will now download and install Void Linux on your USB stick.
|
||||||
|
@ -169,7 +173,7 @@ XBPS_ARCH="$TARGET_TYPE" xbps-install --yes --sync --rootdir /mnt/target --repos
|
||||||
wifi-firmware traceroute grep gzip file sed gawk less coreutils findutils \
|
wifi-firmware traceroute grep gzip file sed gawk less coreutils findutils \
|
||||||
diffutils pciutils usbutils tzdata base-files ncurses mdocml procps-ng \
|
diffutils pciutils usbutils tzdata base-files ncurses mdocml procps-ng \
|
||||||
kbd xbps sudo ethtool kmod eudev runit-void removed-packages nano acpid \
|
kbd xbps sudo ethtool kmod eudev runit-void removed-packages nano acpid \
|
||||||
squashfs-tools grub grub-i386-efi grub-x86_64-efi
|
squashfs-tools grub grub-i386-efi grub-x86_64-efi dracut
|
||||||
|
|
||||||
echo "repository=$TARGET_MIRROR" > /mnt/target/etc/xbps.d/00-repository-main.conf
|
echo "repository=$TARGET_MIRROR" > /mnt/target/etc/xbps.d/00-repository-main.conf
|
||||||
|
|
||||||
|
@ -184,7 +188,7 @@ echo "# See fstab(5).
|
||||||
# TODO: add script path
|
# 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_BOOT) /boot f2fs defaults,nodev,nosuid 0 2
|
||||||
UUID=$(blkid --output value --match-tag UUID $TARGET_PART_EFI) /boot/efi vfat defaults 0 2
|
UUID=$(blkid --output value --match-tag UUID $TARGET_PART_EFI) /boot/efi vfat defaults,fmask=0077,dmask=0077 0 2
|
||||||
/container/home /home none bind 0 0
|
/container/home /home none bind 0 0
|
||||||
" > /mnt/target/etc/fstab
|
" > /mnt/target/etc/fstab
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue