summaryrefslogtreecommitdiffstats
path: root/meta/lib
diff options
context:
space:
mode:
Diffstat (limited to 'meta/lib')
-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 0c5d907ff1..bd6dc99542 100644
--- a/meta/lib/oe/package_manager.py
+++ b/meta/lib/oe/package_manager.py
@@ -1066,7 +1066,7 @@ class OpkgPM(OpkgDpkgPM):
1066 output = subprocess.check_output(cmd.split(), stderr=subprocess.STDOUT).decode("utf-8") 1066 output = subprocess.check_output(cmd.split(), stderr=subprocess.STDOUT).decode("utf-8")
1067 bb.note(output) 1067 bb.note(output)
1068 except subprocess.CalledProcessError as e: 1068 except subprocess.CalledProcessError as e:
1069 (bb.fatal, bb.note)[attempt_only]("Unable to install packages. " 1069 (bb.fatal, bb.warn)[attempt_only]("Unable to install packages. "
1070 "Command '%s' returned %d:\n%s" % 1070 "Command '%s' returned %d:\n%s" %
1071 (cmd, e.returncode, e.output.decode("utf-8"))) 1071 (cmd, e.returncode, e.output.decode("utf-8")))
1072 1072
@@ -1365,7 +1365,7 @@ class DpkgPM(OpkgDpkgPM):
1365 bb.note("Installing the following packages: %s" % ' '.join(pkgs)) 1365 bb.note("Installing the following packages: %s" % ' '.join(pkgs))
1366 subprocess.check_output(cmd.split(), stderr=subprocess.STDOUT) 1366 subprocess.check_output(cmd.split(), stderr=subprocess.STDOUT)
1367 except subprocess.CalledProcessError as e: 1367 except subprocess.CalledProcessError as e:
1368 (bb.fatal, bb.note)[attempt_only]("Unable to install packages. " 1368 (bb.fatal, bb.warn)[attempt_only]("Unable to install packages. "
1369 "Command '%s' returned %d:\n%s" % 1369 "Command '%s' returned %d:\n%s" %
1370 (cmd, e.returncode, e.output.decode("utf-8"))) 1370 (cmd, e.returncode, e.output.decode("utf-8")))
1371 1371