commit 82a7f0f66b51bf8586d4632c4e27ca0dd618bc22
parent 184c3278203d9831278038566370a1e5158bfa2a
Author: Morel BĂ©renger <berengermorel76@gmail.com>
Date: Thu, 12 Nov 2020 19:22:20 +0100
silence debootstrap
Diffstat:
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/TODO b/TODO
@@ -15,3 +15,4 @@ duplicate busybox: psmisc
scan for NICs?
improve udhcpc script: requires conf for now, should find a better trick
make TTYs usable with a correct configuration of sysctl.d
+make debootstrap debuggable, for a start, and then, make it so that it does not pollute logs.
diff --git a/install.sh b/install.sh
@@ -188,7 +188,7 @@ success "template installation done"
## bootstrap
PKG_LIST="$(find "$SOURCE/packages" -name '*.list' -exec cat {} \+)$PKG_LIST"
info "preparing to install $PKG_LIST"
-debootstrap --no-merged-usr --variant=minbase "--include=$PKG_LIST" $(cat $SOURCE/name) "$cp_target" "$MIRROR"
+debootstrap --no-merged-usr --variant=minbase "--include=$PKG_LIST" $(cat $SOURCE/name) "$cp_target" "$MIRROR" 2>&1 >/dev/null
success "install done"
info "cleaning target's /var/cache/apt"