On Fri, 23 Aug 2019 at 08:15, Rafał Miłecki <[email protected]> wrote: > This provides TRX validation result, so final JSON may look like: > { > "tests": { > "fwtool_signature": true, > "fwtool_device_match": true, > "trx_valid": true > }, > "valid": true, > "forceable": true > } > > It also prevents users from installing broken firmware files, e.g.: > > $ sysupgrade -F /tmp/dhcp.leases > Image metadata not found > Invalid image type. Please use firmware specific for this device. > Image check failed. This firmware can't be installed.
I postponed this patch for now as commit message wasn't accurate anymore. I decided to drop "forceable" check from /sbin/sysupgrade. _______________________________________________ openwrt-devel mailing list [email protected] https://lists.openwrt.org/mailman/listinfo/openwrt-devel
