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 <[email protected]> --- meta/lib/oeqa/utils/qemurunner.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.51.0
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#233410): https://lists.openembedded.org/g/openembedded-core/message/233410 Mute This Topic: https://lists.openembedded.org/mt/118385330/21656 Group Owner: [email protected] Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
