mirror of
https://gitlab.archlinux.org/tpowa/archboot.git
synced 2024-09-20 03:50:37 +02:00
don't show bsdtar errors
This commit is contained in:
parent
c2b32d4303
commit
fb0bae67cc
1 changed files with 2 additions and 2 deletions
|
@ -241,8 +241,8 @@ _create_initramfs() {
|
||||||
# compress image with zstd
|
# compress image with zstd
|
||||||
cd "${_W_DIR}"/tmp || exit 1
|
cd "${_W_DIR}"/tmp || exit 1
|
||||||
find . -mindepth 1 -printf '%P\0' | sort -z |
|
find . -mindepth 1 -printf '%P\0' | sort -z |
|
||||||
bsdtar --null -cnf - -T - |
|
LANG=C bsdtar --null -cnf - -T - |
|
||||||
bsdtar --null -cf - --format=newc @- | zstd --rm -T0> ${_RAM}/${_INITRD} &
|
LANG=C bsdtar --null -cf - --format=newc @- | zstd --rm -T0> ${_RAM}/${_INITRD} &
|
||||||
sleep 2
|
sleep 2
|
||||||
while pgrep -x zstd &>/dev/null; do
|
while pgrep -x zstd &>/dev/null; do
|
||||||
_clean_kernel_cache
|
_clean_kernel_cache
|
||||||
|
|
Loading…
Reference in a new issue