Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 49315 Details for
Bug 59847
rt2500: modprobe gets killed when inserting rt2500 to kernel
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
New version available!!! (1.1.0-b1)
rt2500-1.1.0_beta1.ebuild (text/plain), 2.20 KB, created by
Harold Aling
on 2005-01-23 11:55:41 UTC
(
hide
)
Description:
New version available!!! (1.1.0-b1)
Filename:
MIME Type:
Creator:
Harold Aling
Created:
2005-01-23 11:55:41 UTC
Size:
2.20 KB
patch
obsolete
># Copyright 1999-2004 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: $ > >inherit kernel-mod eutils > > >DESCRIPTION="Driver and Utilities for RaLink RT2500 wireless chipsets" >HOMEPAGE="http://www.ralinktech.com" > >MY_P="$PN-1.1.0-b1" > >SRC_URI="http://rt2x00.serialmonkey.com/${MY_P}.tar.gz" > >LICENSE="GPL-2" >SLOT="0" >KEYWORDS="x86" >RESTRICT="nomirror" >IUSE="" > >DEPEND="virtual/kernel > virtual/x11 > qt" >RDEPEND="" > >S=${WORKDIR}/${MY_P} > >src_unpack() { > check_KV > kernel-mod_getversion > > unpack ${A} > einfo "Copying the approciate Makefile to work dir..." > if [[ "${KV_MINOR}" = "6" ]] ; then > cp -v ${S}/Module/2.6.x/Makefile ${S}/Module/ > elif [[ "${KV_MINOR}" = "4" ]] ; then > cp -v ${S}/Module/2.4.x/Makefile ${S}/Module/ > fi ># epatch ${FILESDIR}/rt2500-1.4.4.0-spin-lock.patch >} > >src_compile() { > unset ARCH > #Here follows a workaround for the .qtrc write error, found on : > #http://forums.gentoo.org/viewtopic.php?t=18733&highlight=qtrc+lock > REALHOME="$HOME" > mkdir -p ${T}/fakehome/.kde > mkdir -p ${T}/fakehome/.qt > export HOME="${T}/fakehome" > addwrite "${QTDIR}/etc/settings" > > #make the utility > cd ${S}/Utilitys > qmake -o Makefile raconfig2500.pro > make clean > emake || die > > #make the module > cd ${S}/Module > make clean > > if [[ ${KV_MINOR} = "6" ]] ; then > emake -C /usr/src/linux SUBDIRS=${S}/Module modules || die > else #this has to be 2.4, as otherwise we wont be here > chmod +x ./Configure > emake all || die > fi > > export HOME="$REALHOME" #do we need this? >} > >src_install() { > # Install the kernel module and the docs provided from ralink > if [[ ${KV_MINOR} = "6" ]] ; then > KV_OBJ="ko" > else > KV_OBJ="o" > fi > > dodoc ${S}/Module/README ${S}/Module/ReleaseNote > > insinto /lib/modules/${KV}/net > doins ${S}/Module/rt2500.${KV_OBJ} || die > > # Install the configuration software > dobin ${S}/Utilitys/RaConfig2500 >} > >pkg_postinst() { > if [[ ${KV_MINOR} = "6" ]] ; then > KV_OBJ="ko" > else > KV_OBJ="o" > fi > einfo "Checking kernel module dependencies" > test -r "${ROOT}/usr/src/linux/System.map" && depmod -ae -F "${ROOT}/usr/src/linux/System.map" -b "${ROOT}" -r ${KV} >} >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 59847
:
37118
| 49315