Commit graph

14 commits

Author SHA1 Message Date
agc
f44279d1fb Update mksandbox to version 1.8
Fix in PR pkg/53896 from silas@nocafe.net for mksandbox to fully
support relative pathnames.
2019-01-25 20:08:21 +00:00
rillig
c77d3c5335 pkgtools/*: Realign variables in Makefiles
Mainly done by pkglint, manually reviewed and improved in some few cases.
2018-01-27 19:07:46 +00:00
jperkin
74564c9ae6 Update to mksandbox-1.7. Changes:
- Handle /run/resolvconf/resolv.conf explicitly rather than mounting all of
   /run.  If /run exists then systemd will dynamically create /run/user/uid
   tmpfs mounts inside the chroot which mksandbox is unable to unmount.
2016-10-14 12:50:07 +00:00
agc
c006a71287 Patch from Silas Silva to:
+ add a --without-src command line argument which allows a sandbox to be
  made without mounting any src tree component

+ bump mksandbox package to 1.6.
2016-03-03 04:41:15 +00:00
jperkin
a076d14ba7 mksandbox-1.5: Mount /run on newer Linux for dynamic resolv.conf 2015-07-05 11:47:14 +00:00
jperkin
73742a85a5 Update to mksandbox-1.4. Changes:
- Only copy $kernel if it exists, fixes warning on OSX 10.10 which moves
   the kernel location to a directory we already mount, noted by J. Lewis
   Muir on pkgsrc-users.

 - Add NO_CHECKSUM=yes to appease pkglint.
2015-04-14 08:55:07 +00:00
obache
34637a70ac Just define PKGNAME and use it. 2014-03-03 03:30:52 +00:00
jperkin
be6bed6b44 mksandbox-1.3:
- 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-24 22:16:26 +00:00
jperkin
11bf2bd590 mksandbox-1.2:
* 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-20 10:20:42 +00:00
jperkin
58c1cbdabc mksandbox-1.1:
* Add /lib64 and /usr/lib64 on Linux.
  * Ensure that read-only --bind mounts on Linux are actually read-only.
2013-07-18 16:07:22 +00:00
agc
fa1cb09ad0 I'll take responsibility for this one. 2013-05-29 15:57:09 +00:00
asau
5c2dd9e784 "user-destdir" is default these days 2012-09-11 23:19:33 +00:00
wiz
42c24894ca Follow suit -- change to 2-clause BSD, and adapt Makefile LICENSE variable. 2012-08-26 22:13:18 +00:00
wiz
0e1bdf6848 Import mksandbox-1.0 as pkgtools/mksandbox.
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.
2012-08-26 10:31:23 +00:00