Normal force (one -F flag) is unchanged in behavior and only overrides the
sysupgrade checks.  Force with two or more flags also passes --force to mtd,
overriding some of it's checks.

This was useful in testing of the belkin f7dxxxx patches, and seems like a good 
idea.

v2:
  - add documentation to sysupgrade's help text as suggested by Yousong Zhou 
<yszhou4t...@gmail.com>


--

Cody P Schafer (3):
  sysupgrade: let force be more forceful with multiple --force/-F
    options
  upgrade/common: force mtd when sysupgrade gets -F -F (2 forces)
  sysupgrade: document new force behavior.

 package/base-files/files/lib/upgrade/common.sh | 9 +++++++--
 package/base-files/files/sbin/sysupgrade       | 5 +++--
 2 files changed, 10 insertions(+), 4 deletions(-)

-- 
1.8.5.1
_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

Reply via email to