mirror of
https://github.com/eoli3n/archiso-zfs.git
synced 2025-12-06 07:02:00 +01:00
working !
This commit is contained in:
parent
401d95e9e4
commit
0199589d21
|
|
@ -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
|
||||
|
||||
|
|
|
|||
3
init
3
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"
|
||||
|
|
|
|||
Loading…
Reference in a new issue