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)
commit1de7d3dadd1961d37abfa137071be0e4503598be
tree7ff94b4f6e30cf862344b415fcb4067781414622
parent826c353963743e09f9f798a69c6ec9ee784a2997
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