On Friday 2010-04-23 19:21 +0000, David Young output:
:Module Name:   src
:Committed By:  dyoung
:Date:          Fri Apr 23 19:21:08 UTC 2010
:
:Modified Files:
:       src/etc/mtree: Makefile
:       src/usr.sbin/postinstall: postinstall
:
:Log Message:
:Do not try in postinstall(8) to replicate the code in etc/mtree/Makefile
:that assembles /etc/mtree/NetBSD.dist.  Instead, use the Makefile's
:new target, emit_dist_file, to assemble the correct NetBSD.dist.
:
:Previously, 'postinstall -m amd64 -s $SRC_TOP' would install a
:NetBSD.dist that was missing /usr/lib/i386/ et cetera.

This presumes that every system where you wish to run "postinstall" has
access and availability to their system's tooldir "nbcat".  If you use
the "build.sh" system with the "-T" option instead of using /etc/mk.conf
then it fails.  It's also annoying for updating multiple hosts with
network mounted sources.

Regards,
Geoff

Reply via email to