A Debian package configurator for sanji bundles
- copy all files (exclude README.md) to sanji bundle directory
- run "configure-debian-pkg.sh" to produce the debian configuration files
./configure-debian-pkg.sh
- after the configuration, edit the
Makefile
withTARGET_FILES
andDIST_FILES
- update
test
target with current package
Try make dist && make -C build-deb
to build the debian package.
- sanji bundle will be placed under
/usr/lib/sanji<version>/
- do not install test files
- both online & offline install is available (how to check online or offline)
- online:
pip install -r requirements.txt
- offline:
pip install --no-index --find-links file:./packages -r requirements.txt
- online:
- all required python libraries will be downloaded for offline install
pip install -r requirement.txt --download ./packages
- verify the policy when python libraries need to be compiled
https://packaging.python.org/en/latest/installing.html- cross compile
- install gcc