From 7e1810430dc1de0c03a6857516ad609b0718822b Mon Sep 17 00:00:00 2001
From: jow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Date: Mon, 27 Oct 2014 14:35:39 +0000
Subject: [PATCH] config: use PARTUUID by default on x86_64

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43086 3c298f89-4303-0410-b956-a3cf2f4a3e73
---
 config/Config-images.in | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

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
-- 
GitLab