fix: keep sed on one line
This commit is contained in:
parent
b1951aff3c
commit
a678bfe635
@ -351,8 +351,7 @@ main() {
|
|||||||
|
|
||||||
printf "Configure Grub\n" >&2
|
printf "Configure Grub\n" >&2
|
||||||
yes | pacman -S grub efibootmgr intel-ucode amd-ucode
|
yes | pacman -S grub efibootmgr intel-ucode amd-ucode
|
||||||
sed -i
|
sed -i "s/GRUB_CMDLINE_LINUX=.*/GRUB_CMDLINE_LINUX=\"cryptdevice=UUID=$(blkid -s UUID -o value "${root_partition}"):cryptroot root=\/dev\/mapper\/cryptroot\"/" /etc/default/grub
|
||||||
"s/GRUB_CMDLINE_LINUX=.*/GRUB_CMDLINE_LINUX=\"cryptdevice=UUID=$(blkid -s UUID -o value "${root_partition}"):cryptroot root=\/dev\/mapper\/cryptroot\"/" /etc/default/grub
|
|
||||||
grub-install --target=x86_64-efi --efi-directory=/boot --bootloader-id=GRUB
|
grub-install --target=x86_64-efi --efi-directory=/boot --bootloader-id=GRUB
|
||||||
grub-mkconfig -o /boot/grub/grub.cfg
|
grub-mkconfig -o /boot/grub/grub.cfg
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user