diff options
| author | nl6720 <nl6720@gmail.com> | 2021-01-24 17:29:01 +0200 |
|---|---|---|
| committer | nl6720 <nl6720@gmail.com> | 2021-01-27 00:07:45 +0200 |
| commit | 4f4047a3f8927e58d79e396bdd032b9c24bd1f19 (patch) | |
| tree | 8c0573825bb427f47380a73570533f27a6a132a0 /configs/releng/airootfs/root | |
| parent | a2c8dd31731916600c5e4eb6b7d08a8ff9e287d3 (diff) | |
| download | archiso-4f4047a3f8927e58d79e396bdd032b9c24bd1f19.tar.gz archiso-4f4047a3f8927e58d79e396bdd032b9c24bd1f19.tar.bz2 | |
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 https://gitlab.archlinux.org/archlinux/archiso/-/issues/21 .
Diffstat (limited to 'configs/releng/airootfs/root')
| -rwxr-xr-x | configs/releng/airootfs/root/customize_airootfs.sh | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/configs/releng/airootfs/root/customize_airootfs.sh b/configs/releng/airootfs/root/customize_airootfs.sh index dbcde48..5a39523 100755 --- a/configs/releng/airootfs/root/customize_airootfs.sh +++ b/configs/releng/airootfs/root/customize_airootfs.sh @@ -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 |
