Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 209959 - kbuild system leads to collisions in /lib/modules/$KV/modules.* files
Summary: kbuild system leads to collisions in /lib/modules/$KV/modules.* files
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Eclasses (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Kernel Miscellaneous
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-02-13 04:21 UTC by Robin Johnson
Modified: 2008-10-31 21:56 UTC (History)
1 user (show)

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 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2008-02-13 04:21:04 UTC
Looks like a change somewhere in the recent kernel stuff.
The Kbuild modules_install ends up creating files of modules.* (symbols, alias, dep, *map) in the $IMAGE/$DESTDIR location, and then collision-protect triggers when that stuff is about to be copied over.

This is only a concern for ebuilds that use the Kbuild modules_install instead of the linux-mod_src_install. Converting them to the linux-mod_src_install would be a pain for cases with lots of modules.

Probably add a special function to the eclass that removes the files, and just update the ebuilds to call it.
Comment 1 Daniel Drake (RETIRED) gentoo-dev 2008-10-31 21:56:50 UTC
I think the modules should use linux-mod_src_install, and if it's too hard then we should fix or document the eclass more.
This is not the only thing that will go wrong if they work behind the back of the eclass.