From bms@spc.org  Wed Aug 28 02:37:21 2002
Return-Path: <bms@spc.org>
Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 6E7B637B400
	for <FreeBSD-gnats-submit@freebsd.org>; Wed, 28 Aug 2002 02:37:21 -0700 (PDT)
Received: from bigboy.spc.org (dolly.good1.com [195.206.69.225])
	by mx1.FreeBSD.org (Postfix) with ESMTP id A1B4443E6A
	for <FreeBSD-gnats-submit@freebsd.org>; Wed, 28 Aug 2002 02:37:20 -0700 (PDT)
	(envelope-from bms@spc.org)
Message-Id: <20020828093714.BB4419623@triage.dollah.com>
Date: Wed, 28 Aug 2002 10:37:14 +0100 (BST)
From: Bruce M Simpson <bms@spc.org>
Reply-To: Bruce M Simpson <bms@spc.org>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: PicoBSD: fix build script for 4.6-STABLE
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         42115
>Category:       misc
>Synopsis:       [picobsd] [patch] fix build script for 4.6-STABLE
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    luigi
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Aug 28 02:40:01 PDT 2002
>Closed-Date:    Wed Feb 10 17:16:56 UTC 2010
>Last-Modified:  Wed Feb 10 17:16:56 UTC 2010
>Originator:     Bruce M Simpson
>Release:        FreeBSD 4.6-STABLE i386
>Organization:
>Environment:
System: FreeBSD triage.dollah.com 4.6-STABLE FreeBSD 4.6-STABLE #1: Sun Aug 25 11:23:33 BST 2002 root@triage.dollah.com:/usr/src/sys/compile/TRIAGE i386


	
>Description:
	This brings the PicoBSD build script into line with recent changes
	in the behaviour of vn(4) and ssh-keygen(1).
>How-To-Repeat:
	
>Fix:

	

--- picobsd-build-stable.patch begins here ---
--- release/picobsd/build/picobsd-	Tue Aug 27 17:15:02 2002
+++ release/picobsd/build/picobsd	Tue Aug 27 17:26:47 2002
@@ -537,7 +537,7 @@
 	disklabel -rw ${l_vndev} auto || fail $? mfs_disklabel
     fi
     newfs -i ${mfs_inodes} -m 0 -p 0 -o space -f 512 -b 4096 \
-	/dev/${l_vndev}c > /dev/null
+	/dev/r${l_vndev}c > /dev/null
     mount /dev/${l_vndev}c ${c_mnt} || fail $? no_mount
     log "`df /dev/${l_vndev}c`"
 }
@@ -608,7 +608,7 @@
 	    log "Using existing host key"
 	else
 	    log "Generating new host key" 
-	    ssh-keygen -f ${BUILDDIR}/floppy.tree/etc/ssh_host_key \
+	    ssh-keygen -t rsa1 -f ${BUILDDIR}/floppy.tree/etc/ssh_host_key \
 		 -N "" -C "root@picobsd"
 	    gzip -9 ${BUILDDIR}/floppy.tree/etc/ssh_host_key* || true
 	fi
@@ -803,10 +803,10 @@
 
     log "Newfs floppy image"
     newfs -i ${fd_inodes} -m 0 -p 0 -o space -f 512 -b 4096 \
-	     /dev/${l_vndev}a > /dev/null
+	     /dev/r${l_vndev}c > /dev/null
 
     log "Mounting floppy image"
-    mount /dev/${l_vndev}a ${dst}
+    mount /dev/${l_vndev}c ${dst}
 
     (
     cd ${BUILDDIR}
--- picobsd-build-stable.patch ends here ---


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-bugs->luigi 
Responsible-Changed-By: luigi 
Responsible-Changed-When: Sun Sep 22 12:34:08 PDT 2002 
Responsible-Changed-Why:  
i will handle this 


http://www.freebsd.org/cgi/query-pr.cgi?pr=42115 
State-Changed-From-To: open->closed  
State-Changed-By: brucec 
State-Changed-When: Wed Feb 10 17:10:25 UTC 2010 
State-Changed-Why:  
The changes from the patch have either been committed or  
made obsolete by changes to the build script (e.g. using  
makefs instead of vmconfig/msconfig). 

http://www.freebsd.org/cgi/query-pr.cgi?pr=42115 
>Unformatted:
