pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/pkgtools/mksandbox/files



Module Name:    pkgsrc
Committed By:   jperkin
Date:           Mon Dec  7 13:05:12 UTC 2020

Modified Files:
        pkgsrc/pkgtools/mksandbox/files: mksandbox

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r1.16 -r1.17 pkgsrc/pkgtools/mksandbox/files/mksandbox

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/pkgtools/mksandbox/files/mksandbox
diff -u pkgsrc/pkgtools/mksandbox/files/mksandbox:1.16 pkgsrc/pkgtools/mksandbox/files/mksandbox:1.17
--- pkgsrc/pkgtools/mksandbox/files/mksandbox:1.16      Mon Dec  7 12:35:52 2020
+++ pkgsrc/pkgtools/mksandbox/files/mksandbox   Mon Dec  7 13:05:12 2020
@@ -1,6 +1,6 @@
 #! /bin/sh
 
-# $NetBSD: mksandbox,v 1.16 2020/12/07 12:35:52 jperkin Exp $
+# $NetBSD: mksandbox,v 1.17 2020/12/07 13:05:12 jperkin Exp $
 
 # Copyright (c) 2002,2012 Alistair Crooks <agc%NetBSD.org@localhost>
 # All rights reserved.
@@ -314,6 +314,10 @@ esac
 
 echo "Make empty dirs upon which to mount the null mounts"
 for d in $sandboxMountDirs; do
+       if [ -L $d ]; then
+               $cpprog -P $d $sandbox$d
+               continue
+       fi
        test -d $d || continue;
        case $d in
        *X11*)  test "$with_x" = "yes" || continue ;;



Home | Main Index | Thread Index | Old Index