Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 49926 - modules-update needs a switch for assuming kernel versions
Summary: modules-update needs a switch for assuming kernel versions
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Aron Griffis (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-05-03 19:47 UTC by John Davis (zhen) (RETIRED)
Modified: 2004-05-07 21:33 UTC (History)
1 user (show)

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


Attachments
modules-update with --assume-kernel capability (modules-update,4.21 KB, text/plain)
2004-05-05 13:14 UTC, Aron Griffis (RETIRED)
Details
generate-modprobe.conf with --assume-kernel capability (generate-modprobe.conf,8.57 KB, text/plain)
2004-05-05 13:15 UTC, Aron Griffis (RETIRED)
Details
diffs for easy review (assume-kernel.diff,7.33 KB, patch)
2004-05-05 13:44 UTC, Aron Griffis (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description John Davis (zhen) (RETIRED) gentoo-dev 2004-05-03 19:47:27 UTC
For livecd building, modules-update needs an --assume-kernel switch so that we can fake the host system kernel version for the sake of building kernel modules within the livecd.
Comment 1 Aron Griffis (RETIRED) gentoo-dev 2004-05-03 20:07:18 UTC
I finished changes to modules-update (not yet committed), but changes are also needed to generate-modprobe.conf
Comment 2 Aron Griffis (RETIRED) gentoo-dev 2004-05-05 13:14:38 UTC
Created attachment 30797 [details]
modules-update with --assume-kernel capability
Comment 3 Aron Griffis (RETIRED) gentoo-dev 2004-05-05 13:15:52 UTC
Created attachment 30798 [details]
generate-modprobe.conf with --assume-kernel capability

Please try these updates.  If they work then I'll commit to rc-scripts and
commit a patch to module-init-tools.  They should be installed in /sbin and you
need to install both of them.
Comment 4 Aron Griffis (RETIRED) gentoo-dev 2004-05-05 13:44:27 UTC
Created attachment 30799 [details, diff]
diffs for easy review
Comment 5 Aron Griffis (RETIRED) gentoo-dev 2004-05-07 15:26:39 UTC
ok, nobody is testing this so I don't know if it really works.  However I know that it doesn't break anything because (1) I've tested and (2) the behavior doesn't change unless you specify --assume-kernel=x.x.x

So I've just committed to module-init-tools-3.0-r2 and baselayout-1.9.0 with these changes.  Somebody let me know if it helps the livecd problems...  Please re-open the bug if it doesn't work.
Comment 6 John Davis (zhen) (RETIRED) gentoo-dev 2004-05-07 21:33:42 UTC
sorry i didn't get a chance to test - my net connection went flakey, will try this on the livecds though, thanks aron :)