From 1fbebe7dcc83d2c3f9f17e801c93f14978f575f8 Mon Sep 17 00:00:00 2001 From: Stelios Koroneos Date: Sat, 28 Apr 2007 21:25:16 +0000 Subject: packages/linux/linux-magicbox-2.6.18.6: Add kernel 2.6.18.6 for the Magicbox board --- ...010-load-ramdisk-even-if-rootdev-equals-ramdisk.patch | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 packages/linux/linux-magicbox-2.6.18.6/010-load-ramdisk-even-if-rootdev-equals-ramdisk.patch (limited to 'packages/linux/linux-magicbox-2.6.18.6/010-load-ramdisk-even-if-rootdev-equals-ramdisk.patch') diff --git a/packages/linux/linux-magicbox-2.6.18.6/010-load-ramdisk-even-if-rootdev-equals-ramdisk.patch b/packages/linux/linux-magicbox-2.6.18.6/010-load-ramdisk-even-if-rootdev-equals-ramdisk.patch new file mode 100644 index 0000000000..d980be9d6c --- /dev/null +++ b/packages/linux/linux-magicbox-2.6.18.6/010-load-ramdisk-even-if-rootdev-equals-ramdisk.patch @@ -0,0 +1,16 @@ +--- linux-2.6.15-magicbox3/init/do_mounts_initrd.c~ 2005-08-31 00:26:43.000000000 +0200 ++++ linux-2.6.15-magicbox3/init/do_mounts_initrd.c 2006-05-14 14:00:35.000000000 +0200 +@@ -112,8 +112,12 @@ + * unless /dev/ram0 is supposed to be our actual root device, + * in that case the ram disk is just set up here, and gets + * mounted in the normal path. ++ * ++ * Not true for magicbox: someone put root=/dev/ram into ++ * bootloader defaults and prepared hundreds of boards... ++ * Fix issue there. + */ +- if (rd_load_image("/initrd.image") && ROOT_DEV != Root_RAM0) { ++ if (rd_load_image("/initrd.image")) { + sys_unlink("/initrd.image"); + handle_initrd(); + return 1; -- cgit v1.2.3