From owner-freebsd-bugs Wed Aug 28 2:40:11 2002 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BED4E37B400 for ; Wed, 28 Aug 2002 02:40:03 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1B14243E6E for ; Wed, 28 Aug 2002 02:40:03 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.4/8.12.4) with ESMTP id g7S9e2JU018966 for ; Wed, 28 Aug 2002 02:40:02 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.4/8.12.4/Submit) id g7S9e27T018965; Wed, 28 Aug 2002 02:40:02 -0700 (PDT) Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6E7B637B400 for ; 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 ; 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 Reply-To: Bruce M Simpson To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: misc/42115: PicoBSD: fix build script for 4.6-STABLE Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 42115 >Category: misc >Synopsis: PicoBSD: fix build script for 4.6-STABLE >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Aug 28 02:40:01 PDT 2002 >Closed-Date: >Last-Modified: >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: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message