diff options
author | Duncan Roe <duncan_roe@optusnet.com.au> | 2017-05-31 17:32:39 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2017-06-03 07:59:43 +0700 |
commit | 1072b99383c790970c17b5a92e6d905a12b02b31 (patch) | |
tree | 95d02ab98ff460942b1d067268cd9d466e3945e3 /development/mkchroot | |
parent | 46c78db8bd5a60f646330581a42660541854e062 (diff) | |
download | slackbuilds-1072b99383c790970c17b5a92e6d905a12b02b31.tar.gz |
development/mkchroot: Updated for version 1.0.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'development/mkchroot')
-rw-r--r-- | development/mkchroot/README | 21 | ||||
-rw-r--r-- | development/mkchroot/mkchroot.SlackBuild | 6 | ||||
-rw-r--r-- | development/mkchroot/mkchroot.info | 6 | ||||
-rw-r--r-- | development/mkchroot/slack-desc | 12 |
4 files changed, 24 insertions, 21 deletions
diff --git a/development/mkchroot/README b/development/mkchroot/README index 33f5e9ce51..ce08a42ca7 100644 --- a/development/mkchroot/README +++ b/development/mkchroot/README @@ -1,12 +1,15 @@ mkchroot (create chroot-able directory tree) mkchroot creates a chroot-able directory tree using hard links where -possible. The mkchroot package consists of 3 utilities: mkchroot, -addchroot and findslack. mkchroot creates a minimal initial tree -and addchroot incorporates Slackware packages into that tree. -findslack is a utility used by the others to discover a Slackware -install directory. (The package is usable without an install directory -but has less functionality because it can't then run install scripts). -(Before running the install script, addchroot uses the FILE LIST -portion of the package file in /var/log/packages to install a -package's directories and files). +possible. The mkchroot package consists of 2 utilities: mkchroot and +addchroot. mkchroot creates a minimal initial tree. addchroot +then incorporates (installed) Slackware packages into that tree. + +HOW IT WORKS: addchroot uses the FILE LIST portion of the package file +in /var/log/packages to install a package's directories and files. +To complete the process, addchroot chroots the install script from +/var/log/scripts. + +addchroot knows about some "special" packages for which it does not +run the normal install script, e.g. bash and glibc. If you find a new +"special" package, please tell the author. diff --git a/development/mkchroot/mkchroot.SlackBuild b/development/mkchroot/mkchroot.SlackBuild index c9824f6181..ebd348e314 100644 --- a/development/mkchroot/mkchroot.SlackBuild +++ b/development/mkchroot/mkchroot.SlackBuild @@ -23,7 +23,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=mkchroot -VERSION=${VERSION:-0.1} +VERSION=${VERSION:-1.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -50,9 +50,9 @@ find -L . \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; mkdir -p $PKG/usr/bin -cp -a mkchroot addchroot findslack $PKG/usr/bin +cp -a mkchroot addchroot $PKG/usr/bin mkdir -p $PKG/usr/man/man1 -cp -a mkchroot.1 addchroot.1 findslack.1 $PKG/usr/man/man1 +cp -a mkchroot.1 addchroot.1 $PKG/usr/man/man1 find $PKG/usr/man -type f -exec gzip -9 {} \; for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done diff --git a/development/mkchroot/mkchroot.info b/development/mkchroot/mkchroot.info index c55b53ef9e..3cad4bf40e 100644 --- a/development/mkchroot/mkchroot.info +++ b/development/mkchroot/mkchroot.info @@ -1,8 +1,8 @@ PRGNAM="mkchroot" -VERSION="0.1" +VERSION="1.0" HOMEPAGE="https://github.com/duncan-roe/mkchroot" -DOWNLOAD="https://github.com/duncan-roe/mkchroot/archive/v0.1/mkchroot-0.1.tar.gz" -MD5SUM="268ae2b46910d76962cebb54cc4cffff" +DOWNLOAD="https://github.com/duncan-roe/mkchroot/archive/v1.0/mkchroot-1.0.tar.gz" +MD5SUM="ad374500bc032163ad69fc60d27a179a" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" diff --git a/development/mkchroot/slack-desc b/development/mkchroot/slack-desc index 0ed29550a5..e34be94ece 100644 --- a/development/mkchroot/slack-desc +++ b/development/mkchroot/slack-desc @@ -9,11 +9,11 @@ mkchroot: mkchroot (create chroot-able directory tree) mkchroot: mkchroot: mkchroot creates a chroot-able directory tree using hard links where -mkchroot: possible. The mkchroot package consists of 3 utilities: mkchroot, -mkchroot: addchroot and findslack. mkchroot creates a minimal initial tree -mkchroot: and addchroot incorporates Slackware packages into that tree. -mkchroot: findslack is a utility used by the others to discover a Slackware -mkchroot: install directory. (The package is usable without an install directory -mkchroot: but has less functionality because it can't then run install scripts). +mkchroot: possible. The mkchroot package consists of 2 utilities: mkchroot and +mkchroot: addchroot. mkchroot creates a minimal initial tree and addchroot +mkchroot: incorporates (installed) Slackware packages into that tree. +mkchroot: addchroot knows about some "special" packages for which it does not +mkchroot: run the normal install script, e.g. bash and glibc. If you find a new +mkchroot: "special" package, please tell the author. mkchroot: mkchroot: Homepage https://github.com/duncan-roe/mkchroot |