summaryrefslogtreecommitdiff
path: root/sysutils/mklivecd
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2009-04-11 17:28:16 +0000
committerwiz <wiz@pkgsrc.org>2009-04-11 17:28:16 +0000
commitca3935f19d301daa2cc97788e5e422f38e472c46 (patch)
treec8aca88f933449b5353c45fc6df56a252efe1f30 /sysutils/mklivecd
parent94f65d394436273b5ac1f711034e832df1f86b02 (diff)
downloadpkgsrc-ca3935f19d301daa2cc97788e5e422f38e472c46.tar.gz
Avoid null mounting /dev (it needs to be layer-free).
Otherwise, random panics may occur. Explanation from ad@, patch from Zafer. Bump to 0.17.
Diffstat (limited to 'sysutils/mklivecd')
-rw-r--r--sysutils/mklivecd/Makefile4
-rw-r--r--sysutils/mklivecd/files/livecd7
2 files changed, 7 insertions, 4 deletions
diff --git a/sysutils/mklivecd/Makefile b/sysutils/mklivecd/Makefile
index 5578de6c381..8a2be64ed66 100644
--- a/sysutils/mklivecd/Makefile
+++ b/sysutils/mklivecd/Makefile
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.47 2009/04/09 00:48:16 joerg Exp $
+# $NetBSD: Makefile,v 1.48 2009/04/11 17:28:16 wiz Exp $
-DISTNAME= mklivecd-0.16
+DISTNAME= mklivecd-0.17
CATEGORIES= sysutils
MASTER_SITES= # empty
DISTFILES= # empty
diff --git a/sysutils/mklivecd/files/livecd b/sysutils/mklivecd/files/livecd
index 4b61466e50b..a24a877604a 100644
--- a/sysutils/mklivecd/files/livecd
+++ b/sysutils/mklivecd/files/livecd
@@ -1,4 +1,4 @@
-# $NetBSD: livecd,v 1.7 2007/04/10 20:52:01 xtraeme Exp $
+# $NetBSD: livecd,v 1.8 2009/04/11 17:28:16 wiz Exp $
#
# Mount ramfs directories and unpack the required files
# before anything.
@@ -23,9 +23,12 @@ livecd_start()
echo -n "=> Mounting memory filesystem directories: "
+ echo "dev, "
+ /rescue/@MNT_RAMFS_CMD@ @MNT_RAMFS_ARGS@ /dev
+
/rescue/@MNT_RAMFS_CMD@ @MNT_RAMFS_ARGS@ /ramfs
- for f in dev etc root tmp var
+ for f in etc root tmp var
do
/rescue/mkdir /ramfs/$f
[ "$f" = "tmp" ] && /rescue/chmod 01777 /ramfs/$f