summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2006-09-01 07:36:03 +0000
committerMike Frysinger <vapier@gentoo.org>2006-09-01 07:36:03 +0000
commit79d30a3bb1a9a06cd54528545c0a87ea6633c8b7 (patch)
tree111f498a01fa2e889e6adbc4ee6b24572f331f65
parentAdded -r1 to ensure everyone got their plugins, thanks truedfx. (diff)
downloadgentoo-2-79d30a3bb1a9a06cd54528545c0a87ea6633c8b7.tar.gz
gentoo-2-79d30a3bb1a9a06cd54528545c0a87ea6633c8b7.tar.bz2
gentoo-2-79d30a3bb1a9a06cd54528545c0a87ea6633c8b7.zip
delay ROOT check
(Portage version: 2.1.1_rc1-r2)
-rw-r--r--sys-apps/netboot-base/files/digest-netboot-base-200410072
-rw-r--r--sys-apps/netboot-base/files/digest-netboot-base-200501102
-rw-r--r--sys-apps/netboot-base/netboot-base-20050110.ebuild13
3 files changed, 12 insertions, 5 deletions
diff --git a/sys-apps/netboot-base/files/digest-netboot-base-20041007 b/sys-apps/netboot-base/files/digest-netboot-base-20041007
index 8c0db336e022..001ba8f8b010 100644
--- a/sys-apps/netboot-base/files/digest-netboot-base-20041007
+++ b/sys-apps/netboot-base/files/digest-netboot-base-20041007
@@ -1 +1,3 @@
MD5 6d6db089a97ba3fc8c37624398829dda netboot-base-20041007.tar.bz2 4171
+RMD160 df844b3f35b692b41adcde051c334d082168a835 netboot-base-20041007.tar.bz2 4171
+SHA256 dfc7b2acbdc76fb063ad5051e2c8b2f6f5425c9095511c15012b4895c1a321cf netboot-base-20041007.tar.bz2 4171
diff --git a/sys-apps/netboot-base/files/digest-netboot-base-20050110 b/sys-apps/netboot-base/files/digest-netboot-base-20050110
index 58dd3ae64270..a681bd587ee4 100644
--- a/sys-apps/netboot-base/files/digest-netboot-base-20050110
+++ b/sys-apps/netboot-base/files/digest-netboot-base-20050110
@@ -1 +1,3 @@
MD5 c652d65b218f1e61cf1ee1aafe7f9c72 netboot-base-20050110.tar.bz2 4313
+RMD160 1dd44d31d8315c25c0b6545a54dbcd270583fb8e netboot-base-20050110.tar.bz2 4313
+SHA256 0b756d457c6ac705548b903a30685860f3403f7389f6325f0460b7603d9d9bf8 netboot-base-20050110.tar.bz2 4313
diff --git a/sys-apps/netboot-base/netboot-base-20050110.ebuild b/sys-apps/netboot-base/netboot-base-20050110.ebuild
index f59a1f82714c..cae3fab473d6 100644
--- a/sys-apps/netboot-base/netboot-base-20050110.ebuild
+++ b/sys-apps/netboot-base/netboot-base-20050110.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2005 Gentoo Foundation
+# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/netboot-base/netboot-base-20050110.ebuild,v 1.1 2005/01/10 23:40:02 gmsoft Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/netboot-base/netboot-base-20050110.ebuild,v 1.2 2006/09/01 07:36:03 vapier Exp $
inherit toolchain-funcs
@@ -11,7 +11,7 @@ SRC_URI="http://dev.gentoo.org/~vapier/${P}.tar.bz2
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="alpha arm hppa mips ppc sparc x86"
+KEYWORDS="alpha arm hppa mips ppc sh sparc x86"
IUSE=""
DEPEND=""
@@ -28,9 +28,12 @@ src_compile() {
}
src_install() {
- [[ ${ROOT} = "/" ]] && die "refusing to install to /"
rm -r src
- cp -r * ${D}/
+ cp -r * "${D}"/ || die
+}
+
+pkg_preinst() {
+ [[ ${ROOT} = "/" ]] && die "refusing to install to /"
}
pkg_postinst() {