# Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ DESCRIPTION="Stable kernel pre-release wifi subsystem backport" HOMEPAGE="http://wireless.kernel.org/en/users/Download/stable" MY_P=${P/_rc/-rc} SRC_URI="http://www.orbit-lab.org/kernel/compat-wireless-2.6-stable/v2.6.30/${MY_P}.tar.bz2" inherit linux-mod #This doesn't seem to work because it doesn't cry about athload being a blocker PROVIDES="net-wireless/athload" DEPENDS="!net-wireless/athload" #this concern is secondary to the morbid sandbox violations LICENSE="GPL-2" SLOT="0" KEYWORDS="amd64 x86" IUSE="kernel_linux" S=${WORKDIR}/${MY_P} BUILD_TARGETS="all" MODULE_NAMES="${PN}(:${S}:${S})" #MODULESD_COMPAT-WIRELESS_DOCS="README" #pkg_setup() { # linux-mod_pkg_setup #} src_compile() { # epatch "${FILESDIR}"/whynot.patch addpredict "${KERNEL_DIR}" addpredict /lib/modules/"${KV_FULL}" emake || die "emake failed" # linux-mod_src_compile } src_install() { addpredict "${KERNEL_DIR}" addpredict /lib/modules/"${KV_FULL}" emake DESTDIR="${D}" install || die "install failed" # linux-mod_src_install dodoc README || die } ------------------------------------------------------------------------- LD [M] /var/tmp/portage/net-wireless/compat-wireless-2.6.30_rc6/work/compat-wireless-2.6.30-rc6/net/wireless/lib80211_crypt_wep.ko make[1]: Leaving directory `/usr/src/linux-2.6.28-pentoo-r5' >>> Source compiled. >>> Test phase [not enabled]: net-wireless/compat-wireless-2.6.30_rc6 >>> Install compat-wireless-2.6.30_rc6 into /var/tmp/portage/net-wireless/compat-wireless-2.6.30_rc6/image/ category net-wireless make -j2 DESTDIR=/var/tmp/portage/net-wireless/compat-wireless-2.6.30_rc6/image/ install FATAL: Could not open /lib/modules/2.6.28-pentoo-r5/modules.dep.temp for writing: Permission denied make: *** [uninstall] Error 1 ^[[31;01m*^[[0m ^[[31;01m*^[[0m ERROR: net-wireless/compat-wireless-2.6.30_rc6 failed. ^[[31;01m*^[[0m Call stack: ^[[31;01m*^[[0m ebuild.sh, line 48: Called src_install ^[[31;01m*^[[0m environment, line 3228: Called die ^[[31;01m*^[[0m The specific snippet of code: ^[[31;01m*^[[0m emake DESTDIR="${D}" install || die "install failed"; ^[[31;01m*^[[0m The die message: ^[[31;01m*^[[0m install failed ^[[31;01m*^[[0m ^[[31;01m*^[[0m If you need support, post the topmost build error, and the call stack if relevant. ^[[31;01m*^[[0m A complete build log is located at '/var/tmp/portage/net-wireless/compat-wireless-2.6.30_rc6/temp/build.log'. ^[[31;01m*^[[0m The ebuild environment file is located at '/var/tmp/portage/net-wireless/compat-wireless-2.6.30_rc6/temp/environment'. ^[[31;01m*^[[0m This ebuild is from an overlay: '/usr/src/pentoo/portage/trunk/' ^[[31;01m*^[[0m