4 # if package locales will be installed, then install it early, before
6 if [ $FAI_ACTION != "install" -a $FAI_ACTION != "dirinstall" ]; then
10 fcopy
-Bi /etc
/apt
/apt.conf.d
/force_confdef
12 # in case the locales are already included inside the base file (Ubuntu)
13 if [ -f $target/usr
/sbin
/locale-gen
]; then
17 # if we want to install locales, install them now
18 install_packages
-l 2>/dev
/null |
egrep -q ' locales|locales '
20 if [ X
$verbose = X1
]; then
21 $ROOTCMD apt-get
-y install locales
23 $ROOTCMD apt-get
-y install locales
> /dev
/null
27 # use zstd for dracut initrd
28 ainsl
-av /etc
/dracut.conf.d
/11-debian.conf
"compress=zstd"