images/archlinux: do not run unneeded pacman hooks The hook installed by the kernel for the purpose of running mkinitcpio is not needed during CI runs. The package itself is in IgnorePkg to prevent useless updates, however, currently, it is triggered regardless by updates which distribute files in /usr/lib/initcpio. For example, systemd. Mask the hook file so that it does not get run under any circumstances.
1 files changed, 3 insertions(+), 0 deletions(-) M images/archlinux/genimg
M images/archlinux/genimg => images/archlinux/genimg +3 -0
@@ 54,6 54,9 @@ Server = http://lug.mtu.edu/archlinux/\$repo/os/\$arch Server = http://mirrors.kernel.org/archlinux/\$repo/os/\$arch EOF mkdir -p $root/etc/pacman.d/hooks/ ln -s /dev/null $root/etc/pacman.d/hooks/90-linux.hook sed -i 's/#en_US.UTF-8/en_US.UTF-8/' $root/etc/locale.gen run_root locale-gen