configs/releng: move locale-gen from customize_airootfs.sh to a pacman hook
This finally removes customize_airootfs.sh from releng. Fixes https://gitlab.archlinux.org/archlinux/archiso/-/issues/21 .
This commit is contained in:
parent
a46c74087f
commit
f9a7b206a5
@ -0,0 +1,13 @@
|
||||
# remove from airootfs!
|
||||
[Trigger]
|
||||
Operation = Install
|
||||
Type = Package
|
||||
Target = glibc
|
||||
|
||||
[Action]
|
||||
Description = Uncommenting en_US.UTF-8 locale and running locale-gen...
|
||||
When = PostTransaction
|
||||
Depends = glibc
|
||||
Depends = sed
|
||||
Depends = sh
|
||||
Exec = /bin/sh -c "sed -i 's/#\(en_US\.UTF-8\)/\1/' /etc/locale.gen && locale-gen"
|
@ -1,10 +0,0 @@
|
||||
#!/usr/bin/env bash
|
||||
#
|
||||
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||
|
||||
set -e -u
|
||||
|
||||
# Warning: customize_airootfs.sh is deprecated! Support for it will be removed in a future archiso version.
|
||||
|
||||
sed -i 's/#\(en_US\.UTF-8\)/\1/' /etc/locale.gen
|
||||
locale-gen
|
Loading…
Reference in New Issue
Block a user