From ca3935f19d301daa2cc97788e5e422f38e472c46 Mon Sep 17 00:00:00 2001 From: wiz Date: Sat, 11 Apr 2009 17:28:16 +0000 Subject: 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. --- sysutils/mklivecd/Makefile | 4 ++-- sysutils/mklivecd/files/livecd | 7 +++++-- 2 files changed, 7 insertions(+), 4 deletions(-) (limited to 'sysutils/mklivecd') 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 -- cgit v1.2.3