x86_64: fix invoking sysupgrade on PARTUUID mounted system
authorjow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sun, 19 Oct 2014 20:28:43 +0000 (20:28 +0000)
committerjow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sun, 19 Oct 2014 20:28:43 +0000 (20:28 +0000)
commit6e89b36eeeb2df75467f75ed44a47ecdf717c9c2
tree7ff94b4f6e30cf862344b415fcb4067781414622
parent12bd5ab0f2064e31b923bc4f7c98830adcf4a283
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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42968 3c298f89-4303-0410-b956-a3cf2f4a3e73
target/linux/x86_64/base-files/lib/preinit/79_move_config
target/linux/x86_64/base-files/lib/upgrade/platform.sh