Populate /etc/atf with any missing files. Fixes PR bin/45870.
This commit is contained in:
parent
e9d4b22f91
commit
7e5c66f341
@ -1,6 +1,6 @@
|
||||
#!/bin/sh
|
||||
#
|
||||
# $NetBSD: postinstall,v 1.134 2012/02/22 16:42:07 apb Exp $
|
||||
# $NetBSD: postinstall,v 1.135 2012/02/27 17:56:14 jmmv Exp $
|
||||
#
|
||||
# Copyright (c) 2002-2008 The NetBSD Foundation, Inc.
|
||||
# All rights reserved.
|
||||
@ -1605,6 +1605,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
|
||||
|
Loading…
Reference in New Issue
Block a user