summaryrefslogtreecommitdiff
path: root/pkgtools/mksandbox
diff options
context:
space:
mode:
authorjperkin <jperkin>2015-04-14 08:55:07 +0000
committerjperkin <jperkin>2015-04-14 08:55:07 +0000
commitc302083be196790e6c3f304d92cfba7a90c3d41d (patch)
treedf709c0f9c88e16eec6945fe181657fc27136b89 /pkgtools/mksandbox
parent47145802c2bf149f1322cae2f520bdfef0cab5f2 (diff)
downloadpkgsrc-c302083be196790e6c3f304d92cfba7a90c3d41d.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