diff options
| -rw-r--r-- | meta/lib/oe/package_manager.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/lib/oe/package_manager.py b/meta/lib/oe/package_manager.py index a907d6c7b9..1a2914fedc 100644 --- a/meta/lib/oe/package_manager.py +++ b/meta/lib/oe/package_manager.py | |||
| @@ -1078,7 +1078,7 @@ class OpkgPM(OpkgDpkgPM): | |||
| 1078 | output = subprocess.check_output(cmd.split(), stderr=subprocess.STDOUT).decode("utf-8") | 1078 | output = subprocess.check_output(cmd.split(), stderr=subprocess.STDOUT).decode("utf-8") |
| 1079 | bb.note(output) | 1079 | bb.note(output) |
| 1080 | except subprocess.CalledProcessError as e: | 1080 | except subprocess.CalledProcessError as e: |
| 1081 | (bb.fatal, bb.note)[attempt_only]("Unable to install packages. " | 1081 | (bb.fatal, bb.warn)[attempt_only]("Unable to install packages. " |
| 1082 | "Command '%s' returned %d:\n%s" % | 1082 | "Command '%s' returned %d:\n%s" % |
| 1083 | (cmd, e.returncode, e.output.decode("utf-8"))) | 1083 | (cmd, e.returncode, e.output.decode("utf-8"))) |
| 1084 | 1084 | ||
| @@ -1377,7 +1377,7 @@ class DpkgPM(OpkgDpkgPM): | |||
| 1377 | bb.note("Installing the following packages: %s" % ' '.join(pkgs)) | 1377 | bb.note("Installing the following packages: %s" % ' '.join(pkgs)) |
| 1378 | subprocess.check_output(cmd.split(), stderr=subprocess.STDOUT) | 1378 | subprocess.check_output(cmd.split(), stderr=subprocess.STDOUT) |
| 1379 | except subprocess.CalledProcessError as e: | 1379 | except subprocess.CalledProcessError as e: |
| 1380 | (bb.fatal, bb.note)[attempt_only]("Unable to install packages. " | 1380 | (bb.fatal, bb.warn)[attempt_only]("Unable to install packages. " |
| 1381 | "Command '%s' returned %d:\n%s" % | 1381 | "Command '%s' returned %d:\n%s" % |
| 1382 | (cmd, e.returncode, e.output.decode("utf-8"))) | 1382 | (cmd, e.returncode, e.output.decode("utf-8"))) |
| 1383 | 1383 | ||
