diff --git a/libdevuansdk b/libdevuansdk index 4d77ff1..df78317 100644 --- a/libdevuansdk +++ b/libdevuansdk @@ -24,6 +24,7 @@ source $LIBPATH/config source $LIBPATH/zlibs/bootstrap source $LIBPATH/zlibs/helpers source $LIBPATH/zlibs/imaging +source $LIBPATH/zlibs/iso source $LIBPATH/zlibs/kernel source $LIBPATH/zlibs/rsync source $LIBPATH/zlibs/sysconf diff --git a/zlibs/bootstrap b/zlibs/bootstrap index d2352db..8225713 100644 --- a/zlibs/bootstrap +++ b/zlibs/bootstrap @@ -186,8 +186,10 @@ rm -f /postunpack EOF dpkgdivert on $strapdir + devprocsys mount $strapdir sudo chmod +x $strapdir/postunpack || zerr sudo -E chroot $strapdir /postunpack || zerr + devprocsys umount $strapdir dpkgdivert off $strapdir ## below typically used in arm-sdk diff --git a/zlibs/iso b/zlibs/iso new file mode 100644 index 0000000..f2fa85c --- /dev/null +++ b/zlibs/iso @@ -0,0 +1,119 @@ +#!/usr/bin/env zsh +# Copyright (c) 2016 Dyne.org Foundation +# libdevuansdk is maintained by Ivan J. +# +# This file is part of libdevuansdk +# +# This source code is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This software is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this source code. If not, see . + +## burn baby + +iso_prepare_strap() { + fn iso_prepare_strap + req=(strapdir) + ckreq || return 1 + + notice "preparing strapdir for livecd" + + cat <