x86: use PARTUUID instead explicitly specifying the device by default
authorJo-Philipp Wich <jow@openwrt.org>
Tue, 24 Mar 2015 10:08:12 +0000 (10:08 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Tue, 24 Mar 2015 10:08:12 +0000 (10:08 +0000)
commit463bc01f6d318325e1cfebd67b1852e081d687d8
tree76301a6be6c4fe507be53147d7f007e76f013ff5
parent658472564b1fde25940ee544b84cf2605598edfb
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
config/Config-images.in
target/linux/x86/base-files/lib/preinit/79_move_config
target/linux/x86/base-files/lib/upgrade/platform.sh
target/linux/x86/image/Makefile
target/linux/x86/image/gen_image_generic.sh