Module Name:    src
Committed By:   riz
Date:           Mon Feb 27 20:28:19 UTC 2012

Modified Files:
        src/usr.sbin/postinstall [netbsd-6]: postinstall

Log Message:
Pull up following revision(s) (requested by jmmv in ticket #59):
        usr.sbin/postinstall/postinstall: revision 1.135
Populate /etc/atf with any missing files.  Fixes PR bin/45870.


To generate a diff of this commit:
cvs rdiff -u -r1.129.2.4 -r1.129.2.5 src/usr.sbin/postinstall/postinstall

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/usr.sbin/postinstall/postinstall
diff -u src/usr.sbin/postinstall/postinstall:1.129.2.4 src/usr.sbin/postinstall/postinstall:1.129.2.5
--- src/usr.sbin/postinstall/postinstall:1.129.2.4	Fri Feb 24 06:12:57 2012
+++ src/usr.sbin/postinstall/postinstall	Mon Feb 27 20:28:19 2012
@@ -1,6 +1,6 @@
 #!/bin/sh
 #
-# $NetBSD: postinstall,v 1.129.2.4 2012/02/24 06:12:57 riz Exp $
+# $NetBSD: postinstall,v 1.129.2.5 2012/02/27 20:28:19 riz Exp $
 #
 # Copyright (c) 2002-2008 The NetBSD Foundation, Inc.
 # All rights reserved.
@@ -1602,6 +1602,10 @@ do_atf()
 	op="$1"
 	failed=0
 
+	populate_dir "${op}" true \
+		"${SRC_DIR}/etc/atf" "${DEST_DIR}/etc/atf" 644 \
+		NetBSD.conf atf-run.hooks common.conf
+
 	if grep '[^#]*unprivileged-user[ \t]*=.*_atf' ${DEST_DIR}/etc/atf/common.conf \
 	    >/dev/null
 	then

Reply via email to