tQuieten some side-effect console output (zlibs/{bootstrap,imaging}) - libdevuansdk - common library for devuan's simple distro kits HTML git clone https://git.parazyd.org/libdevuansdk DIR Log DIR Files DIR Refs DIR Submodules DIR README DIR LICENSE --- DIR commit 30138045613fbe885cb17179618e23ff2986c0d3 DIR parent 560371647a95b8de225e5b99f44c94e025e16097 HTML 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: M zlibs/bootstrap | 2 +- M zlibs/imaging | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) --- DIR diff --git a/zlibs/bootstrap b/zlibs/bootstrap t@@ -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} DIR diff --git a/zlibs/imaging b/zlibs/imaging t@@ -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" t@@ -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"