build: Generate and install provision.db
PATCH 1/1 build: Generate and install provision.db
Run provisiontool to generate the provisioning database in binary format from the intermediate json format. The database will be installed in pkgdata_DATA directory (typically /usr/share/ofono) when make install is performed.
--- .gitignore | 1 + Makefile.am | 9 +++++++-- 2 files changed, 8 insertions(+), 2 deletions(-)
.gitignore +1 -0
@@ -24,6 +24,7 @@ stamp-h1 build-aux autom4te.cache ell +provision.db ofono.pc include/ofono
Makefile.am +7 -2
@@ -207,6 +207,11 @@ statedir = $(localstatedir)/lib/ofono state_DATA = endif +provision.db: provision.json + $(AM_V_GEN)$(srcdir)/tools/provisiontool generate \ + --infile $< --outfile $@ +pkgdata_DATA = provision.db + builtin_modules = builtin_sources = builtin_libadd =
@@ -748,7 +753,7 @@ src_ofonod_LDFLAGS = -Wl,--export-dynamic \ BUILT_SOURCES = $(local_headers) $(ell_built_sources) src/builtin.h -CLEANFILES = $(BUILT_SOURCES) $(rules_DATA) +CLEANFILES = $(BUILT_SOURCES) $(rules_DATA) provision.db plugindir = $(pkglibdir)/plugins
@@ -901,7 +906,7 @@ test_SCRIPTS = $(test_scripts) endif EXTRA_DIST = src/genbuiltin plugins/ofono.rules plugins/ofono-speedup.rules \ - tools/provisiontool \ + tools/provisiontool provision.json \ unit/test-provision.json \ $(doc_files) $(test_scripts)
Signature · 1 line
2.43.0
This patch was applied to ofono.git (master) by Denis Kenzior <[email protected]>:
Hello:
This patch was applied to ofono.git (master)
by Denis Kenzior <[email protected]>:
Quoted 8 lines · On Thu, 1 Feb 2024 14:23:33 -0600 you wrote:
Run provisiontool to generate the provisioning database in binary format from the intermediate json format. The database will be installed in
pkgdata_DATAdirectory (typically/usr/share/ofono) when make install is performed.--- .gitignore | 1 + Makefile.am | 9 +++++++-- 2 files changed, 8 insertions(+), 2 deletions(-)
Here is the summary with links:
- build: Generate and install provision.db
https://git.kernel.org/pub/scm/network/ofono/ofono.git/?id=378b94a12adc
You are awesome, thank you!
Signature · 2 lines
Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html