base-files: allow platform_check_image to prevent --force
authorDaniel Golle <[email protected]>
Sun, 30 Mar 2025 23:32:50 +0000 (00:32 +0100)
committerDaniel Golle <[email protected]>
Mon, 21 Apr 2025 15:12:42 +0000 (16:12 +0100)
commit5175d0a62301ebb2fec6fa83b04946026ce91475
tree6cba844c1966e7e8ac4dac25f2d2d9a9ab7a98e1
parent370a9d55868981609f2b6ad510fd2f2fb4416e51
base-files: allow platform_check_image to prevent --force

Introduce special handling for return code 74 (EBADMSG) of
platform_check_image which will mark the image as broken and hence
not allow the user to override the check using the --force option.

Signed-off-by: Daniel Golle <[email protected]>
package/base-files/files/sbin/sysupgrade
package/base-files/files/usr/libexec/validate_firmware_image