Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: x86_64--netbsd-install: MAKEDEV: stat: No such file or directory



On Wed, 22 Oct 2008, Mecislav Salar wrote:
> > Do you ever run postinstall or etcupdate in a mode that allows them to
> > use the source directiory instead of etc.tgz?
>
> i run etcupdate on it own and postinstall after when etcupdate fail. i
> do have to make /usr/src re writeble

OK.  etcupdate runs "make distribution" in the etc directory, but
it doesnt' know about obj dirs, so it ends up creating MAKEDEV in the source
directory.  It's also supposed to run "make clean", but there was a bug
involving quotation marks in the wrong place, as can be seen in your error
message:

> *** Cleaning up in /usr/src/etc
> /usr/sbin/etcupdate: eval
> NETBSDSRCDIR='/usr/src'                 DESTDIR='/tmp/temproot'
>          MAKE=make                               MTREE=mtree
>                   TOOL_MTREE=mtree
> INSTALL_DONE=1                          BUILD=1
>          USETOOLS=never make clean > /dev/null: not found

I have just fixed that bug in etcupdate, so it should now be better
at cleaning up after itself.

--apb (Alan Barrett)


Home | Main Index | Thread Index | Old Index