base-files: default_do_upgrade: accept & forward image extraction command
authorJohn Crispin <blogic@openwrt.org>
Fri, 5 Jun 2015 14:12:05 +0000 (14:12 +0000)
committerJohn Crispin <blogic@openwrt.org>
Fri, 5 Jun 2015 14:12:05 +0000 (14:12 +0000)
commitd831148740739687eba9fb54d7e8414dc41037f4
tree0838a6d4403d5c77ef9617a2940f3e45a31745ee
parent2a0f4f1f4ea30e65205fdeb244e5aa0c3dd8ac77
base-files: default_do_upgrade: accept & forward image extraction command

get_image allows passing 2nd argument that is used in a pipe for
extracting firmware from a non-native format. By accepting such command
in default_do_upgrade we allow platforms to use this helper for vendor
specific images.

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45900 3c298f89-4303-0410-b956-a3cf2f4a3e73
package/base-files/files/lib/upgrade/common.sh