Verified Commit 4f4047a3 authored by nl6720's avatar nl6720
Browse files

configs/releng: move the mirror uncommenting sed command from...

configs/releng: move the mirror uncommenting sed command from customize_airootfs.sh to a pacman hook

After pacman-mirrorlist is installed, /etc/pacman.d/hooks/uncomment-mirrors.hook will run a sed command which uncomments all Server lines in /etc/pacman.d/mirrorlist.
This brings us another step closer to the complete removal of customize_airootfs.sh.

Related to archlinux/archiso#21 .
parent a2c8dd31
Pipeline #4889 passed with stage
in 24 seconds
[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
......@@ -8,5 +8,3 @@ set -e -u
sed -i 's/#\(en_US\.UTF-8\)/\1/' /etc/locale.gen
locale-gen
sed -i "s/#Server/Server/g" /etc/pacman.d/mirrorlist
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment