libdevuansdk

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

commit 1d0e5356f1465a1567835bd1b3e5b45426a4269c
parent a82bb122bf8282e2d1132dbd126ee408d50f8191
Author: parazyd <parazyd@dyne.org>
Date:   Tue, 11 Oct 2016 22:37:20 +0200

aesthetics

Diffstat:
Mconfig | 2+-
Mlibdevuansdk | 4++--
Mzlibs/bootstrap | 11++++-------
3 files changed, 7 insertions(+), 10 deletions(-)

diff --git a/config b/config @@ -24,7 +24,7 @@ arrs+=(core_packages base_packages purge_packages) os="devuan" release="jessie" -version="1.0.0-beta" +version="1.0.0-beta2.rc1" mirror="http://auto.mirror.devuan.org/merged" section="main" diff --git a/libdevuansdk b/libdevuansdk @@ -17,7 +17,7 @@ # You should have received a copy of the GNU General Public License # along with this source code. If not, see <http://www.gnu.org/licenses/>. -libdevuansdk_version="0.2-dev" +libdevuansdk_version="0.2" LIBPATH=${LIBPATH:-`dirname $0`} source $LIBPATH/config @@ -31,4 +31,4 @@ source $LIBPATH/zlibs/sysconf vars+=(libdevuansdk_version) vars+=(LIBPATH) -notice "libdevuansdk-v$libdevuansdk_version loaded" +act "libdevuansdk v$libdevuansdk_version loaded" diff --git a/zlibs/bootstrap b/zlibs/bootstrap @@ -55,13 +55,10 @@ bootstrap_complete_base() { 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 - } - for i in $custmodules; do - print $i | sudo tee -a $strapdir/etc/modules - done + [[ -n $inittab ]] && { print $inittab | sudo tee -a $strapdir/etc/inittab } + for i in $custmodules;do print $i | sudo tee -a $strapdir/etc/modules; done ## write third-stage for chroot bootstrap_config_thirdstage | sudo tee $strapdir/thirdstage @@ -156,7 +153,7 @@ EOF pushd ${strapdir} mkdir -p ${_dest} silly - sudo tar czf $bootstrap_tgz \ + sudo tar czfp $bootstrap_tgz \ --exclude={./boot,./dev,./sys,./proc} \ ./ popd