Fixed missing quote and made emerge sync quiet

This commit is contained in:
Eric Renfro 2024-08-05 14:32:03 -04:00
parent 7ead40dd60
commit cc776356d8
Signed by: psi-jack
SSH key fingerprint: SHA256:1TKB8Z257L8EHK8GWNxKgMhD8a+FAR+f+j3nnlcuNVM

View file

@ -288,7 +288,7 @@ function stage_step() {
if [[ ! -d "/mnt/gentoo/etc/dracut.conf.d" ]]; then if [[ ! -d "/mnt/gentoo/etc/dracut.conf.d" ]]; then
mkdir /mnt/gentoo/etc/dracut.conf.d &>/dev/null mkdir /mnt/gentoo/etc/dracut.conf.d &>/dev/null
echo "add_dracutmodules+=\" crypt dm rootfs-block \"" > /mnt/gentoo/etc/dracut.conf.d/luks.conf echo "add_dracutmodules+=\" crypt dm rootfs-block \"" > /mnt/gentoo/etc/dracut.conf.d/luks.conf
echo "kernel_cmdline+=\" root=UUID=$rootUUID rd.luks.uuid=$luksUUID " >> /mnt/gentoo/etc/dracut.conf.d/luks.conf echo "kernel_cmdline+=\" root=UUID=$rootUUID rd.luks.uuid=$luksUUID \"" >> /mnt/gentoo/etc/dracut.conf.d/luks.conf
fi fi
fi fi
fi fi
@ -310,7 +310,7 @@ function stage_step() {
${cmd} arch-chroot /mnt/gentoo systemd-machine-id-setup ${cmd} arch-chroot /mnt/gentoo systemd-machine-id-setup
${cmd} arch-chroot /mnt/gentoo systemd-firstboot --prompt ${cmd} arch-chroot /mnt/gentoo systemd-firstboot --prompt
${cmd} arch-chroot /mnt/gentoo systemctl preset-all --preset-mode=enable-only ${cmd} arch-chroot /mnt/gentoo systemctl preset-all --preset-mode=enable-only
${cmd} arch-chroot /mnt/gentoo emerge --sync ${cmd} arch-chroot /mnt/gentoo emerge --sync --quiet --ask=n
${cmd} arch-chroot /mnt/gentoo grub-install --efi-directory=/efi ${cmd} arch-chroot /mnt/gentoo grub-install --efi-directory=/efi
#arch-chroot /mnt/gentoo dracut --host-only #arch-chroot /mnt/gentoo dracut --host-only
while read -r rd; do while read -r rd; do