Subject: misc/17275: postinstall checks install, rather than full build
To: None <>
From: None <>
List: netbsd-bugs
Date: 06/16/2002 18:21:39
>Number:         17275
>Category:       misc
>Synopsis:       postinstall runs without populated ${DESTDIR}/etc
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    misc-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Jun 15 23:22:00 PDT 2002
>Originator:     Gregory McGarry
>Release:        NetBSD 1.6

NetBSDi/i386 1.6 host, sparc target


Cross-build NetBSD/sparc 1.6 on i386 host with the following:
(uses /etc/mk.conf)

$ sh ./ -T /storage/tools -m sparc

and see these:

   === Post installation checks ===
sh /storage/netbsd/netbsd-1.6/src/etc/postinstall -s /storage/netbsd/netbsd-1.6/src -d /storage/scratch/netbsd/bin/netbsd-1.6/sparc/ check
Source directory: /storage/netbsd/netbsd-1.6/src
Target directory: /storage/scratch/netbsd/bin/netbsd-1.6/sparc/
defaults check:
	/storage/scratch/netbsd/bin/netbsd-1.6/sparc//etc/defaults/daily.conf does not exist

That's because I haven't done a make snapshot/release yet...


As above.


Only do the check if a full snapshot/release is being built.
Or perhaps, only if DESTDIR=/ ?