development/mkchroot: Updated for version 1.0.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Duncan Roe 2017-05-31 17:32:39 +07:00 committed by Willy Sudiarto Raharjo
parent 46c78db8bd
commit 1072b99383
4 changed files with 24 additions and 21 deletions

View File

@ -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.

View File

@ -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

View File

@ -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=""

View File

@ -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