Overwrite fstab not append initially
This commit is contained in:
parent
40fdc97431
commit
f9516d9a77
1 changed files with 3 additions and 3 deletions
|
@ -240,9 +240,9 @@ function stage_step() {
|
|||
#FIXME post stage extraction:
|
||||
|
||||
if [[ "$DEBUG" ]]; then
|
||||
echo "genfstab -U /mnt/gentoo >> /mnt/gentoo/etc/fstab"
|
||||
echo "genfstab -U /mnt/gentoo > /mnt/gentoo/etc/fstab"
|
||||
else
|
||||
genfstab -U /mnt/gentoo >> /mnt/gentoo/etc/fstab
|
||||
genfstab -U /mnt/gentoo > /mnt/gentoo/etc/fstab
|
||||
fi
|
||||
|
||||
if [[ "$ENCRYPTION" ]]; then
|
||||
|
@ -267,7 +267,7 @@ function stage_step() {
|
|||
|
||||
arch-chroot /mnt/gentoo emerge --sync
|
||||
arch-chroot /mnt/gentoo grub-install --efi-directory=/efi
|
||||
arch-chroot /mnt/gentoo dracut --host-only
|
||||
#arch-chroot /mnt/gentoo dracut --host-only
|
||||
arch-chroot /mnt/gentoo grub-mkconfig -o /boot/grub/grub.cfg
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue