diff options
author | 2008-04-17 17:42:18 +0000 | |
---|---|---|
committer | 2008-04-17 17:42:18 +0000 | |
commit | cec56724680565fc79cbdff714c08818ba281591 (patch) | |
tree | 6c75c319f0d2b1be6649a1a9a3a36dcd22e1fe3d /sys-apps/baselayout/baselayout-2.0.0.ebuild | |
parent | Stable on ppc wrt bug 217467 (diff) | |
download | historical-cec56724680565fc79cbdff714c08818ba281591.tar.gz historical-cec56724680565fc79cbdff714c08818ba281591.tar.bz2 historical-cec56724680565fc79cbdff714c08818ba281591.zip |
Bug #217848 - Since the remap_dns_vars() called by pkg_preinst() of the
baselayout-1.x ebuild copies all the real configs from the user's
/etc/conf.d into ${D}, it makes them all appear to be the default
versions. In order to protect them from being unmerged after this upgrade,
modify their timestamps during pkg_preinst().
Package-Manager: portage-2.1.5_rc4_p9919
Diffstat (limited to 'sys-apps/baselayout/baselayout-2.0.0.ebuild')
-rw-r--r-- | sys-apps/baselayout/baselayout-2.0.0.ebuild | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/sys-apps/baselayout/baselayout-2.0.0.ebuild b/sys-apps/baselayout/baselayout-2.0.0.ebuild index 0e048e0f6a73..92084b9338e6 100644 --- a/sys-apps/baselayout/baselayout-2.0.0.ebuild +++ b/sys-apps/baselayout/baselayout-2.0.0.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/baselayout/baselayout-2.0.0.ebuild,v 1.2 2008/04/08 01:31:19 dirtyepic Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/baselayout/baselayout-2.0.0.ebuild,v 1.3 2008/04/17 17:42:18 zmedico Exp $ inherit multilib @@ -17,6 +17,13 @@ IUSE="build" PDEPEND="sys-apps/openrc" pkg_preinst() { + # Bug #217848 - Since the remap_dns_vars() called by pkg_preinst() of + # the baselayout-1.x ebuild copies all the real configs from the user's + # /etc/conf.d into ${D}, it makes them all appear to be the default + # versions. In order to protect them from being unmerged after this + # upgrade, modify their timestamps. + touch "${ROOT}"/etc/conf.d/* 2>/dev/null + # We need to install directories and maybe some dev nodes when building # stages, but they cannot be in CONTENTS. # Also, we cannot reference $S as binpkg will break so we do this. |