X-Git-Url: https://iankelling.org/git/?a=blobdiff_plain;f=fai%2Fconfig%2Fhooks%2Finstsoft.DEBIAN;h=d6f1ad1f5b9fcd8cd417292b8a90adac09f77e40;hb=HEAD;hp=ebf7d8ac9ef28831efb4fbda4bd2793ddd884625;hpb=7f77555b3d92709034fe41919358053c650c71e1;p=automated-distro-installer diff --git a/fai/config/hooks/instsoft.DEBIAN b/fai/config/hooks/instsoft.DEBIAN index ebf7d8a..d6f1ad1 100755 --- a/fai/config/hooks/instsoft.DEBIAN +++ b/fai/config/hooks/instsoft.DEBIAN @@ -1,5 +1,6 @@ #! /bin/bash +set -x # if package locales will be installed, then install it early, before # other packages if [ $FAI_ACTION != "install" -a $FAI_ACTION != "dirinstall" ]; then @@ -7,11 +8,9 @@ if [ $FAI_ACTION != "install" -a $FAI_ACTION != "dirinstall" ]; then fi fcopy -Bi /etc/apt/apt.conf.d/force_confdef -ainsl -a /etc/ucf.conf "^conf_force_conffold=YES" # in case the locales are already included inside the base file (Ubuntu) if [ -f $target/usr/sbin/locale-gen ]; then - $ROOTCMD dpkg-reconfigure -fnoninteractive locales exit fi @@ -24,3 +23,6 @@ if [ $? -eq 0 ]; then $ROOTCMD apt-get -y install locales > /dev/null fi fi + +# use zstd for dracut initrd +ainsl -av /etc/dracut.conf.d/11-debian.conf "compress=zstd"