summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2006-04-23 07:19:38 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2006-04-23 07:19:38 +0000
commit0aa7c22b76371f02b4a9b34c592dc4683f1818ca (patch)
tree2f74370c797ec3960a9c7e71a94b3f3a46fde2bf /sys-freebsd/freebsd-baselayout
parentpush out accumulated patches (diff)
downloadgentoo-2-0aa7c22b76371f02b4a9b34c592dc4683f1818ca.tar.gz
gentoo-2-0aa7c22b76371f02b4a9b34c592dc4683f1818ca.tar.bz2
gentoo-2-0aa7c22b76371f02b4a9b34c592dc4683f1818ca.zip
Run pwdb_mkdb on $ROOT when natively building for FreeBSD.
(Portage version: 2.1_pre7-r5)
Diffstat (limited to 'sys-freebsd/freebsd-baselayout')
-rw-r--r--sys-freebsd/freebsd-baselayout/ChangeLog6
-rw-r--r--sys-freebsd/freebsd-baselayout/freebsd-baselayout-20060420.ebuild6
2 files changed, 10 insertions, 2 deletions
diff --git a/sys-freebsd/freebsd-baselayout/ChangeLog b/sys-freebsd/freebsd-baselayout/ChangeLog
index 3cc3b5fb2345..00234e1035de 100644
--- a/sys-freebsd/freebsd-baselayout/ChangeLog
+++ b/sys-freebsd/freebsd-baselayout/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for sys-freebsd/freebsd-baselayout
# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/freebsd-baselayout/ChangeLog,v 1.8 2006/04/20 08:13:19 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/freebsd-baselayout/ChangeLog,v 1.9 2006/04/23 07:19:38 flameeyes Exp $
+
+ 23 Apr 2006; Diego Pettenò <flameeyes@gentoo.org>
+ freebsd-baselayout-20060420.ebuild:
+ Run pwdb_mkdb on $ROOT when natively building for FreeBSD.
*freebsd-baselayout-20060420 (20 Apr 2006)
diff --git a/sys-freebsd/freebsd-baselayout/freebsd-baselayout-20060420.ebuild b/sys-freebsd/freebsd-baselayout/freebsd-baselayout-20060420.ebuild
index a2dda7bf387f..c700f93b100a 100644
--- a/sys-freebsd/freebsd-baselayout/freebsd-baselayout-20060420.ebuild
+++ b/sys-freebsd/freebsd-baselayout/freebsd-baselayout-20060420.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/freebsd-baselayout/freebsd-baselayout-20060420.ebuild,v 1.1 2006/04/20 08:13:19 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/freebsd-baselayout/freebsd-baselayout-20060420.ebuild,v 1.2 2006/04/23 07:19:38 flameeyes Exp $
inherit flag-o-matic eutils toolchain-funcs multilib autotools
@@ -544,6 +544,10 @@ pkg_postinst() {
fi
done
+ if [[ ${CHOST} == ${CBUILD} && ${CHOST} == *-freebsd* ]]; then
+ pwdb_mkdb -d ${ROOT}/etc ${ROOT}/etc/master.passwd
+ fi
+
# Under what circumstances would mtab be a symlink? It would be
# nice if there were an explanatory comment here
if use kernel_linux && [[ -L ${ROOT}/etc/mtab ]]; then