The NetBSD Project

CVS log for pkgsrc/pkgtools/mksandbox/files/mksandbox

[BACK] Up to [cvs.NetBSD.org] / pkgsrc / pkgtools / mksandbox / files

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.18 / (download) - annotate - [select for diffs], Fri Jan 22 11:59:52 2021 UTC (2 months, 2 weeks ago) by jperkin
Branch: MAIN
CVS Tags: pkgsrc-2021Q1-base, pkgsrc-2021Q1, HEAD
Changes since 1.17: +9 -3 lines
Diff to previous 1.17 (colored)

mksandbox: Update to version 1.10.

Change the /dev/shm handling on Linux to account for systemd being a complete
nightmare and changing mount types behind your back automatically.

The previous fixed works fine, until it magically changes from a tmpfs with
1777 permissions to a devtmpfs with 0755 permissions, with obvious failures
resulting when building as non-root.

Tested on el6 and el7, with the latter now reliably able to build Python.

Revision 1.17 / (download) - annotate - [select for diffs], Mon Dec 7 13:05:12 2020 UTC (4 months ago) by jperkin
Branch: MAIN
CVS Tags: pkgsrc-2020Q4-base, pkgsrc-2020Q4
Changes since 1.16: +5 -1 lines
Diff to previous 1.16 (colored)

mksandbox: Copy mounts that are symlinks.

Resolves issues seen on newer Linux.  I've had this in my tree for a while,
ride previous version bump.

Revision 1.16 / (download) - annotate - [select for diffs], Mon Dec 7 12:35:52 2020 UTC (4 months ago) by jperkin
Branch: MAIN
Changes since 1.15: +2 -2 lines
Diff to previous 1.15 (colored)

mksandbox: Update to version 1.9.

On Linux create an additional read/write bind mount for /dev/shm.  It should be
a tmpfs mount writeable by all users, whereas the default devtmpfs permissions
for the directory are 0755.

Fixes builds of newer python releases as a non-root user.

Revision 1.15 / (download) - annotate - [select for diffs], Fri Jan 25 20:08:21 2019 UTC (2 years, 2 months ago) by agc
Branch: MAIN
CVS Tags: pkgsrc-2020Q3-base, pkgsrc-2020Q3, pkgsrc-2020Q2-base, pkgsrc-2020Q2, pkgsrc-2020Q1-base, pkgsrc-2020Q1, pkgsrc-2019Q4-base, pkgsrc-2019Q4, pkgsrc-2019Q3-base, pkgsrc-2019Q3, pkgsrc-2019Q2-base, pkgsrc-2019Q2, pkgsrc-2019Q1-base, pkgsrc-2019Q1
Changes since 1.14: +2 -1 lines
Diff to previous 1.14 (colored)

Update mksandbox to version 1.8

Fix in PR pkg/53896 from silas@nocafe.net for mksandbox to fully
support relative pathnames.

Revision 1.14 / (download) - annotate - [select for diffs], Fri Dec 7 12:40:39 2018 UTC (2 years, 4 months ago) by sevan
Branch: MAIN
CVS Tags: pkgsrc-2018Q4-base, pkgsrc-2018Q4
Changes since 1.13: +3 -3 lines
Diff to previous 1.13 (colored)

Update Usage coment to include --without-xsrc

Revision 1.13 / (download) - annotate - [select for diffs], Sat Sep 29 18:59:29 2018 UTC (2 years, 6 months ago) by sevan
Branch: MAIN
CVS Tags: pkgsrc-2018Q3-base, pkgsrc-2018Q3
Changes since 1.12: +2 -1 lines
Diff to previous 1.12 (colored)

Include /var/spool/dma on DragonFly BSD so report emails work from pbulk.

Revision 1.12 / (download) - annotate - [select for diffs], Sat Apr 21 19:40:50 2018 UTC (2 years, 11 months ago) by sevan
Branch: MAIN
CVS Tags: pkgsrc-2018Q2-base, pkgsrc-2018Q2
Changes since 1.11: +17 -4 lines
Diff to previous 1.11 (colored)

Add support for DragonFly BSD.
OS is essentially the same as FreeBSD from our configuration point of view, with
the exception of the name of utiliy for nullfs mounts.
Tested on DragonFly 5.3-DEVELOPMENT.

Revision 1.11 / (download) - annotate - [select for diffs], Thu Apr 12 02:08:47 2018 UTC (3 years ago) by simonb
Branch: MAIN
Changes since 1.10: +4 -3 lines
Diff to previous 1.10 (colored)

Add a --without-xsrc option similar to the existing --without-src
option.  Allows for building X packages without needing xsrc in the
sandbox.

Approved by agc@.

