From 926194f75d53846a11b85ca579b2fc451facac76 Mon Sep 17 00:00:00 2001 From: nmeum Date: Thu, 4 Dec 2014 12:21:15 +0100 Subject: [PATCH] Make sure portage doesn't ask for confirmation If EMERGE_DEFAULT_OPTS in make.conf(5) contains '--ask' then the portage module doesn't work correctly, this commit fixes that --- packaging/os/portage.py | 1 + 1 file changed, 1 insertion(+) diff --git a/packaging/os/portage.py b/packaging/os/portage.py index 85027bfc79b..d38062e47e5 100644 --- a/packaging/os/portage.py +++ b/packaging/os/portage.py @@ -335,6 +335,7 @@ def cleanup_packages(module, packages): def run_emerge(module, packages, *args): args = list(args) + args.append('--ask=n') if module.check_mode: args.append('--pretend')