summaryrefslogtreecommitdiffstats
path: root/meta/lib/oe/package_manager.py
diff options
context:
space:
mode:
Diffstat (limited to 'meta/lib/oe/package_manager.py')
-rw-r--r--meta/lib/oe/package_manager.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/lib/oe/package_manager.py b/meta/lib/oe/package_manager.py
index 980649fb4d..c10efb8df4 100644
--- a/meta/lib/oe/package_manager.py
+++ b/meta/lib/oe/package_manager.py
@@ -1173,7 +1173,7 @@ class OpkgPM(OpkgDpkgPM):
1173 output = subprocess.check_output(cmd.split(), stderr=subprocess.STDOUT).decode("utf-8") 1173 output = subprocess.check_output(cmd.split(), stderr=subprocess.STDOUT).decode("utf-8")
1174 bb.note(output) 1174 bb.note(output)
1175 except subprocess.CalledProcessError as e: 1175 except subprocess.CalledProcessError as e:
1176 (bb.fatal, bb.note)[attempt_only]("Unable to install packages. " 1176 (bb.fatal, bb.warn)[attempt_only]("Unable to install packages. "
1177 "Command '%s' returned %d:\n%s" % 1177 "Command '%s' returned %d:\n%s" %
1178 (cmd, e.returncode, e.output.decode("utf-8"))) 1178 (cmd, e.returncode, e.output.decode("utf-8")))
1179 1179
@@ -1472,7 +1472,7 @@ class DpkgPM(OpkgDpkgPM):
1472 bb.note("Installing the following packages: %s" % ' '.join(pkgs)) 1472 bb.note("Installing the following packages: %s" % ' '.join(pkgs))
1473 subprocess.check_output(cmd.split(), stderr=subprocess.STDOUT) 1473 subprocess.check_output(cmd.split(), stderr=subprocess.STDOUT)
1474 except subprocess.CalledProcessError as e: 1474 except subprocess.CalledProcessError as e:
1475 (bb.fatal, bb.note)[attempt_only]("Unable to install packages. " 1475 (bb.fatal, bb.warn)[attempt_only]("Unable to install packages. "
1476 "Command '%s' returned %d:\n%s" % 1476 "Command '%s' returned %d:\n%s" %
1477 (cmd, e.returncode, e.output.decode("utf-8"))) 1477 (cmd, e.returncode, e.output.decode("utf-8")))
1478 1478