openwrtv3/package/system
John Crispin b48b7a7689 mtd: fix md5sum error checking
In mtd_verify(), the return value of md5sum() has been
interpreted as error if nonzero, while the function
returns number of processed bytes, which caused
mtd_verify() to always fail.

This patch fixes error checking to interpret only
negative values as errors.

Signed-off-by: Zefir Kurtisi <zefir.kurtisi@neratec.com>

SVN-Revision: 44605
2015-03-05 20:25:02 +00:00
..
ca-certificates packages: remove uneeded PKG_BUILD_DIR overrides 2015-02-22 01:31:21 +00:00
fstools fstools: switch to ulog api 2015-02-26 10:25:29 +00:00
mountd license info - revert r43155 2014-11-03 09:56:44 +00:00
mtd mtd: fix md5sum error checking 2015-03-05 20:25:02 +00:00
opkg opkg: make PKG_UPGRADE available during preinst hook 2014-12-08 17:40:53 +00:00
procd procd: update to the latest version, fixes musl compile error 2015-02-27 07:34:47 +00:00
rpcd rpcd: fix session.{login,list,destroy} method signatures 2015-02-09 12:54:29 +00:00
ubox ubox: fix segmentation fault in insmod 2015-02-26 21:23:55 +00:00
ubus ubus: update to the latest version 2015-01-23 10:54:52 +00:00
uci license info - revert r43155 2014-11-03 09:56:44 +00:00
udev license info - revert r43155 2014-11-03 09:56:44 +00:00
zram-swap license info - revert r43155 2014-11-03 09:56:44 +00:00