Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#20401 - customizing kernel -> fglrx module cannot be build

Attached to Project: Arch Linux
Opened by David (davidbe) - Saturday, 07 August 2010, 11:00 GMT
Last edited by Ionut Biru (wonder) - Saturday, 07 August 2010, 11:18 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
When customizing kernel the preferred way (http://wiki.archlinux.org/index.php/Kernel_Customization_with_kernel26_Package), the fglrx cannot be compiled with catalyst_build_module.

Steps to reproduce:
1/ Customize a kernel
http://wiki.archlinux.org/index.php/Kernel_Customization_with_kernel26_Package
2/ Build new fglrx module with:
catalyst_build_module <name of new kernel>

Problem:
catalyst_build_module seems to need the build directory of the kernel.

Cf. the stock-kernel: /lib/modules/2.6.34-ARCH contains a link build:
build -> ../../../usr/src/linux-2.6.34-ARCH
In /lib/modules/2.6.34-mykernel, the build-link is removed.

In the PKGBUILD of kernel26, there's a line that removes the build and source links from /lib/modules/2.6.34-mykernel:

# remove build and source links
rm -f ${pkgdir}/lib/modules/${_kernver}/{source,build}

I commented the removal. The links still exists and point to my home-directory. When I'm logged in, I can compile the fglrx.ko-module for that kernel.


My problem is solved, but:
1/ Is this the best way?
2/ Should this be documented?
3/ Are there similar cases, or is this only the case for fglrx?
This task depends upon

Closed by  Ionut Biru (wonder)
Saturday, 07 August 2010, 11:18 GMT
Reason for closing:  Not a bug
Additional comments about closing:  we don't support catalyst and customized packages like your kernel

Loading...