diff options
author | Henrik Brix Andersen <brix@gentoo.org> | 2005-08-31 14:39:04 +0000 |
---|---|---|
committer | Henrik Brix Andersen <brix@gentoo.org> | 2005-08-31 14:39:04 +0000 |
commit | 0468f2be306d008963069afaa6f802abea8dc947 (patch) | |
tree | 322ec6e8444d28b2f3a903063f8ddce5c104e37b /eclass | |
parent | memcache ppc support (diff) | |
download | gentoo-2-0468f2be306d008963069afaa6f802abea8dc947.tar.gz gentoo-2-0468f2be306d008963069afaa6f802abea8dc947.tar.bz2 gentoo-2-0468f2be306d008963069afaa6f802abea8dc947.zip |
Do not run 'make mrproper' in pkg_prerm() since it causes too much confusion, bug #101426.
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/kernel-2.eclass | 21 |
1 files changed, 2 insertions, 19 deletions
diff --git a/eclass/kernel-2.eclass b/eclass/kernel-2.eclass index 81822507878c..c6dd2d28cd17 100644 --- a/eclass/kernel-2.eclass +++ b/eclass/kernel-2.eclass @@ -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/eclass/kernel-2.eclass,v 1.142 2005/08/23 14:55:11 swegener Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/kernel-2.eclass,v 1.143 2005/08/31 14:39:04 brix Exp $ # Description: kernel.eclass rewrite for a clean base regarding the 2.6 # series of kernel with back-compatibility for 2.4 @@ -57,7 +57,7 @@ inherit toolchain-funcs versionator multilib EXPORT_FUNCTIONS pkg_setup src_unpack src_compile src_install \ - pkg_preinst pkg_postinst pkg_prerm + pkg_preinst pkg_postinst # Added by Daniel Ostrow <dostrow@gentoo.org> # This is an ugly hack to get around an issue with a 32-bit userland on ppc64. @@ -950,20 +950,3 @@ kernel-2_pkg_setup() { [[ ${ETYPE} == headers ]] && setup_headers [[ ${ETYPE} == sources ]] && echo ">>> Preparing to unpack ..." } - -kernel-2_pkg_prerm() { - local KV_DIR=${ROOT}/usr/src/linux-${KV_FULL} - - if [[ ${ETYPE} == sources ]]; then - # if we have a config for it then we should act on it. - if [[ -f ${KV_DIR}/.config ]]; then - gzip -c ${KV_DIR}/.config > ${KV_DIR}.config.gz - fi - - # have kbuild clean up for us. - if [[ -f ${KV_DIR}/include/linux/version.h ]]; then - ARCH=$(tc-arch-kernel) - make -C ${KV_DIR} mrproper - fi - fi -} |