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)
commit40e870064cf4bea19cc41782cdf4837160803a1d
tree76301a6be6c4fe507be53147d7f007e76f013ff5
parent77984de9f9065a7007732c631ef0d9c3f811702d
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
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