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)
commit05abf01ac0800c8fcfc1e8dcff6523a57f1797bb
treea6dc47a6d63c46801c2eb2930b63b298fdd70872
parente2e2e54bfeeb15fd2aed6251910de31c067199df
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