From: Jo-Philipp Wich <jow@openwrt.org>
Date: Mon, 27 Oct 2014 14:35:39 +0000 (+0000)
Subject: config: use PARTUUID by default on x86_64
X-Git-Tag: reboot~5503
X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=1eb6640612d7464af4ba87a77bd071cb7eb1e342;p=openwrt%2Fstaging%2Fpepe2k.git

config: use PARTUUID by default on x86_64

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 43086
---

diff --git a/config/Config-images.in b/config/Config-images.in
index eca2d75b01..5c2e79e41e 100644
--- a/config/Config-images.in
+++ b/config/Config-images.in
@@ -268,10 +268,11 @@ menu "Target Images"
 		string "Root partition on target device"
 		depends on OLPC_BOOTSCRIPT_IMAGES || GRUB_IMAGES
 		default "/dev/xvda2" if TARGET_x86_xen_domu
-		default "/dev/sda2" if ! TARGET_x86_xen_domu
+		default "/dev/sda2" if TARGET_x86 && ! TARGET_x86_xen_domu
 		help
-		  The root partition on the final device.  If you don't know,
-		  you probably want the default (/dev/sda2).
+		  Override the root partition on the final device. If left empty,
+		  it will be mounted by PARTUUID which makes the kernel find the
+		  appropriate disk automatically.
 
 
 	menuconfig TARGET_ROOTFS_INCLUDE_KERNEL