Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 250875 - genkernel-3.4.10.902 command line option --no-ramdisk-modules does not work
Summary: genkernel-3.4.10.902 command line option --no-ramdisk-modules does not work
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Genkernel Maintainers
URL:
Whiteboard:
Keywords: InVCS
Depends on:
Blocks:
 
Reported: 2008-12-13 22:13 UTC by Christian Ludwig
Modified: 2009-12-26 22:18 UTC (History)
2 users (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 Christian Ludwig 2008-12-13 22:13:38 UTC
Issuing genkernel with the --no-ramdisk-modules option still includes the modules into the initial ramdisk. This is due to a typo. The following patch fixes this issue.

--- gen_cmdline.sh.orig	2008-12-13 23:05:46.000000000 +0100
+++ gen_cmdline.sh	2008-12-13 23:06:19.000000000 +0100
@@ -371,7 +371,7 @@
 			print_info 2 "CMD_NOINSTALL: ${CMD_NOINSTALL}"
 			;;
 		--no-ramdisk-modules)
-			CMD_NOiRAMDISKMODULES=1
+			CMD_NORAMDISKMODULES=1
 			print_info 2 "CMD_NORAMDISKMODULES: ${CMD_NORAMDISKMODULES}"
 			;;
 		--all-ramdisk-modules)


Reproducible: Always

Steps to Reproduce:
1. Ruild your kernel with genkernel and the --no-ramdisk-modules.
2. Reboot.
3. Observe all the modules being loaded anyway.
Comment 1 Panagiotis Christopoulos (RETIRED) gentoo-dev 2008-12-14 12:36:46 UTC
What genkernel version? Maybe your emerge --info output are also helpful
Comment 2 Andrew Gaffney (RETIRED) gentoo-dev 2008-12-14 17:13:08 UTC
Hmm, I wonder how long that's been there. Anyway, fixed in git. Thanks.
Comment 3 Daniel Troeder 2009-09-24 13:36:10 UTC
Shouldn't this bug be closed?

I'm using 3.4.10.904 (which is "stable") and the bug's not there anymore.
(I just noticed, because I was missing the feature, and wanted to complain about its disapperiance.)

But there is something to complain about: The option is not documented (anymore) in the man page. But this is a very usefull option for people (like me) compiling their own kernels (who still need user space for crypto-disks).