From 586ba7dc449f6dc68168833e1428843dcb295f28 Mon Sep 17 00:00:00 2001 From: Tobias Powalowski Date: Thu, 25 Jul 2024 08:34:31 +0200 Subject: [PATCH] fix db creation --- usr/lib/archboot/common.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/usr/lib/archboot/common.sh b/usr/lib/archboot/common.sh index 4e119eefd..0d2bd1d22 100644 --- a/usr/lib/archboot/common.sh +++ b/usr/lib/archboot/common.sh @@ -258,9 +258,9 @@ _create_archboot_db() { bsdtar -C repro -xf "${i}" || return 1 fd --base-directory repro . -u --min-depth 1 -X touch -hcd "@0" fd --base-directory repro --strip-cwd-prefix -t f -t l -u --min-depth 1 -0 | sort -z | - LC_ALL=C.UTF-8 bsdtar --null -cnf - -T - | - LC_ALL=C.UTF-8 bsdtar --null -cf - --format=gnutar @- | - zstd -T0 -19 >> "../${i}.zst" || return 1 + LC_ALL=C.UTF-8 bsdtar -C repro --null -cnf - -T - | + LC_ALL=C.UTF-8 bsdtar -C repro --null -cf - --format=gnutar @- | + zstd -T0 -19 >> "${i}.zst" || return 1 rm -r repro done rm archboot.{db,files}