summaryrefslogtreecommitdiff
path: root/sysutils
diff options
context:
space:
mode:
authorxtraeme <xtraeme@pkgsrc.org>2005-03-30 14:23:04 +0000
committerxtraeme <xtraeme@pkgsrc.org>2005-03-30 14:23:04 +0000
commit7d9e2e47da8a6dc37ae36ffeafce9677822c9359 (patch)
tree84a09ea61818f99c6db0077aef06ceb6a6e0979b /sysutils
parent2670c4bbf4a9be671116d615e6e7b357eef948ac (diff)
downloadpkgsrc-7d9e2e47da8a6dc37ae36ffeafce9677822c9359.tar.gz
Update to 0.11
* grub changed the directory for the stage files, this was changed in 0.96, require at least this version. * Don't remove the work directories when the pkgsrc or distfiles are still mounted in the clean target. Patch submitted by Mike M. Volokhov on tech-pkg@.
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/mklivecd/Makefile7
-rwxr-xr-xsysutils/mklivecd/files/mklivecd.sh10
2 files changed, 10 insertions, 7 deletions
diff --git a/sysutils/mklivecd/Makefile b/sysutils/mklivecd/Makefile
index 36f6375d128..d22dd98355e 100644
--- a/sysutils/mklivecd/Makefile
+++ b/sysutils/mklivecd/Makefile
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.16 2005/03/16 16:37:37 xtraeme Exp $
+# $NetBSD: Makefile,v 1.17 2005/03/30 14:23:04 xtraeme Exp $
-DISTNAME= mklivecd-0.10
-PKGREVISION= 1
+DISTNAME= mklivecd-0.11
CATEGORIES= sysutils
MASTER_SITES= # empty
DISTFILES= # empty
@@ -10,7 +9,7 @@ MAINTAINER= xtraeme@NetBSD.org
COMMENT= Build a NetBSD i386 Live CD via command line
DEPENDS+= {cdrecord,cdrtools-ossdvd}-[0-9]*:../../sysutils/cdrecord
-DEPENDS+= grub>=0.95:../../sysutils/grub
+DEPENDS+= grub>=0.96:../../sysutils/grub
PKG_INSTALLATION_TYPES= overwrite pkgviews
diff --git a/sysutils/mklivecd/files/mklivecd.sh b/sysutils/mklivecd/files/mklivecd.sh
index c9ab2e7f477..7c87a27d877 100755
--- a/sysutils/mklivecd/files/mklivecd.sh
+++ b/sysutils/mklivecd/files/mklivecd.sh
@@ -1,6 +1,6 @@
#!/bin/sh
#
-# $NetBSD: mklivecd.sh,v 1.19 2005/03/16 16:37:38 xtraeme Exp $
+# $NetBSD: mklivecd.sh,v 1.20 2005/03/30 14:23:04 xtraeme Exp $
#
# Copyright (c) 2004, 2005 The NetBSD Foundation, Inc.
# All rights reserved.
@@ -257,7 +257,7 @@ do_cdlive()
for f in $GRUB_FILES
do
if [ ! -f $ISODIR/$BOOTDIR/$f ]; then
- cp @PREFIX@/share/grub/@MACHINE_ARCH@-/$f \
+ cp @PREFIX@/lib/grub/@MACHINE_ARCH@-/$f \
$ISODIR/$BOOTDIR
[ "$verbose_mode" = "on" ] && \
showmsg "Copying $f into $ISODIR/$BOOTDIR."
@@ -374,7 +374,7 @@ _EOF_
cat > $ISODIR/etc/rc.d/root <<_EOF_
#!/bin/sh
#
-# \$NetBSD: mklivecd.sh,v 1.19 2005/03/16 16:37:38 xtraeme Exp $
+# \$NetBSD: mklivecd.sh,v 1.20 2005/03/30 14:23:04 xtraeme Exp $
#
# PROVIDE: root
@@ -589,6 +589,10 @@ _EOF_
fi
;;
clean)
+ if [ -f $pkgsrc_mntstat -o -f $pkgsrcdist_mntstat ]; then
+ showmsg "The pkgsrc directories still in use! Exiting."
+ bye 1
+ fi
showmsg "Cleaning WORKDIR: $WORKDIR"
rm -rf $WORKDIR
for F in bin dev etc lib libexec mnt rescue \