ericpaulbishop / gargoyle

Gargoyle Router Management Utility
http://www.gargoyle-router.com
465 stars 222 forks source link

1.15 cleanup - default packages #981

Closed aimacintyre closed 1 year ago

aimacintyre commented 1 year ago

Having already encountered examples of default packages not being included in images (e.g. swconfig in some ath79 images and kmod-leds-gpio in some mt76x8 images), adjust all target profile configs to ensure other required default packages are included in respective target images.

Also disable 2 ath79 devices for which we can't build factory images due to a much smaller image size limit than is applied to these devices' sysupgrade images (6144kB vs 7808kB).

lantis1008 commented 1 year ago

Did you do this by hand or did you write a script? I might write a dev-util for checking this for the future.

aimacintyre commented 1 year ago

I wrote a script to check the configs based on info copied from the various makefiles. The info is structured in the script such that it could fairly easily be moved out to a JSON file. I made the actual changes manually, as there weren't that many, but the script could easily be extended to apply the adjustments. Happy to contribute the script if it would be useful longer term.