diff options
author | Ned Ludd <solar@gentoo.org> | 2006-07-13 23:42:05 +0000 |
---|---|---|
committer | Ned Ludd <solar@gentoo.org> | 2006-07-13 23:42:05 +0000 |
commit | f7816b5bf3d9e2103272473c45b01a08680b8ffd (patch) | |
tree | 2069d1b6237c02acb0e0c6c709af785310a80ed0 /app-portage | |
parent | Stable on SPARC wrt bug #140234. (diff) | |
download | gentoo-2-f7816b5bf3d9e2103272473c45b01a08680b8ffd.tar.gz gentoo-2-f7816b5bf3d9e2103272473c45b01a08680b8ffd.tar.bz2 gentoo-2-f7816b5bf3d9e2103272473c45b01a08680b8ffd.zip |
- work around accessing filesdir when buildpkg is enabled
(Portage version: 2.1-r1)
Diffstat (limited to 'app-portage')
-rw-r--r-- | app-portage/portage-utils/ChangeLog | 7 | ||||
-rw-r--r-- | app-portage/portage-utils/portage-utils-0.1.19.ebuild | 19 |
2 files changed, 23 insertions, 3 deletions
diff --git a/app-portage/portage-utils/ChangeLog b/app-portage/portage-utils/ChangeLog index 5f9e21a77a0b..baa106db5ba0 100644 --- a/app-portage/portage-utils/ChangeLog +++ b/app-portage/portage-utils/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for app-portage/portage-utils # Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-portage/portage-utils/ChangeLog,v 1.52 2006/07/09 20:12:57 solar Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-portage/portage-utils/ChangeLog,v 1.53 2006/07/13 23:42:05 solar Exp $ + + 13 Jul 2006; <solar@gentoo.org> + -files/portage-utils-0.1.17-bug133514.patch, -files/post_sync, + portage-utils-0.1.19.ebuild: + - work around accessing filesdir when buildpkg is enabled *portage-utils-0.1.19 (09 Jul 2006) diff --git a/app-portage/portage-utils/portage-utils-0.1.19.ebuild b/app-portage/portage-utils/portage-utils-0.1.19.ebuild index 1890ed21724e..4cbfbacf36b8 100644 --- a/app-portage/portage-utils/portage-utils-0.1.19.ebuild +++ b/app-portage/portage-utils/portage-utils-0.1.19.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/app-portage/portage-utils/portage-utils-0.1.19.ebuild,v 1.1 2006/07/09 20:12:57 solar Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-portage/portage-utils/portage-utils-0.1.19.ebuild,v 1.2 2006/07/13 23:42:05 solar Exp $ inherit toolchain-funcs @@ -32,7 +32,22 @@ src_install() { pkg_postinst() { [ -e ${ROOT}/etc/portage/bin/post_sync ] && return 0 mkdir -p ${ROOT}/etc/portage/bin/ - cp "${FILESDIR}"/post_sync ${ROOT}/etc/portage/bin/ + +cat <<__EOF__ > ${ROOT}/etc/portage/bin/post_sync +#!/bin/sh +# Copyright 2006-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +if [ -d /etc/portage/postsync.d/ ]; then + for f in /etc/portage/postsync.d/* ; do + if [ -x \${f} ] ; then + \${f} + fi + done +else + : +fi +__EOF__ chmod 755 ${ROOT}/etc/portage/bin/post_sync if [ ! -e ${ROOT}/etc/portage/postsync.d/q-reinitialize ]; then mkdir -p ${ROOT}/etc/portage/postsync.d/ |