summaryrefslogtreecommitdiff
path: root/eclass
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
commitdb3a43129a7af239579ee67a99485a85ec185454 (patch)
tree93fb72cde71f3ff1d90c1b4af56195f82c6a670b /eclass
parentadd cramfs ebuild (diff)
downloadhistorical-db3a43129a7af239579ee67a99485a85ec185454.tar.gz
historical-db3a43129a7af239579ee67a99485a85ec185454.tar.bz2
historical-db3a43129a7af239579ee67a99485a85ec185454.zip
make work with jrray's fakeroot stuff
Diffstat (limited to '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