a46c74087f
This works around https://bugs.archlinux.org/task/49347 . Leaving the hooks in the airootfs image will result in it being run when pacstrap is run in the live environment. This should not happen as they are intended for the ISO build process only. Fixes https://gitlab.archlinux.org/archlinux/archiso/-/issues/91 .
14 lines
330 B
Plaintext
14 lines
330 B
Plaintext
# remove from airootfs!
|
|
[Trigger]
|
|
Operation = Install
|
|
Operation = Upgrade
|
|
Type = Package
|
|
Target = pacman-mirrorlist
|
|
|
|
[Action]
|
|
Description = Uncommenting all mirrors in /etc/pacman.d/mirrorlist...
|
|
When = PostTransaction
|
|
Depends = pacman-mirrorlist
|
|
Depends = sed
|
|
Exec = /usr/bin/sed -i "s/#Server/Server/g" /etc/pacman.d/mirrorlist
|