From fb0bae67cccaa3ae59ecc8511020971d9fe06a4e Mon Sep 17 00:00:00 2001 From: Tobias Powalowski Date: Tue, 7 Mar 2023 11:28:24 +0100 Subject: [PATCH] don't show bsdtar errors --- usr/lib/archboot/update-installer/update-installer.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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