Merge branch 'master' of github.com:eoli3n/archiso-zfs

This commit is contained in:
eoli3n 2022-02-18 10:19:59 +01:00
commit e1feb5e7ee
2 changed files with 6 additions and 4 deletions

View file

@ -17,6 +17,9 @@ It extracts running kernel version and try to find a matching ZFS module in ``Ar
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`` 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.
In some very specific cases, you won't be able to get ZFS module working for a specific archiso version.
In that case, just switch to the previous month iso.
### How to use
Boot on any archiso system, and run:

7
init
View file

@ -30,11 +30,10 @@ init_archzfs () {
print "Adding archzfs repo"
# Disable Sig check
sed -i 's/^SigLevel.*/SigLevel = Never/' /etc/pacman.conf
pacman -Syy archlinux-keyring --noconfirm &>/dev/null
#pacman-key --populate archlinux &>/dev/null
#pacman-key --recv-keys F75D9D76 --keyserver keyserver.ubuntu.com &>/dev/null
#pacman-key --lsign-key F75D9D76 &>/dev/null
pacman-key --populate archlinux &>/dev/null
pacman-key --recv-keys F75D9D76 --keyserver keyserver.ubuntu.com &>/dev/null
pacman-key --lsign-key F75D9D76 &>/dev/null
cat >> /etc/pacman.conf <<"EOF"
[archzfs]
Server = http://archzfs.com/archzfs/x86_64