diff --git a/usr/lib/archboot/update-installer/update-installer.sh b/usr/lib/archboot/update-installer/update-installer.sh index 3472333e3..3c465802a 100644 --- a/usr/lib/archboot/update-installer/update-installer.sh +++ b/usr/lib/archboot/update-installer/update-installer.sh @@ -241,8 +241,8 @@ _create_initramfs() { # compress image with zstd cd "${_W_DIR}"/tmp || exit 1 find . -mindepth 1 -printf '%P\0' | sort -z | - bsdtar --null -cnf - -T - | - bsdtar --null -cf - --format=newc @- | zstd --rm -T0> ${_RAM}/${_INITRD} & + LANG=C bsdtar --null -cnf - -T - | + LANG=C bsdtar --null -cf - --format=newc @- | zstd --rm -T0> ${_RAM}/${_INITRD} & sleep 2 while pgrep -x zstd &>/dev/null; do _clean_kernel_cache