Source-Changes-HG archive

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

[src/netbsd-6]: src/usr.sbin/postinstall Pull up following revision(s) (reque...



details:   https://anonhg.NetBSD.org/src/rev/6f65095ea8bb
branches:  netbsd-6
changeset: 773843:6f65095ea8bb
user:      riz <riz%NetBSD.org@localhost>
date:      Mon Feb 27 20:28:19 2012 +0000

description:
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.

diffstat:

 usr.sbin/postinstall/postinstall |  6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diffs (22 lines):

diff -r a1cb96a36534 -r 6f65095ea8bb usr.sbin/postinstall/postinstall
--- a/usr.sbin/postinstall/postinstall  Mon Feb 27 20:25:33 2012 +0000
+++ b/usr.sbin/postinstall/postinstall  Mon Feb 27 20:28:19 2012 +0000
@@ -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 @@
        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



Home | Main Index | Thread Index | Old Index