[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
postinstall bug in mtree check?
Hello, NetBSD Users.
I just built on and for amd64 from the netbsd-6 CVS branch source and
installed and ran a postinstall check of the mtree item and got an
unexpected difference. The output is below. Looking at the postinstall
source, I'm thinking (but haven't confirmed) the problem is that make is
echoing to stdout the command executed for the emit_dist_file target,
and that is getting erroneously captured when postinstall invokes it
and redirects stdout to create the expected NetBSD.dist mtree file thus
causing the expected and actual files to differ.
# postinstall -s '/usr/src' -d / diff -u mtree
Source directory: /usr/src
Target directory: /
/tmp/_postinstall.3630.0/NetBSD.dist != /etc/mtree/NetBSD.dist
--- /etc/mtree/NetBSD.dist 2014-09-23 16:01:14.000000000 -0500
+++ /tmp/_postinstall.3630.0/NetBSD.dist 2014-09-24 15:21:59.000000000 -0500
@@ -1,3 +1,4 @@
+cat /usr/src/etc/mtree/NetBSD.dist.base /usr/src/etc/mtree/NetBSD.dist.x86_64 /usr/src/etc/mtree/NetBSD.dist.tests
# $NetBSD: NetBSD.dist.base,v 188.8.131.52 2012/11/18 22:38:37 riz Exp $
# @(#)4.4BSD.dist 8.1 (Berkeley) 6/13/93
postinstall checks passed:
postinstall checks failed: mtree
To fix, run:
sh /usr/sbin/postinstall -s '/usr/src' -d / fix mtree
Note that this may overwrite local changes.
Main Index |
Thread Index |