Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 265520 - Kernel sources needed for binary packages (e.g.: drbd)
Summary: Kernel sources needed for binary packages (e.g.: drbd)
Status: RESOLVED DUPLICATE of bug 154495
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-04-09 09:17 UTC by vAx
Modified: 2009-04-10 09:03 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description vAx 2009-04-09 09:17:49 UTC
It's impossible to emerge third part modules from binary packages without kernel-sources installed.

Reproducible: Always

Steps to Reproduce:
1.on HOST_A: emerge drbd-kernel; quickpkg drbd-kernel
2.on HOST_B: emerge --getbinpkgonly drbd-kernel
3.

Actual Results:  
I've compiled this drbd-kernel on an other system and also build a tbz2 file.
When I try to emerge this binary package on a "binary based installation", I get this message:

>>> Emerging binary (1 of 2) sys-cluster/drbd-kernel-8.0.14
 * drbd-kernel-8.0.14.tbz2 MD5 SHA1 size ;-) ...                                                                                                                                                      [ ok ]
>>> Extracting info
 * Checking for suitable kernel configuration options...                                                                                                                                               [ ok ]
 * These sources have not yet been prepared.
 * We cannot build against an unprepared tree.
 * To resolve this, please type the following:
 *
 * # cd /usr/src/linux
 * # make oldconfig
 * # make modules_prepare
 *
 * Then please try merging this module again.



Expected Results:  
- Why this kernel-source check?
- Is there a way to ignore the kernel-source check for theses third part modules?


I've put this bug in "Enhancement" because I'm able to install my binpak after an emerge gentoo-sources, cp .config , make * ... But the reason I use binary packages is to avoid the usage of any sources on my target systems  ;)

/X
Comment 1 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2009-04-10 09:03:04 UTC

*** This bug has been marked as a duplicate of bug 154495 ***