mirror of https://github.com/openwrt/packages.git
netdata compiles its own copy of SQLite 3.36.0 from June 2021 into the daemon. Link the daemon against libsqlite3 instead, so that SQLite gets its updates from the sqlite3 package. On aarch64_generic the daemon shrinks from 2386355 to 1365700 bytes. libsqlite3 has 1110402 bytes there, so an installation without it grows by about 90 kB in total and one that already has it saves 1 MB. The OpenWrt library is built without UPDATE and DELETE with LIMIT. The only statement that needs it is in the cloud code, which the package does not build, and the unit test skips its two LIMIT statements when the library lacks the option. Tested on aarch64 with libsqlite3 3.54.1: upgrade from the previous release over an existing database, health log written and read back after a restart, a streaming parent with one child and the built-in unit tests. Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com> |
||
|---|---|---|
| .. | ||
| files | ||
| patches | ||
| Makefile | ||