update upstream to 9084a3cbc0a55422beea4a55b530c1f03a910617 feb 2024
[automated-distro-installer] / fai / config / hooks / instsoft.DEBIAN
index ebf7d8ac9ef28831efb4fbda4bd2793ddd884625..747af59f7c29380f8ff8e3e026cb92ec8b82bca0 100755 (executable)
@@ -11,7 +11,6 @@ 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"