summaryrefslogtreecommitdiff
path: root/pkgtools/mksandbox
diff options
context:
space:
mode:
authorjperkin <jperkin@pkgsrc.org>2015-04-14 08:55:07 +0000
committerjperkin <jperkin@pkgsrc.org>2015-04-14 08:55:07 +0000
commit8b7e4d2ec4321e9e19c55ddc6393d2077264502c (patch)
treedf709c0f9c88e16eec6945fe181657fc27136b89 /pkgtools/mksandbox
parent10194c3be83d4ad0c4fc6f1dc5a2716d1e99f590 (diff)
downloadpkgsrc-8b7e4d2ec4321e9e19c55ddc6393d2077264502c.tar.gz
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.
Diffstat (limited to 'pkgtools/mksandbox')
-rw-r--r--pkgtools/mksandbox/Makefile5
-rwxr-xr-xpkgtools/mksandbox/files/mksandbox4
2 files changed, 5 insertions, 4 deletions
diff --git a/pkgtools/mksandbox/Makefile b/pkgtools/mksandbox/Makefile
index 16828841ce9..fef9b944c3b 100644
--- a/pkgtools/mksandbox/Makefile
+++ b/pkgtools/mksandbox/Makefile
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.8 2014/03/03 03:30:53 obache Exp $
+# $NetBSD: Makefile,v 1.9 2015/04/14 08:55:07 jperkin Exp $
-PKGNAME= mksandbox-1.3
+PKGNAME= mksandbox-1.4
CATEGORIES= pkgtools
MAINTAINER= agc@NetBSD.org
@@ -10,6 +10,7 @@ LICENSE= 2-clause-bsd
WRKSRC= ${WRKDIR}
NO_BUILD= yes
+NO_CHECKSUM= yes
USE_LANGUAGES= # none
INSTALLATION_DIRS= sbin ${PKGMANDIR}/man8
diff --git a/pkgtools/mksandbox/files/mksandbox b/pkgtools/mksandbox/files/mksandbox
index ae0270390e1..a6c50435227 100755
--- a/pkgtools/mksandbox/files/mksandbox
+++ b/pkgtools/mksandbox/files/mksandbox
@@ -1,6 +1,6 @@
#! /bin/sh
-# $NetBSD: mksandbox,v 1.6 2013/07/24 22:16:26 jperkin Exp $
+# $NetBSD: mksandbox,v 1.7 2015/04/14 08:55:07 jperkin Exp $
# Copyright (c) 2002,2012 Alistair Crooks <agc@NetBSD.org>
# All rights reserved.
@@ -247,7 +247,7 @@ r3() {
fses="\\
EOS
-if [ ! -z "$kernel" ]; then
+if [ -n "$kernel" -a -f "$kernel" ]; then
echo "Copying the kernel"
$cpprog $kernel $sandbox
fi