summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2005-07-10 18:03:42 +0000
committerMike Frysinger <vapier@gentoo.org>2005-07-10 18:03:42 +0000
commitde31a8d297ddc4a8540829da0d8ee8b98e74ca82 (patch)
tree1b1f708bacc938b588728d9b5959392a0beaaa22
parentStable on x86. (diff)
downloadgentoo-2-de31a8d297ddc4a8540829da0d8ee8b98e74ca82.tar.gz
gentoo-2-de31a8d297ddc4a8540829da0d8ee8b98e74ca82.tar.bz2
gentoo-2-de31a8d297ddc4a8540829da0d8ee8b98e74ca82.zip
copy inittab to $WORKDIR and install from there
(Portage version: 2.0.51.22-r1)
-rw-r--r--sys-apps/sysvinit/sysvinit-2.86.ebuild5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys-apps/sysvinit/sysvinit-2.86.ebuild b/sys-apps/sysvinit/sysvinit-2.86.ebuild
index 586c1263bfc6..0c7ecff75a5f 100644
--- a/sys-apps/sysvinit/sysvinit-2.86.ebuild
+++ b/sys-apps/sysvinit/sysvinit-2.86.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/sysvinit/sysvinit-2.86.ebuild,v 1.10 2005/06/11 00:01:48 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/sysvinit/sysvinit-2.86.ebuild,v 1.11 2005/07/10 18:03:42 vapier Exp $
inherit eutils toolchain-funcs flag-o-matic
@@ -28,6 +28,7 @@ src_unpack() {
cd src
epatch "${FILESDIR}"/${PV}-gentoo.patch
use selinux && epatch "${FILESDIR}"/${PV}-selinux.patch
+ cp "${FILESDIR}"/inittab "${WORKDIR}"/ || die "cp inittab"
}
src_compile() {
@@ -55,7 +56,7 @@ src_install() {
make install DISTRO="Gentoo" ROOT="${D}" || die "make install"
insinto /etc
- doins "${FILESDIR}"/inittab || die "inittab"
+ doins "${WORKDIR}"/inittab || die "inittab"
}
pkg_postinst() {