rendered paste bodyIndex: target/image/x86/Config.in
===================================================================
--- target/image/x86/Config.in (revision 5288)
+++ target/image/x86/Config.in (working copy)
@@ -14,4 +14,17 @@
depends X86_GRUB_IMAGES
default 4
+config X86_GRUB_ROOTPART
+ string
+ prompt "Root partition on target device" if X86_GRUB_IMAGES
+ default "/dev/hda2"
+ help
+ The root partition on the final device. If you don't know,
+ you probably want the default (/dev/hda2).
+config X86_GRUB_BOOTOPTS
+ string
+ prompt "Extra kernel boot options" if X86_GRUB_IMAGES
+ default ""
+ help
+ If you don't know leave it blank
Index: target/image/x86/Makefile
===================================================================
--- target/image/x86/Makefile (revision 5288)
+++ target/image/x86/Makefile (working copy)
@@ -25,7 +25,7 @@
endef
define Image/cmdline/ext2
- root=/dev/hda2 rootfstype=ext2
+ root=$(CONFIG_X86_GRUB_ROOTPART) rootfstype=ext2 $(CONFIG_X86_GRUB_BOOTOPTS)
endef