mirror of
https://gitlab.archlinux.org/tpowa/archboot.git
synced 2024-09-19 19:40:37 +02:00
fix db creation
This commit is contained in:
parent
672b10b6fb
commit
586ba7dc44
1 changed files with 3 additions and 3 deletions
|
@ -258,9 +258,9 @@ _create_archboot_db() {
|
||||||
bsdtar -C repro -xf "${i}" || return 1
|
bsdtar -C repro -xf "${i}" || return 1
|
||||||
fd --base-directory repro . -u --min-depth 1 -X touch -hcd "@0"
|
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 |
|
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 -C repro --null -cnf - -T - |
|
||||||
LC_ALL=C.UTF-8 bsdtar --null -cf - --format=gnutar @- |
|
LC_ALL=C.UTF-8 bsdtar -C repro --null -cf - --format=gnutar @- |
|
||||||
zstd -T0 -19 >> "../${i}.zst" || return 1
|
zstd -T0 -19 >> "${i}.zst" || return 1
|
||||||
rm -r repro
|
rm -r repro
|
||||||
done
|
done
|
||||||
rm archboot.{db,files}
|
rm archboot.{db,files}
|
||||||
|
|
Loading…
Reference in a new issue