From 37b2f69d71fe431e1a6c99c7a702f27033dd74ea Mon Sep 17 00:00:00 2001 From: eoli3n Date: Tue, 15 Feb 2022 15:25:59 +0100 Subject: [PATCH] should work with dkms now --- TODO | 3 +-- init | 4 +--- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/TODO b/TODO index 29f455d..4ad5216 100644 --- a/TODO +++ b/TODO @@ -1,2 +1 @@ -- add community repo to kernel build date in any cases -- fallback to DKMS method +- test dkms fallback method diff --git a/init b/init index c05d58c..270b760 100755 --- a/init +++ b/init @@ -122,8 +122,7 @@ download_package () { dkms_init () { - print "Installing linux-headers from archive.org for current running kernel" - + print "Installing linux-headers for current running kernel" pacman -U "https://archive.org/download/archlinux_pkg_linux-headers/linux-headers-$1-x86_64.pkg.tar.zst" --noconfirm } @@ -181,7 +180,6 @@ else # DKMS fallback print "No zfs-linux package was found for current running kernel, fallback on DKMS method" - print "Installing linux-headers and zfs-dkms" dkms_init "$kernel_version_fixed_for_headers" print "Install zfs-dkms"