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#46200 - core/linux: makebuild fails if compiling without dvb

Attached to Project: Arch Linux
Opened by Jaroslav Škarvada (yarda) - Friday, 04 September 2015, 15:58 GMT
Last edited by Tobias Powalowski (tpowa) - Monday, 07 September 2015, 14:27 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:
Deselected dvb in kernel config and tried to compile custom kernel, the following error occurred:

package_linux-geode-headers()...
cp: cannot stat 'include/config/dvb/*.h': No such file or directory

I used the following workaround in PKGBUILD:
- cp include/config/dvb/*.h "${pkgdir}/usr/lib/modules/${_kernver}/build/include/config/dvb/"
+ cp include/config/dvb/*.h "${pkgdir}/usr/lib/modules/${_kernver}/build/include/config/dvb/" || :

It's hackish approach, better is probably to use some wrapper function with check.

Additional info:
* package version(s)
4.1.6

* config and/or log files etc.

Steps to reproduce:
Deselect dvb in menuconfig and compile kernel.
This task depends upon

Closed by  Tobias Powalowski (tpowa)
Monday, 07 September 2015, 14:27 GMT
Reason for closing:  Won't fix
Additional comments about closing:  We cannot know what config you use

Loading...