pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/pkgsrc-2005Q1]: pkgsrc/sysutils/mklivecd Pullup ticket 404 - requeste...
details: https://anonhg.NetBSD.org/pkgsrc/rev/498ed8b8d59a
branches: pkgsrc-2005Q1
changeset: 490890:498ed8b8d59a
user: salo <salo%pkgsrc.org@localhost>
date: Thu Mar 31 15:10:30 2005 +0000
description:
Pullup ticket 404 - requested by Juan Romero Pardines
usability fix for mklivecd
Revisions pulled up:
- pkgsrc/sysutils/mklivecd/Makefile 1.17
- pkgsrc/sysutils/mklivecd/files/mklivecd.sh 1.20
Module Name: pkgsrc
Committed By: xtraeme
Date: Wed Mar 30 14:23:04 UTC 2005
Modified Files:
pkgsrc/sysutils/mklivecd: Makefile
pkgsrc/sysutils/mklivecd/files: mklivecd.sh
Log Message:
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:
sysutils/mklivecd/Makefile | 7 +++----
sysutils/mklivecd/files/mklivecd.sh | 10 +++++++---
2 files changed, 10 insertions(+), 7 deletions(-)
diffs (62 lines):
diff -r 30fd56239d0b -r 498ed8b8d59a sysutils/mklivecd/Makefile
--- a/sysutils/mklivecd/Makefile Thu Mar 31 14:55:58 2005 +0000
+++ b/sysutils/mklivecd/Makefile Thu Mar 31 15:10:30 2005 +0000
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.16 2005/03/16 16:37:37 xtraeme Exp $
+# $NetBSD: Makefile,v 1.16.2.1 2005/03/31 15:10:30 salo Exp $
-DISTNAME= mklivecd-0.10
-PKGREVISION= 1
+DISTNAME= mklivecd-0.11
CATEGORIES= sysutils
MASTER_SITES= # empty
DISTFILES= # empty
@@ -10,7 +9,7 @@
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 -r 30fd56239d0b -r 498ed8b8d59a sysutils/mklivecd/files/mklivecd.sh
--- a/sysutils/mklivecd/files/mklivecd.sh Thu Mar 31 14:55:58 2005 +0000
+++ b/sysutils/mklivecd/files/mklivecd.sh Thu Mar 31 15:10:30 2005 +0000
@@ -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.19.2.1 2005/03/31 15:10:31 salo Exp $
#
# Copyright (c) 2004, 2005 The NetBSD Foundation, Inc.
# All rights reserved.
@@ -257,7 +257,7 @@
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 @@
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.19.2.1 2005/03/31 15:10:31 salo Exp $
#
# PROVIDE: root
@@ -589,6 +589,10 @@
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 \
Home |
Main Index |
Thread Index |
Old Index