Quieten some side-effect console output (zlibs/{bootstrap,imaging})

Signed-off-by: gryrmln <gryrmln@localhost>
This commit is contained in:
gryrmln 2021-04-12 15:10:56 +01:00
parent 560371647a
commit 3013804561
No known key found for this signature in database
GPG Key ID: C90B6A0356F4DB7A
2 changed files with 3 additions and 3 deletions

View File

@ -259,7 +259,7 @@ bootstrap_cpio_unpack()
mkdir -p "$strapdir"
pushd "$strapdir" || { zerr; return 1; }
zcat "$_bootstrap_cpio" | sudo cpio -idmn --format=newc || { zerr; return 1; }
zcat "$_bootstrap_cpio" | sudo cpio -idmn --format=newc 2>>/dev/null || { zerr; return 1; }
popd
sudo mkdir -p "$strapdir"/{boot,dev,proc,sys}

View File

@ -78,7 +78,7 @@ image_format_partitions()
;;
vfat|fat|dos)
act "Formatting boot as VFAT"
sudo mkfs.vfat ${=bootopts} "${bootpart}" || { zerr; return 1; }
sudo mkfs.vfat ${=bootopts} "${bootpart}" >>/dev/null || { zerr; return 1; }
;;
ext?)
act "Formatting boot as $bootfs"
@ -109,7 +109,7 @@ image_format_partitions()
;;
vfat|fat|dos)
act "Formatting root as VFAT"
sudo mkfs.vfat ${=rootopts} "${rootpart}" || { zerr; return 1; }
sudo mkfs.vfat ${=rootopts} "${rootpart}" >>/dev/null || { zerr; return 1; }
;;
ext?)
act "Formatting root as $rootfs"