| Message ID | 20260318160058.1912091-1-corentin.guillevic@smile.fr |
|---|---|
| State | Accepted, archived |
| Commit | f5054652f8d6544a066b6deae1b304ba42fe2f3a |
| Headers | show |
| Series | oeqa/qemurunner: make the error message about invalid rootfs clearer | expand |
diff --git a/meta/lib/oeqa/utils/qemurunner.py b/meta/lib/oeqa/utils/qemurunner.py index 1ceeeff96a..5979b52650 100644 --- a/meta/lib/oeqa/utils/qemurunner.py +++ b/meta/lib/oeqa/utils/qemurunner.py @@ -150,7 +150,7 @@ class QemuRunner: # interact badly with screensavers. env["QEMU_DONT_GRAB"] = "1" if not os.path.exists(self.rootfs): - self.logger.error("Invalid rootfs %s" % self.rootfs) + self.logger.error("rootfs %s does not exist" % self.rootfs) return False if not os.path.exists(self.tmpdir): self.logger.error("Invalid TMPDIR path %s" % self.tmpdir)
Printing "Invalid rootfs" when the rootfs image simply doesn't exist can be misleading to the user. Print a clearer message to help users understand the issue. Signed-off-by: Corentin Guillevic <corentin.guillevic@smile.fr> --- meta/lib/oeqa/utils/qemurunner.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)