Subject: Re: can't run etcupdate (fails on MAKEDEV)
To: None <current-users@netbsd.org>
From: Xning Lee <xning@soforge.com>
List: current-users
Date: 01/14/2005 17:58:11
George Michaelson <ggm@apnic.net> writes:

> since the anoncvs thing, I've suspected a corrupted src tree but I blew it
> away and re-fetched, and have the same problem:
>
> nice ./build.sh -M /usr/obj -u -x build >& /var/tmp/build.log &
>
> runs to completion fine.
>
> toss to single-user, remount fs,then cd /usr/obj/data/src/destdir.i386/
> tar cBpf - . | (cd /; tar --unlink -xBpf -)
>
> cd /
>
> etcupdate -v complains:
>  
> #   install  /tmp/temproot/dev/MAKEDEV
> cd /usr/obj/data/src/etc && install  -N /data/src/etc -c  -r -T etc_pkg -o
> root -g wheel -m 555  MAKEDEV /tmp/temproot/dev install: MAKEDEV: stat: No
> such file or directory*** Error code 1
>
> Stop.
> make: stopped in /data/src/etc
> *** Error code 1
>
> Stop.
> make: stopped in /data/src/etc
> #
>

My way to slove this problem:
=============================

/usr/src/build.sh -O ${ur obj} -T ${ur tools} -U -u _s_e_t_s

# MKDIR /tmp/temproot
# cd /tmp/temproot
# tar xpzf ${ur obj}/releasedir/${MACHINE}/binary/etc.tgz
# etcupdate -b /tmp/temproot