Date: Wed, 28 Aug 2002 10:37:14 +0100 (BST) From: Bruce M Simpson <bms@spc.org> To: FreeBSD-gnats-submit@FreeBSD.org Subject: misc/42115: PicoBSD: fix build script for 4.6-STABLE Message-ID: <20020828093714.BB4419623@triage.dollah.com>
next in thread | raw e-mail | index | archive | help
>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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020828093714.BB4419623>
