x86: fix platform_export_bootpart() for Xen virtual disks
authorhauke <hauke@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sun, 17 Apr 2016 13:24:30 +0000 (13:24 +0000)
committerhauke <hauke@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sun, 17 Apr 2016 13:24:30 +0000 (13:24 +0000)
commit638dd75554baf729be2f52b353edcf6fc63cbbd9
treeebcee43d8a3c34c35393b53325461e1523a9909b
parent3e5479f6b97bc133231b13f8a635bf4a1bd2e126
x86: fix platform_export_bootpart() for Xen virtual disks

Virtual disk devices in a Xen virtual machine (DomU) can be /dev/xvda,
/dev/xvdb and so on with partitions like /dev/xdva1. Devices named like
this where not considered before. This resulted in a non working
sysupgrade, because the boot partition could not be found.

Signed-off-by: Alexander Dahl <alex@netz39.de>
Suggested-by: Matthias Schiffer <mschiffer@universe-factory.net>
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49190 3c298f89-4303-0410-b956-a3cf2f4a3e73
target/linux/x86/base-files/lib/upgrade/platform.sh