diff options
author | Lars Wirzenius <liw@liw.fi> | 2017-02-20 20:55:40 +0200 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2017-02-20 20:55:40 +0200 |
commit | e929e9ac76357e9e2f48e0a423590c7107092049 (patch) | |
tree | e033a86ee19159ea8eafea76a2e5122835e2058b | |
parent | f153cd8bdaf48b65b5b974a87afe50a810156be3 (diff) | |
download | ick-e929e9ac76357e9e2f48e0a423590c7107092049.tar.gz |
Allow ick file to specify debian arch/codename/release
-rw-r--r-- | icklib/target.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/icklib/target.py b/icklib/target.py index beaf1e7..a3bb320 100644 --- a/icklib/target.py +++ b/icklib/target.py @@ -83,5 +83,8 @@ def create_targets_from_ick(ick, wanted_names): '/var/cache/pbuilder/base.tgz')) if 'tmpdir' in spec: # pragma: no cover t.set_tmpdir(spec['tmpdir']) + for x in ['debian_arch', 'debian_codename', 'debian_release']: + if x in spec: + setattr(t, x, spec[x]) # pragma: no cover targets.append(t) return targets |