]> git.ipfire.org Git - thirdparty/openwrt.git/commit
package: basefiles: add oem image dectection to fwtool.sh 18554/head
authorScott Mercer <TheRootEd24@gmail.com>
Mon, 21 Apr 2025 15:23:07 +0000 (11:23 -0400)
committerRobert Marko <robimarko@gmail.com>
Wed, 30 Apr 2025 11:15:42 +0000 (13:15 +0200)
commit8266ff6591b11fd293718640a6a69d2407c9b022
treed625423a52b97c473d805529f5cb1b145ff51094
parentf92ac3d10d7c80b480b5d73874764d926ed3bacf
package: basefiles: add oem image dectection to fwtool.sh

with more new device, now able to flash oem
images from luci, fwtools erroneously marks
firmware as incompatible and does not warn
across keeping configs during update.

this patch aims to add both oem detection
and a warning msg advising firmware is compatible
(OpenWrt -> OEM) but configuration is not

tested on ipq5018: gl-b3000

Signed-off-by: Scott Mercer <TheRootEd24@gmail.com>
package: basefiles: add oem image dectection to fwtool

    some new devices are now able to flash oem
    images from luci, fwtools erroneously marks
    firmware as incompatible and does not warn
    of keeping configs during update for this condition.

    this patch aims to add both oem detection
    and trigger the existing warning msg, advising firmware is compatible
    (OpenWrt -> OEM) but configuration is not

tested on ipq5018: gl-b3000

Signed-off-by: Scott Mercer <TheRootEd24@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/18554
Signed-off-by: Robert Marko <robimarko@gmail.com>
package/base-files/files/lib/upgrade/fwtool.sh