diff --git a/src/bin/pungi.py b/src/bin/pungi.py index 7dbd9fcf..7f36a763 100755 --- a/src/bin/pungi.py +++ b/src/bin/pungi.py @@ -76,6 +76,7 @@ def main(): config.set('pungi', 'debuginfo', "False") if opts.nogreedy: config.set('pungi', 'alldeps', "False") + config.set('pungi', 'resolve_deps', str(bool(opts.resolve_deps))) if opts.isfinal: config.set('pungi', 'isfinal', "True") if opts.nohash: @@ -203,6 +204,8 @@ if __name__ == '__main__': help='disable gathering of release notes (optional)') parser.add_option("--nogreedy", action="store_true", dest="nogreedy", help='disable pulling of all providers of package dependencies (optional)') + parser.add_option("--nodeps", action="store_false", dest="resolve_deps", default=True, + help='disable resolving dependencies') parser.add_option("--sourceisos", default=False, action="store_true", dest="sourceisos", help='Create the source isos (other arch runs must be done)') parser.add_option("--force", default=False, action="store_true", diff --git a/src/pypungi/config.py b/src/pypungi/config.py index 3cc17416..f35e1c6f 100644 --- a/src/pypungi/config.py +++ b/src/pypungi/config.py @@ -48,4 +48,4 @@ class Config(SafeConfigParser): self.set('pungi', 'full_archlist', "False") self.set('pungi', 'multilib', '') self.set('pungi', 'lookaside_repos', '') - + self.set('pungi', 'resolve_deps', "True")