-- Fixes KCONFIG for initrd
PATCH 1/1 -- Fixes KCONFIG for initrd
Description: Prevents initrd from being built if ram device is built
as a module.
--- linux-2.6.2/drivers/block/Kconfig.orig 2004-02-14 08:47:03.911807371
+0000
+++ linux-2.6.2/drivers/block/Kconfig 2004-02-14 08:49:37.739118285 +0000 @@ -313,6 +313,7 @@
config BLK_DEV_INITRD
bool "Initial RAM disk (initrd) support"
+ depends on BLK_DEV_RAM && BLK_DEV_RAM!=m
help
The initial RAM disk is a RAM disk that is loaded by the boot
loader
(loadlin or lilo) and that is mounted as root before the normal
boot
----
Jim Gifford
[email protected]
Review line 316
Quoted 12 lines · Jim Gifford
Description: Prevents initrd from being built if ram device is built
as a module.--- linux-2.6.2/drivers/block/Kconfig.orig 2004-02-14 08:47:03.911807371
+0000
+++ linux-2.6.2/drivers/block/Kconfig 2004-02-14 08:49:37.739118285 +0000(quoted diff) +1
-0@@ -313,6 +313,7 @@ config BLK_DEV_INITRD bool "Initial RAM disk (initrd) support" + depends on BLK_DEV_RAM && BLK_DEV_RAM!=m
depends on BLK_DEV_RAM=y
Quoted 1 line
Jim Gifford
cu
Adrian
Signature · 4 lines
"Is there not promise of rain?" Ling Tan asked suddenly out
of the darkness. There had been need of rain for many days.
"Only a promise," Lao Er said.
Pearl S. Buck - Dragon SeedI resent the patch to rusty's trival area.
Description: Prevents initrd from being built if ram device is built as a module.
drivers/block/Kconfig renamed from drivers/block/Kconfig.orig +1 -0
@@ -313,6 +313,7 @@ config BLK_DEV_INITRD bool "Initial RAM disk (initrd) support" + depends on BLK_DEV_RAM && BLK_DEV_RAM!=m help The initial RAM disk is a RAM disk that is loaded by the boot loader (loadlin or lilo) and that is mounted as root before the normal boot
Resend of the patch, due to wrap around.
Description: Prevents initrd from being built if ram device is built as a module.
drivers/block/Kconfig renamed from drivers/block/Kconfig.orig +1 -0
@@ -313,6 +313,7 @@ config BLK_DEV_INITRD bool "Initial RAM disk (initrd) support" + depends on BLK_DEV_RAM && BLK_DEV_RAM!=m help The initial RAM disk is a RAM disk that is loaded by the boot loader (loadlin or lilo) and that is mounted as root before the normal boot