mirror of
https://github.com/eoli3n/archiso-zfs.git
synced 2025-12-06 07:02:00 +01:00
use archiso version for archive
This commit is contained in:
parent
a0e075ee25
commit
ecb31b79e8
6
init
6
init
|
|
@ -123,9 +123,9 @@ dkms_init () {
|
||||||
|
|
||||||
#print "Installing linux-headers 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
|
#pacman -U "https://archive.org/download/archlinux_pkg_linux-headers/linux-headers-$1-x86_64.pkg.tar.zst" --noconfirm
|
||||||
print "Extract repo date and init Archlinux Archive repository"
|
print "Init Archlinux Archive repository"
|
||||||
pacman_cache_date=$(stat -c '%y' /var/cache/pacman/pkg | cut -d' ' -f1 | sed 's:-:/:g')
|
archiso_version=$(sed 's-\.-/-g' /version)
|
||||||
init_archlinux_archive "$pacman_cache_date"
|
init_archlinux_archive "$archiso_version"
|
||||||
|
|
||||||
print "Download Archlinux Archives package lists and upgrade"
|
print "Download Archlinux Archives package lists and upgrade"
|
||||||
pacman -Syyuu --noconfirm
|
pacman -Syyuu --noconfirm
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue