Skip to content

Commit

Permalink
do not install __pycache__
Browse files Browse the repository at this point in the history
The pycache is not portable and also leaks information about the build
host.

Signed-off-by: Felix Moessbauer <[email protected]>
  • Loading branch information
fmoessbauer authored and chombourger committed Oct 23, 2023
1 parent c07e662 commit ba19a2a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions debian/rules
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ override_dh_auto_install:
rm -rf debian/mtda-kvm
rm -rf debian/mtda-pytest
rm -rf debian/mtda-ui
# lintian package-installs-python-pycache-dir
find debian -name "__pycache__" -type f -delete
:
install -m 0755 -d debian/mtda
mv debian/tmp/usr debian/mtda/
Expand Down

0 comments on commit ba19a2a

Please sign in to comment.