x86_64: fix invoking sysupgrade on PARTUUID mounted system
authorJo-Philipp Wich <jow@openwrt.org>
Sun, 19 Oct 2014 20:28:43 +0000 (20:28 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Sun, 19 Oct 2014 20:28:43 +0000 (20:28 +0000)
commit7209778ba76098a275167b9e1f8968d6f2388718
tree7ff94b4f6e30cf862344b415fcb4067781414622
parent22446f2eb75fa5e6d147dc5d8c1e70c365f7c710
x86_64: fix invoking sysupgrade on PARTUUID mounted system

Fix sysupgrade to determine the correct boot block device to use if
/proc/cmdline contains a PARTUUID root.

Change the preinit move_config() hook to use the UUID scanning code
from sysupgrade in order to avoid code duplication.

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
SVN-Revision: 42968
target/linux/x86_64/base-files/lib/preinit/79_move_config
target/linux/x86_64/base-files/lib/upgrade/platform.sh