diff --git a/README.md b/README.md index 6c5fc06..c3dca24 100644 --- a/README.md +++ b/README.md @@ -15,7 +15,7 @@ In order to build the module, DKMS needs the ``linux-headers`` package for the r It extracts running kernel version and try to find a matching ZFS module in ``Archzfs`` repositories. If it doesn't, it fallbacks to the DKMS build of the ZFS module. -In that case, the script uses [Arch Linux Archive](https://wiki.archlinux.org/index.php/Arch_Linux_Archive#How_to_restore_all_packages_to_a_specific_date) to install the ``linux-headers`` package required for DKMS. +In that case, the script uses [Arch Linux Archive](https://wiki.archlinux.org/index.php/Arch_Linux_Archive#How_to_restore_all_packages_to_a_specific_date) to install the ``linux-headers`` and ``base-devel`` packages required for DKMS. You need at least ~6Gb RAM to use that method to be able to store packages in cowspace. ### How to use diff --git a/init b/init index 1da8a92..9a04100 100755 --- a/init +++ b/init @@ -130,9 +130,8 @@ download_package () { } dkms_init () { +# Init everything to be able to install zfs-dkms - #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 print "Init Archlinux Archive repository" archiso_version=$(sed 's-\.-/-g' /version) init_archlinux_archive "$archiso_version"