use the non-lts kernel as well
This commit is contained in:
parent
6b8a83cfad
commit
2fdcaa42a2
|
@ -170,28 +170,44 @@ bootctl --esp-path="$ESP_PATH" --path="$ESP_PATH" install
|
|||
mkdir -p "$ESP_PATH"/loader/entries
|
||||
|
||||
cat <<EOF > "$ESP_PATH"/loader/loader.conf
|
||||
default arch.conf
|
||||
default arch-01-lts.conf
|
||||
timeout 10
|
||||
console-mode auto
|
||||
editor no
|
||||
auto-firmware no
|
||||
EOF
|
||||
|
||||
cat <<EOF > "$ESP_PATH"/loader/entries/arch.conf
|
||||
title Arch Linux btw
|
||||
cat <<EOF > "$ESP_PATH"/loader/entries/arch-01-lts.conf
|
||||
title Arch Linux LTS kernel
|
||||
linux /vmlinuz-linux-lts
|
||||
initrd /$1-ucode.img
|
||||
initrd /initramfs-linux-lts.img
|
||||
options root=UUID=$(blkid $2 -s UUID -o value) rw mem_sleep_default=deep ignore_loglevel audit=0 nvidia_drm.modeset=1
|
||||
EOF
|
||||
|
||||
# option "ignore_loglevel" displays all kernel messages, very useful in fallback
|
||||
cat <<EOF > "$ESP_PATH"/loader/entries/arch-fallback.conf
|
||||
title did you break it? (fallback initramfs)
|
||||
cat <<EOF > "$ESP_PATH"/loader/entries/arch-02-non-lts.conf
|
||||
title Arch Linux latest kernel
|
||||
linux /vmlinuz-linux
|
||||
initrd /$1-ucode.img
|
||||
initrd /initramfs-linux.img
|
||||
options root=UUID=$(blkid $2 -s UUID -o value) rw mem_sleep_default=deep ignore_loglevel audit=0 nvidia_drm.modeset=1
|
||||
EOF
|
||||
|
||||
# option "ignore_loglevel" displays all kernel messages, very useful in fallback
|
||||
cat <<EOF > "$ESP_PATH"/loader/entries/arch-03-lts-fallback.conf
|
||||
title Arch Linux LTS kernel (FALLBACK)
|
||||
linux /vmlinuz-linux-lts
|
||||
initrd /$1-ucode.img
|
||||
initrd /initramfs-linux-lts-fallback.img
|
||||
options root=UUID=$(blkid $2 -s UUID -o value) rw ignore_loglevel
|
||||
options root=UUID=$(blkid $2 -s UUID -o value) rw ignore_loglevel audit=0
|
||||
EOF
|
||||
|
||||
cat <<EOF > "$ESP_PATH"/loader/entries/arch-04-non-lts-fallback.conf
|
||||
title Arch Linux latest kernel (FALLBACK)
|
||||
linux /vmlinuz-linux
|
||||
initrd /$1-ucode.img
|
||||
initrd /initramfs-linux-fallback.img
|
||||
options root=UUID=$(blkid $2 -s UUID -o value) rw ignore_loglevel audit=0
|
||||
EOF
|
||||
|
||||
# enable services
|
||||
|
|
|
@ -9,7 +9,7 @@ pacman --sync --refresh --refresh
|
|||
################################################################################
|
||||
|
||||
# absolutely necessary for _MY_ experience
|
||||
PKGS_TO_INSTALL=(base bash cron curl dhcpcd dnsutils doas efibootmgr findutils grub iputils ksh less libdrm linux-firmware linux-lts lsb-release lsof man man-db man-pages nano neovim networkmanager openssh openssl os-prober pacman-contrib reflector rsync tmux wireguard-tools zsh zsh-autosuggestions zsh-completions zsh-syntax-highlighting)
|
||||
PKGS_TO_INSTALL=(base bash cron curl dhcpcd dnsutils doas efibootmgr findutils grub iputils ksh less libdrm linux-firmware linux linux-lts lsb-release lsof man man-db man-pages nano neovim networkmanager openssh openssl os-prober pacman-contrib reflector rsync tmux wireguard-tools zsh zsh-autosuggestions zsh-completions zsh-syntax-highlighting)
|
||||
|
||||
# power management
|
||||
PKGS_TO_INSTALL+=(acpi_call iasl)
|
||||
|
@ -45,7 +45,7 @@ PKGS_TO_INSTALL+=(tar unrar unzip xz zip)
|
|||
PKGS_TO_INSTALL+=(rustup)
|
||||
|
||||
# kernel devel
|
||||
PKGS_TO_INSTALL+=(base-devel bc cpio gcc git inetutils kmod libelf linux-lts-headers make perl tar xmlto xz)
|
||||
PKGS_TO_INSTALL+=(base-devel bc cpio gcc git inetutils kmod libelf linux-headers linux-lts-headers make perl tar xmlto xz)
|
||||
|
||||
# virtualisation
|
||||
PKGS_TO_INSTALL+=(dnsmasq libvirt qemu-desktop virt-manager)
|
||||
|
|
Loading…
Reference in New Issue