summaryrefslogtreecommitdiff
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
commit02e2548b844f987edab5fa82fb6283419f3381ff (patch)
treeb727f3d9cdcdc50318b9afbdb3699cbb05f4a466 /config
parent5d9eeab64aadb376a8c07d8faad44b25ac9ce7f5 (diff)
downloadmtk-20170518-02e2548b844f987edab5fa82fb6283419f3381ff.zip
mtk-20170518-02e2548b844f987edab5fa82fb6283419f3381ff.tar.gz
mtk-20170518-02e2548b844f987edab5fa82fb6283419f3381ff.tar.bz2
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> SVN-Revision: 44966
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 5c2e79e..a420c39 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