Custom Attended Sysupgrade for github custom builds

Hello guys!
I want to share this with anyone that uses github to compile custom firmware for their routers.

I have managed to customize attended sysupgrade menus to list, download and install my custom firmware that I build using github actions.

_

  • Luci's menu "System" -> "Attended Sysyupgrade"

  • Listing available releases (dropdown list)

  • Installing Info

  • Github Repository in Configuration tab

_

This is probably not for newbies, but I assume that if you build your custom OpenWrt firmware using GitHub Actions you'll figure how to adapt my patch to your project.

My repository ( https://github.com/cjom/GL-MT6000 ) compiles firmware for the router Flint 2 using custom fork from pesa1234 but I am confident that the patch will work in other builds.

You can fork my repository and adapt the workflow file to use your selected source repository and .config or, if you want to use the patch in your existing repository, you need to copy the patch file and the files in https://github.com/cjom/GL-MT6000/tree/main/files/www/cgi-bin and then study the workflow yaml to understand how is it applied.

Ask me if there is any doubt about this.
Feel free to copy, change and use it, just don't blame me for anything that goes wrong. :wink:

3 Likes

As an early adopter of this mod, can confirm it is damn cool and incredibly useful.

:+1:

1 Like