x86: fix platform_export_bootpart() for Xen virtual disks
authorHauke Mehrtens <hauke@hauke-m.de>
Sun, 17 Apr 2016 13:24:30 +0000 (13:24 +0000)
committerHauke Mehrtens <hauke@hauke-m.de>
Sun, 17 Apr 2016 13:24:30 +0000 (13:24 +0000)
commit8a7b28071fba84e297796c46d46e12b0967804e8
tree3a7fa8fe21b9a69dbf5f2f4161828821dc11e919
parentb030bb606f63518e88a37b357a7372e3edc2180e
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>
SVN-Revision: 49190
target/linux/x86/base-files/lib/upgrade/platform.sh