summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrandon Low <lostlogic@gentoo.org>2002-10-26 12:36:53 +0000
committerBrandon Low <lostlogic@gentoo.org>2002-10-26 12:36:53 +0000
commit3d0f36cc6f19350b52cbf4930d924c21c1fbc060 (patch)
tree4fb4b48081b893892e3f25205a4c81f79c472d0a /eclass/kernel.eclass
parentadd cramfs ebuild (diff)
downloadgentoo-2-3d0f36cc6f19350b52cbf4930d924c21c1fbc060.tar.gz
gentoo-2-3d0f36cc6f19350b52cbf4930d924c21c1fbc060.tar.bz2
gentoo-2-3d0f36cc6f19350b52cbf4930d924c21c1fbc060.zip
make work with jrray's fakeroot stuff
Diffstat (limited to 'eclass/kernel.eclass')
-rw-r--r--eclass/kernel.eclass13
1 files changed, 7 insertions, 6 deletions
diff --git a/eclass/kernel.eclass b/eclass/kernel.eclass
index e30c4084bb1b..998c79288c74 100644
--- a/eclass/kernel.eclass
+++ b/eclass/kernel.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/kernel.eclass,v 1.11 2002/10/25 21:37:54 lostlogic Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/kernel.eclass,v 1.12 2002/10/26 12:36:53 lostlogic Exp $
# This eclass contains the common functions to be used by all lostlogic
# based kernel ebuilds
@@ -46,11 +46,6 @@ kernel_universal_unpack() {
find . -iname "*~" | xargs rm 2> /dev/null
- #fix silly permissions in tarball
- cd ${WORKDIR}
- chown -R 0.0 *
- chmod -R a+r-w+X,u+w *
-
# Gentoo Linux uses /boot, so fix 'make install' to work properly
# also fix the EXTRAVERSION
cd ${S}
@@ -87,6 +82,12 @@ kernel_src_compile() {
}
kernel_src_install() {
+ #fix silly permissions in tarball
+ cd ${WORKDIR}
+ chown -R root:root *
+ chmod -R a+r-w+X,u+w *
+
+ cd ${S}
if [ "$ETYPE" = "sources" ]
then
dodir /usr/src