Closed mazar-farran closed 3 months ago
Verified this works. Tested an image built using this on HDC and was able to get /info
Update: it did not work. I was grabbing an old 'dashcam-api.js'. The compiled node binary does not work and has dependency issues.
It worked after changes, but there are some caveats.
1) We can't build node_sqlite3.node from source, we need to still use the overlay binary for that. Thankfully this binary doesn't really ever change.
2) As a direct consequence, the build process is platform-dependent. If we change our host platform or architecture, $(ARCH_STRING)
will be invalid and the build will fail. We need some way of deriving $(ARCH_STRING)
to make this more robust.
make clean && make worked. I'm pretty confident now that this method works
Ticket: #225