Revision 1.10 / (download) - annotate - [select for diffs], Fri Oct 14 12:50:07 2016 UTC (4 years, 5 months ago) by jperkin
Branch: MAIN
CVS Tags: pkgsrc-2018Q1-base, pkgsrc-2018Q1, pkgsrc-2017Q4-base, pkgsrc-2017Q4, pkgsrc-2017Q3-base, pkgsrc-2017Q3, pkgsrc-2017Q2-base, pkgsrc-2017Q2, pkgsrc-2017Q1-base, pkgsrc-2017Q1, pkgsrc-2016Q4-base, pkgsrc-2016Q4
Changes since 1.9: +8 -2 lines
Diff to previous 1.9 (colored)

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.

Revision 1.9 / (download) - annotate - [select for diffs], Thu Mar 3 04:41:15 2016 UTC (5 years, 1 month ago) by agc
Branch: MAIN
CVS Tags: pkgsrc-2016Q3-base, pkgsrc-2016Q3, pkgsrc-2016Q2-base, pkgsrc-2016Q2, pkgsrc-2016Q1-base, pkgsrc-2016Q1
Changes since 1.8: +6 -3 lines
Diff to previous 1.8 (colored)

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.

Revision 1.8 / (download) - annotate - [select for diffs], Sun Jul 5 11:47:14 2015 UTC (5 years, 9 months ago) by jperkin
Branch: MAIN
CVS Tags: pkgsrc-2015Q4-base, pkgsrc-2015Q4, pkgsrc-2015Q3-base, pkgsrc-2015Q3
Changes since 1.7: +2 -2 lines
Diff to previous 1.7 (colored)

mksandbox-1.5: Mount /run on newer Linux for dynamic resolv.conf

Revision 1.7 / (download) - annotate - [select for diffs], Tue Apr 14 08:55:07 2015 UTC (6 years ago) by jperkin
Branch: MAIN
CVS Tags: pkgsrc-2015Q2-base, pkgsrc-2015Q2
Changes since 1.6: +2 -2 lines
Diff to previous 1.6 (colored)

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.

Revision 1.6 / (download) - annotate - [select for diffs], Wed Jul 24 22:16:26 2013 UTC (7 years, 8 months ago) by jperkin
Branch: MAIN
CVS Tags: pkgsrc-2015Q1-base, pkgsrc-2015Q1, pkgsrc-2014Q4-base, pkgsrc-2014Q4, pkgsrc-2014Q3-base, pkgsrc-2014Q3, pkgsrc-2014Q2-base, pkgsrc-2014Q2, pkgsrc-2014Q1-base, pkgsrc-2014Q1, pkgsrc-2013Q4-base, pkgsrc-2013Q4, pkgsrc-2013Q3-base, pkgsrc-2013Q3
Changes since 1.5: +19 -10 lines
Diff to previous 1.5 (colored)

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.

Revision 1.5 / (download) - annotate - [select for diffs], Sat Jul 20 10:20:42 2013 UTC (7 years, 8 months ago) by jperkin
Branch: MAIN
Changes since 1.4: +77 -39 lines
Diff to previous 1.4 (colored)

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

Revision 1.4 / (download) - annotate - [select for diffs], Thu Jul 18 16:07:22 2013 UTC (7 years, 8 months ago) by jperkin
Branch: MAIN
Changes since 1.3: +5 -2 lines
Diff to previous 1.3 (colored)

mksandbox-1.1:

  * Add /lib64 and /usr/lib64 on Linux.
  * Ensure that read-only --bind mounts on Linux are actually read-only.

Revision 1.3 / (download) - annotate - [select for diffs], Wed May 29 15:09:49 2013 UTC (7 years, 10 months ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2013Q2-base, pkgsrc-2013Q2
Changes since 1.2: +3 -3 lines
Diff to previous 1.2 (colored)

- add missing `--mounthost=host' option to usage comment;
- sort options order in usage comment and `usage' message;
- de-capitalize ``usage'' word in usage message.

From Bug Hunting.

Revision 1.2 / (download) - annotate - [select for diffs], Sun Aug 26 21:38:34 2012 UTC (8 years, 7 months ago) by agc
Branch: MAIN
CVS Tags: pkgsrc-2013Q1-base, pkgsrc-2013Q1, pkgsrc-2012Q4-base, pkgsrc-2012Q4, pkgsrc-2012Q3-base, pkgsrc-2012Q3
Changes since 1.1: +14 -22 lines
Diff to previous 1.1 (colored)

Change to a 2-clause licen[cs]e.

Revision 1.1 / (download) - annotate - [select for diffs], Sun Aug 26 10:31:23 2012 UTC (8 years, 7 months ago) by wiz
Branch: MAIN

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.

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.




CVSweb <webmaster@jp.NetBSD.org>