Date: Thu, 09 Nov 2000 03:06:42 +0900 From: TAKEMURA Masahiro <mastake@msel.t.u-tokyo.ac.jp> To: FreeBSD-gnats-submit@freebsd.org Subject: misc/22696: picobsd build with 'router' configuration can't boot. Message-ID: <20001109030642D.takemura@naoe.t.u-tokyo.ac.jp>
next in thread | raw e-mail | index | archive | help
>Number: 22696 >Category: misc >Synopsis: picobsd build with router configuration can't boot. >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Nov 08 10:10:01 PST 2000 >Closed-Date: >Last-Modified: >Originator: Mas.TAKEMURA >Release: FreeBSD 3.5-STABLE i386 >Organization: University of Tokyo >Environment: FreeBSD 3.5-STABLE >Description: 'router' configuration uses 'oinit' program. 'oinit' includes simple shell function. But not all functions are implemented, for example *(asterisk: which means 'wild card'). Picobsd's configuration script 'rc' uses *(asterisk) and oinit can't interpret. So picobsd with router configuration can't complete boot sequences. >How-To-Repeat: cd /usr/src/release/picobsd/build ./build choose Type: router and build. boot with accomplished floppy disk. >Fix: move '/usr/src/release/picobsd/router/floppy.tree/etc/mfs.rc' to '/usr/src/release/picobsd/mfs_tree/etc/oinit.rc'. And apply following patch --- /usr/src/release/picobsd/mfs_tree/etc/oinit.rc.orig Thu Nov 9 02:24:52 2000 +++ /usr/src/release/picobsd/mfs_tree/etc/oinit.rc Thu Nov 9 02:25:08 2000 @@ -22,4 +22,5 @@ umount /dev/fd0a echo "Ok. (Now you may remove floppy if you like)" echo +gzip -d rc.gz . rc --- /usr/src/release/picobsd/build/stage1.orig Thu Nov 9 02:11:34 2000 +++ /usr/src/release/picobsd/build/stage1 Thu Nov 9 02:48:45 2000 @@ -99,13 +99,17 @@ >/dev/null || fail $? makedevs fi - MFS_RC=mfs_tree/etc/rc - if [ ! -f ${MFS_RC} ] ; then # no private version. use generic mfs.rc - MFS_RC=${BUILDDIR}/../${MFS_RC} - fi if [ "${INIT}" = "oinit" ] ; then + MFS_RC=mfs_tree/etc/oinit.rc + if [ ! -f ${MFS_RC} ] ; then # no private version. use generic mfs.rc + MFS_RC=${BUILDDIR}/../${MFS_RC} + fi cat ${MFS_RC} | sed -e "s/@VER@/${VER}/g" > ${MFS_MOUNTPOINT}/etc/oinit.rc else + MFS_RC=mfs_tree/etc/rc + if [ ! -f ${MFS_RC} ] ; then # no private version. use generic mfs.rc + MFS_RC=${BUILDDIR}/../${MFS_RC} + fi cat ${MFS_RC} | sed -e "s/@VER@/${VER}/g" > ${MFS_MOUNTPOINT}/etc/rc if [ -f mfs_tree/etc/login.conf ] ; then cp mfs_tree/etc/login.conf ${MFS_MOUNTPOINT}/etc/login.conf >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?20001109030642D.takemura>