diff options
author | Lars Wirzenius <liw@liw.fi> | 2015-12-22 09:51:01 +0100 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2015-12-22 09:51:01 +0100 |
commit | 43990c985e8b60d53d2ccb4982fb1d5df0720abb (patch) | |
tree | 6572677bc30e174da566c36be850c57e7e24d252 | |
parent | 918db41262b1fc4a0d31f1a5bfcfd5aaf3abee2f (diff) | |
download | ick-43990c985e8b60d53d2ccb4982fb1d5df0720abb.tar.gz |
Make reprepro ignore surprising binaries
This is prompted by the recent change in Debian to build
-dbgsym packages automatically by default.
-rw-r--r-- | icklib/project.py | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/icklib/project.py b/icklib/project.py index 3e206c3..6501735 100644 --- a/icklib/project.py +++ b/icklib/project.py @@ -875,6 +875,10 @@ class SetupAPTRepository(icklib.BuildStep): self._make_reprepro_distributions(self.targets)) self._refresh_file( + os.path.join(confpath, 'options'), + self._make_reprepro_options()) + + self._refresh_file( os.path.join(confpath, 'incoming'), self._make_reprepro_incoming(self.targets)) @@ -915,6 +919,11 @@ class SetupAPTRepository(icklib.BuildStep): return result + def _make_reprepro_options(self): + return ( + 'ignore surprisingbinary\n' + ) + def _make_reprepro_incoming(self, targets): release_codenames = [t.debian_codename for t in targets] ci_codenames = [x + '-ci' for x in release_codenames] |