Skip to content

Commit

Permalink
Fix systemd boot entries "
Browse files Browse the repository at this point in the history
  • Loading branch information
picodotdev committed May 13, 2023
1 parent 4e47a40 commit 321bcdb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions alis.sh
Original file line number Diff line number Diff line change
Expand Up @@ -1341,23 +1341,23 @@ title Arch Linux ($KERNEL)
efi /vmlinuz-linux
$MICROCODE
initrd /initramfs-$KERNEL.img
options initrd=initramfs-$KERNEL.img $CMDLINE_LINUX_ROOT rw $CMDLINE_LINUX"
options initrd=initramfs-$KERNEL.img $CMDLINE_LINUX_ROOT rw $CMDLINE_LINUX
EOT

cat <<EOT >> "${MNT_DIR}${ESP_DIRECTORY}/loader/entries/arch-$KERNEL-terminal.conf"
title Arch Linux ($KERNEL, terminal)
efi /vmlinuz-linux
$MICROCODE
initrd /initramfs-$KERNEL-terminal.img
options initrd=initramfs-$KERNEL-terminal.img $CMDLINE_LINUX_ROOT rw $CMDLINE_LINUX"
options initrd=initramfs-$KERNEL-terminal.img $CMDLINE_LINUX_ROOT rw $CMDLINE_LINUX
EOT

cat <<EOT >> "${MNT_DIR}${ESP_DIRECTORY}/loader/entries/arch-$KERNEL-fallback.conf"
title Arch Linux ($KERNEL, fallback)
efi /vmlinuz-linux
$MICROCODE
initrd /initramfs-$KERNEL-fallback.img
options initrd=initramfs-$KERNEL-fallback.img $CMDLINE_LINUX_ROOT rw $CMDLINE_LINUX"
options initrd=initramfs-$KERNEL-fallback.img $CMDLINE_LINUX_ROOT rw $CMDLINE_LINUX
EOT
}

Expand Down

0 comments on commit 321bcdb

Please sign in to comment.