diff options
author | Luca Barbato <lu_zero@gentoo.org> | 2003-12-14 22:45:49 +0000 |
---|---|---|
committer | Luca Barbato <lu_zero@gentoo.org> | 2003-12-14 22:45:49 +0000 |
commit | 40969665ca665e578e31d8e23b8c7ed450470190 (patch) | |
tree | 1a280d1dff00be08375ba85b34e2f4c2ba4ab5e0 /eclass | |
parent | QA: fixing chown user.group to user:group, bug #35127 (diff) | |
download | historical-40969665ca665e578e31d8e23b8c7ed450470190.tar.gz historical-40969665ca665e578e31d8e23b8c7ed450470190.tar.bz2 historical-40969665ca665e578e31d8e23b8c7ed450470190.zip |
ppc related workaround
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/kernel.eclass | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/eclass/kernel.eclass b/eclass/kernel.eclass index 482bd8e2e651..03c64f782bda 100644 --- a/eclass/kernel.eclass +++ b/eclass/kernel.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2003 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/kernel.eclass,v 1.43 2003/12/01 19:09:35 plasmaroo Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/kernel.eclass,v 1.44 2003/12/14 22:45:49 lu_zero Exp $ # # This eclass contains the common functions to be used by all lostlogic # based kernel ebuilds @@ -177,7 +177,12 @@ kernel_pkg_postinst() { if [ ! -e ${ROOT}usr/src/linux ] then rm -f ${ROOT}usr/src/linux + if [ "`use ppc`" ] + then + ln -sf ${PF} ${ROOT}/usr/src/linux + else ln -sf linux-${KV} ${ROOT}/usr/src/linux + fi fi echo |