From 463bc01f6d318325e1cfebd67b1852e081d687d8 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Tue, 24 Mar 2015 10:08:12 +0000 Subject: x86: use PARTUUID instead explicitly specifying the device by default This changes the x86 image generation to match x86_64, using the PARTUUID for the rootfs instead of explicitly configuring the device. It unbreaks KVM with VirtIO, which uses /dev/vda2 instead of /dev/sda2. Tested in QEMU/KVM with VirtIO, VirtualBox and VMware. Signed-off-by: Matthias Schiffer git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44966 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- config/Config-images.in | 2 -- 1 file changed, 2 deletions(-) (limited to 'config') diff --git a/config/Config-images.in b/config/Config-images.in index 5c2e79e41e..a420c39a90 100644 --- a/config/Config-images.in +++ b/config/Config-images.in @@ -267,8 +267,6 @@ menu "Target Images" config TARGET_ROOTFS_PARTNAME 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 && ! TARGET_x86_xen_domu help Override the root partition on the final device. If left empty, it will be mounted by PARTUUID which makes the kernel find the -- cgit v1.2.3