Quieten some side-effect console output (zlibs/{bootstrap,imaging})
Signed-off-by: gryrmln <gryrmln@localhost>
This commit is contained in:
parent
560371647a
commit
3013804561
|
|
@ -259,7 +259,7 @@ bootstrap_cpio_unpack()
|
||||||
mkdir -p "$strapdir"
|
mkdir -p "$strapdir"
|
||||||
|
|
||||||
pushd "$strapdir" || { zerr; return 1; }
|
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
|
popd
|
||||||
|
|
||||||
sudo mkdir -p "$strapdir"/{boot,dev,proc,sys}
|
sudo mkdir -p "$strapdir"/{boot,dev,proc,sys}
|
||||||
|
|
|
||||||
|
|
@ -78,7 +78,7 @@ image_format_partitions()
|
||||||
;;
|
;;
|
||||||
vfat|fat|dos)
|
vfat|fat|dos)
|
||||||
act "Formatting boot as VFAT"
|
act "Formatting boot as VFAT"
|
||||||
sudo mkfs.vfat ${=bootopts} "${bootpart}" || { zerr; return 1; }
|
sudo mkfs.vfat ${=bootopts} "${bootpart}" >>/dev/null || { zerr; return 1; }
|
||||||
;;
|
;;
|
||||||
ext?)
|
ext?)
|
||||||
act "Formatting boot as $bootfs"
|
act "Formatting boot as $bootfs"
|
||||||
|
|
@ -109,7 +109,7 @@ image_format_partitions()
|
||||||
;;
|
;;
|
||||||
vfat|fat|dos)
|
vfat|fat|dos)
|
||||||
act "Formatting root as VFAT"
|
act "Formatting root as VFAT"
|
||||||
sudo mkfs.vfat ${=rootopts} "${rootpart}" || { zerr; return 1; }
|
sudo mkfs.vfat ${=rootopts} "${rootpart}" >>/dev/null || { zerr; return 1; }
|
||||||
;;
|
;;
|
||||||
ext?)
|
ext?)
|
||||||
act "Formatting root as $rootfs"
|
act "Formatting root as $rootfs"
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue