summaryrefslogtreecommitdiff
path: root/pkgtools/mksandbox
AgeCommit message (Collapse)AuthorFilesLines
2013-07-24mksandbox-1.3:jperkin2-12/+21
- Add /usr/sfw to SunOS mount dirs, required for certain binaries on newer releases. - Mount proper instances of /dev and /dev/fd on SunOS rather than relying on devfsadm and ucblinks, the latter of which does not exist on newer releases. - Do not create /var/games if the games user does not exist.
2013-07-20mksandbox-1.2:jperkin3-48/+95
* Mount /proc read-write on Linux, it appears to be required for e.g. groupadd to function correctly. * Add new --rodirs and --rwdirs options, which allow arbitrary lists of directories to be mounted appropriately inside the chroot. * Add --without-pkgsrc which prevents the default pkgsrc directories from being mounted. This allows mksandbox to be easily used for chrooted pbulk setups, using a simple invocation such as: mksandbox --without-pkgsrc --rodirs=/usr/pbulk --rwdirs=/shared /chroot
2013-07-18mksandbox-1.1:jperkin2-4/+7
* Add /lib64 and /usr/lib64 on Linux. * Ensure that read-only --bind mounts on Linux are actually read-only.
2013-05-29I'll take responsibility for this one.agc1-2/+2
2013-05-29- add missing `--mounthost=host' option (and adjust the list widthwiz1-11/+16
for that); - use more common option list header line; - correct argument names of `--src' and `--xsrc' in the text; - correct default `xsrcdir' directory; - choose different argument wording (then also using appropriate macro) in the arbitrary sandbox command running explanation (and adjust the list width with it); - add comma after ``e.g.''; - bump date. From Bug Hunting.
2013-05-29- add missing `--mounthost=host' option to usage comment;wiz1-3/+3
- sort options order in usage comment and `usage' message; - de-capitalize ``usage'' word in usage message. From Bug Hunting.
2012-09-11"user-destdir" is default these daysasau1-3/+1
2012-08-26Follow suit -- change to 2-clause BSD, and adapt Makefile LICENSE variable.wiz2-22/+15
2012-08-26Change to a 2-clause licen[cs]e.agc1-22/+14
2012-08-26Add more documentation.wiz1-1/+45
2012-08-26Import mksandbox-1.0 as pkgtools/mksandbox.wiz5-0/+561
A small shell script to set up a sandbox (usually for a pkgsrc bulk build), using null mounts. The file lived in pkgsrc/mk/bulk/mksandbox, but is worthy of its own package IMHO. New: with manpage.