Re: Can't seem to build a release.

From: Claude Buisson <cbuisson_at_nerim.net>
Date: Tue, 06 Jul 2004 14:49:47 +0200
Edwin Culp wrote:
> For a while now, my releases haven't finished.  After the error
> md0 exists as does mdctl.  I have no idea what is causing the
> error.  Any help would be appreciated.
> 
> + [ x != x ]
> + mdconfig -a -t vnode -f /R/stage/mfsroot/mfsroot
> + MDDEVICE=md0
> + [ ! -c /dev/md0 ]
> + echo No /dev/md0
> No /dev/md0
> + exit 1
> *** Error code 1
> 
> Stop in /usr/src/release.
> + umount /dev
> *** Error code 1
> 
> Stop in /usr/src/release.
> 

I found a workaround in PR misc/68528 (beware of cutandpaste):

--- src/release/scripts/doFS.sh.orig        Thu Jul  1 03:47:59 2004
+++ src/release/scripts/doFS.sh     Thu Jul  1 03:48:21 2004
_at__at_ -64,6 +64,7 _at__at_
         fi

         MDDEVICE=`mdconfig -a -t vnode -f ${FSIMG}`
+       sleep 1
         if [ ! -c /dev/${MDDEVICE} ] ; then
                 echo "No /dev/$MDDEVICE" 1>&2
                 exit 1

works for me.

> TIA,
> 
> ed

Claude Buisson
Received on Tue Jul 06 2004 - 10:49:50 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:00 UTC