Update dpkgfiles to support building raspberry pi armhf .deb #587
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Requires new build dependency "hardening-wrapper" when making armhf debian package with RPi toolchain.If I have time I'll see if I can get it to play nice with different build option variables and without hardening-wrapper. Normal builds should run fine without it at least.
hardening-wrapper is gone! ✔️
Tested with debhelper v9 compat rules in effect. It'd be nice to set that but would in theory need to increase the debhelper dependency version to match.
My python is pretty scrappy at best but improvements welcomed all over.
Normal use of
dpkgfiles/make_deb_package.py
is retained as is.Raspberry Pi builds are enabled by running
(Short flags available)
Substitute paths for toolchain and the extrapython path for real ones. Validates enough to know if a directory exists but it is not smart enough to know if the directory actually contains the files needed.
I have yet to test the packaged deb files on real hardware, but compiles completed fine to the best of my knowledge.