Hi I'm trying to create customized images using firmware-selector that might contain some custom files, like custom scripts, etc. My idea is to convert all these files into a base64 string and use ucode to convert and write them into the disk. Something like this
I couldn't find any documentation around how to add a package from 3rd party package feed to the firmware-selector
I found the repositories field in /api/v1/build endpoint of the sysupgrade.openwrt.org docs
From the code that appears here I think custom repositories are not allowed at least in sysupgrade.openwrt.org
why do you suggest to use ruby or perl instead of ucode which is already present in OpenWRT?
Yes, you should be able to use ucode-based uci-defaults scripts. The firewall code is all written in ucode and it's running about that same time during the boot sequence, so I don't see any reason it shouldn't work just fine. Give it a try and let us know if you see anything amiss...
Oh, forgot that one. The ASU server restricts the size of the file to 20KB (20480 bytes), which shouldn't be an issue (if you need more space, just write a script, put it in /usr/bin or wherever, then have your uci-defaults run it).