luci
luci copied to clipboard
luci-app-attendedsysupgrade: the `type` is treated incorrectly or not in the way that is returned by `sysupgrade.openwrt.org`
I do own Turris Omnia that runs stock OpenWrt.
Unsure if this is a problem of luci-app-attendedsysupgrade or sysupgrade.openwrt.org service.
Problem
When trying the luci-app-attendedsysupgrade the incorrect package is returned to flash (initramfs, instead of sysupgrade).
Reason
- The
overview.jsdoes checkimage.typeif it issysupgrade - In this particular case the type is specified as
openwrt-22oromnia-medkit-openwrt-22 - Since no matching
sysupgradeis found, the last item is returned due tovar image; for (image of res.images) { - This is why the
omnia-medkit-openwrt-22.03.0-rc6-7de42661072d-mvebu-cortexa9-cznic_turris-omnia-initramfs.tar.gzis being shown.
Reference
- Example build: https://sysupgrade.openwrt.org/api/v1/build/4f23c7b84e838278443ff453acfb9597 (it might be recycled)
Images