Skip to content
Snippets Groups Projects
Unverified 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 #21 .
parent a2c8dd31
No related branches found
No related tags found
1 merge request!128configs/releng: move the mirror uncommenting sed command from customize_airootfs.sh to a pacman hook
Pipeline #4889 passed
[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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment