commit 3252c94b5cae7d5c25c4cdd3af6de15d5b743b94
parent 47a4f503b06a4e7d76c735473036137f7306c371
Author: parazyd <parazyd@dyne.org>
Date: Mon, 10 Oct 2016 22:15:24 +0200
TEEVERBOSE is troublesome
Diffstat:
2 files changed, 20 insertions(+), 20 deletions(-)
diff --git a/zlibs/bootstrap b/zlibs/bootstrap
@@ -48,24 +48,24 @@ bootstrap_complete_base() {
## write all system configuration
notice "writing system configuration"
- conf_print_debconf | sudo tee $strapdir/debconf.set ${TEEVERBOSE}
- conf_print_fstab | sudo tee $strapdir/etc/fstab ${TEEVERBOSE}
- conf_print_hostname | sudo tee $strapdir/etc/hostname ${TEEVERBOSE}
- conf_print_hosts | sudo tee $strapdir/etc/hosts ${TEEVERBOSE}
- conf_print_networkifaces | sudo tee $strapdir/etc/network/interfaces ${TEEVERBOSE}
- conf_print_resolvconf | sudo tee $strapdir/etc/resolv.conf ${TEEVERBOSE}
- conf_print_sourceslist | sudo tee $strapdir/etc/apt/sources.list ${TEEVERBOSE}
+ conf_print_debconf | sudo tee $strapdir/debconf.set
+ conf_print_fstab | sudo tee $strapdir/etc/fstab
+ conf_print_hostname | sudo tee $strapdir/etc/hostname
+ conf_print_hosts | sudo tee $strapdir/etc/hosts
+ conf_print_networkifaces | sudo tee $strapdir/etc/network/interfaces
+ conf_print_resolvconf | sudo tee $strapdir/etc/resolv.conf
+ conf_print_sourceslist | sudo tee $strapdir/etc/apt/sources.list
## below typically used in arm-sdk
[[ -n $inittab ]] && {
- print $inittab | sudo tee -a $strapdir/etc/inittab ${TEEVERBOSE}
+ print $inittab | sudo tee -a $strapdir/etc/inittab
}
for i in $custmodules; do
- print $i | sudo tee -a $strapdir/etc/modules ${TEEVERBOSE}
+ print $i | sudo tee -a $strapdir/etc/modules
done
## write third-stage for chroot
- bootstrap_config_thirdstage | sudo tee $strapdir/thirdstage ${TEEVERBOSE}
- bootstrap_config_cleanup | sudo tee $strapdir/cleanup ${TEEVERBOSE}
+ bootstrap_config_thirdstage | sudo tee $strapdir/thirdstage
+ bootstrap_config_cleanup | sudo tee $strapdir/cleanup
sudo chmod +x $strapdir/thirdstage
sudo chmod +x $strapdir/cleanup
@@ -154,7 +154,7 @@ bootstrap_tar_pack() {
sed -i -e 's/$i//g' $strapdir/etc/modules
done
- cat <<EOF | sudo tee ${strapdir}/prepack ${TEEVERBOSE}
+ cat <<EOF | sudo tee ${strapdir}/prepack
#!/bin/sh
apt-get --yes --force-yes purge ${extra_packages}
EOF
@@ -196,7 +196,7 @@ bootstrap_tar_unpack() {
sudo tar xf $bootstrap_tgz -C ${unpath}
sudo mkdir -p ${unpath}/{boot,dev,sys,proc}
- cat <<EOF | sudo tee ${strapdir}/postunpack ${TEEVERBOSE}
+ cat <<EOF | sudo tee ${strapdir}/postunpack
#!/bin/sh
dpkg-divert --add --local \
--divert /usr/sbin/invoke-rc.d.chroot \
@@ -221,6 +221,6 @@ EOF
sudo chroot $strapdir /postunpack || zerr
for i in $custmodules; do
- print $i | sudo tee -a $strapdir/etc/modules ${TEEVERBOSE}
+ print $i | sudo tee -a $strapdir/etc/modules
done
}
diff --git a/zlibs/sysconf b/zlibs/sysconf
@@ -22,7 +22,7 @@
conf_print_debconf() {
fn conf_print_debconf
- cat << EOF
+ cat <<EOF
console-common console-data/keymap/policy select Select keymap from full list
console-common console-data/keymap/full select en-latin1-nodeadkeys
EOF
@@ -31,7 +31,7 @@ EOF
conf_print_fstab() {
fn conf_print_fstab
- cat << EOF
+ cat <<EOF
#<file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc nodev,noexec,nosuid 0 0
@@ -56,7 +56,7 @@ conf_print_hosts() {
req=(os)
ckreq || return 1
- cat << EOF
+ cat <<EOF
127.0.0.1 ${os} localhost
::1 localhost ip6-localhost ip6-loopback
fe00::0 ip6-localnet
@@ -69,7 +69,7 @@ EOF
conf_print_networkifaces() {
fn conf_print_networkifaces
- cat << EOF
+ cat <<EOF
# interfaces(5) file used by ifup(8) and ifdown(8)
# Please note that this file is written to be used with dhcpcd
@@ -102,7 +102,7 @@ EOF
conf_print_resolvconf() {
fn conf_print_resolvconf
- cat << EOF
+ cat <<EOF
## google's nameservers
nameserver 8.8.8.8
nameserver 8.8.4.4
@@ -114,7 +114,7 @@ conf_print_sourceslist() {
req=(mirror release section)
ckreq || return 1
- cat << EOF
+ cat <<EOF
## package repositories
deb ${mirror} ${release} ${section}
deb ${mirror} ${release}-updates ${section}