libdevuansdk

common library for devuan's simple distro kits
git clone https://git.parazyd.org/libdevuansdk
Log | Files | Refs | Submodules | README | LICENSE

commit 30138045613fbe885cb17179618e23ff2986c0d3
parent 560371647a95b8de225e5b99f44c94e025e16097
Author: gryrmln <gryrmln@localhost>
Date:   Mon, 12 Apr 2021 15:10:56 +0100

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

Signed-off-by: gryrmln <gryrmln@localhost>

Diffstat:
Mzlibs/bootstrap | 2+-
Mzlibs/imaging | 4++--
2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/zlibs/bootstrap b/zlibs/bootstrap @@ -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} diff --git a/zlibs/imaging b/zlibs/imaging @@ -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"