-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
build_falter: implement reducing packagelists for 8MiB-Devices
Devices with 8MiB Flash ran out of memory when storing changes on the configuration. This commit tackles that problem by automatically removing some not crucial packages, if we detect a device with 8MiB flash. This is achieved by loading the OpenWrt Table of Hardware into a sqlite-db and querying for the flash amount. In the future this can also be used for detecting 32MiB-RAM devices. The list of packages that should be removed is defined in a variable at the tob of the script. In addition there is a list of routers that should get less packages even if they have technically more than 8MiB flash. This is useful for example for UniFi-AC-Mesh, which has two 8MiB-Partitions on a 16MiB-Flash. Signed-off-by: Martin Hübner <[email protected]>
- Loading branch information
Showing
1 changed file
with
104 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters