aboutsummaryrefslogtreecommitdiff
path: root/scripts/test-vm.sh
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-06-25 13:05:56 -0400
committerCraig Jennings <c@cjennings.net>2026-06-25 13:05:56 -0400
commit89691a0dc9eb7dcbf8583797d7cdc34aecec0d56 (patch)
tree844e1ac76c6478ad862a1fddcbfffa62778abad5 /scripts/test-vm.sh
parent73e66b703258270a3d688a51dd90ed2f24401568 (diff)
downloadarchangel-89691a0dc9eb7dcbf8583797d7cdc34aecec0d56.tar.gz
archangel-89691a0dc9eb7dcbf8583797d7cdc34aecec0d56.zip
fix(installer): refresh package databases before pacstrap
A ZFS-root install from an aged ISO died in install_base: dkms couldn't build zfs/2.3.3 against a current linux-lts. The ISO bakes the archzfs sync db at build time, so as the ISO ages that db keeps pinning an older zfs-dkms while linux-lts is pulled current from the live mirror. The DKMS module then fails to compile against the newer kernel. Run pacman -Syy after the archzfs and baked-AUR repos are added to the live pacman.conf and before pacstrap -K, so pacstrap resolves the current zfs-dkms instead of the stale baked one. A plain -y can be skipped by pacman's freshness check against the GitHub-served archzfs db (no reliable timestamps), so -yy forces the refresh.
Diffstat (limited to 'scripts/test-vm.sh')
0 files changed, 0 insertions, 0 deletions