diff --git a/setup.sh b/setup.sh index 8021b0d..a9d013e 100644 --- a/setup.sh +++ b/setup.sh @@ -1264,6 +1264,13 @@ function install_os_in_chroot () { unleash_makepkg #2.5 add_motd_getting_started_msg #2.6 get_aur_helper #2.7 + if [[ "${ARCHZBM_KERNEL_VER}" ]]; then + paru_install 'downgrade' + yes | downgrade --ala-only \ + 'linux='"${ARCHZBM_KERNEL_VER}" \ + 'linux-headers='"${ARCHZBM_KERNEL_VER}" \ + --ignore always + fi paru_install 'zfs-dkms' 'zfs-utils' 'jq' hwclock --systohc mkinitcpio -P