Fixed missing quote and made emerge sync quiet
This commit is contained in:
parent
7ead40dd60
commit
cc776356d8
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue