aboutsummaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2015-03-24 10:08:12 +0000
committerJo-Philipp Wich <jow@openwrt.org>2015-03-24 10:08:12 +0000
commit463bc01f6d318325e1cfebd67b1852e081d687d8 (patch)
tree76301a6be6c4fe507be53147d7f007e76f013ff5 /config
parent658472564b1fde25940ee544b84cf2605598edfb (diff)
downloadmaster-187ad058-463bc01f6d318325e1cfebd67b1852e081d687d8.tar.gz
master-187ad058-463bc01f6d318325e1cfebd67b1852e081d687d8.tar.bz2
master-187ad058-463bc01f6d318325e1cfebd67b1852e081d687d8.zip
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 <mschiffer@universe-factory.net> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44966 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'config')
-rw-r--r--config/Config-images.in2
1 files changed, 0 insertions, 2 deletions
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