($INBOX_DIR/description missing)
 help / color / mirror / Atom feed
From: Ross Burton <ross.burton@arm.com>
To: meta-arm@lists.yoctoproject.org
Cc: nd@arm.com
Subject: [PATCH] arm-systemready: Change get_json_result_dir helper
Date: Thu, 11 Apr 2024 09:48:09 +0000	[thread overview]
Message-ID: <20240411094809.1685341-1-ross.burton@arm.com> (raw)

From: Debbie Martin <Debbie.Martin@arm.com>

The get_testimage_json_result_dir helper in OE core was deleted in
commit 01b1a6a5a4e7cede4d23a981b5144ae9c8306274 in preference for a
common utility. Change the reference within the Arm SystemReady ACS
log handler utlity.

Signed-off-by: Debbie Martin <Debbie.Martin@arm.com>
---
 meta-arm-systemready/classes/arm-systemready-acs.bbclass | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/meta-arm-systemready/classes/arm-systemready-acs.bbclass b/meta-arm-systemready/classes/arm-systemready-acs.bbclass
index 28e800c8..9dc3635d 100644
--- a/meta-arm-systemready/classes/arm-systemready-acs.bbclass
+++ b/meta-arm-systemready/classes/arm-systemready-acs.bbclass
@@ -86,7 +86,7 @@ do_testimage[depends] += "edk2-test-parser-native:do_populate_sysroot \
 # Process the logs
 python acs_logs_handle() {
     import logging
-    from oeqa.utils import make_logger_bitbake_compatible
+    from oeqa.utils import make_logger_bitbake_compatible, get_json_result_dir
     import shutil
 
     deploy_dir_image = d.getVar('DEPLOY_DIR_IMAGE')
@@ -117,7 +117,7 @@ python acs_logs_handle() {
     os.symlink(os.path.basename(logdir), loglink)
 
     # Create a top-level symlink to the acs_results directory
-    top_logdir = os.path.join(get_testimage_json_result_dir(d), d.getVar("PN"))
+    top_logdir = os.path.join(get_json_result_dir(d), d.getVar("PN"))
     log_name = d.getVar('ACS_LOG_NAME')
     top_link = os.path.join(top_logdir, log_name)
     log_target = os.path.relpath(logdir, top_logdir)
-- 
2.34.1



             reply	other threads:[~2024-04-11  9:48 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-04-11  9:48 Ross Burton [this message]
2024-04-11 18:39 ` [PATCH] arm-systemready: Change get_json_result_dir helper Jon Mason

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20240411094809.1685341-1-ross.burton@arm.com \
    --to=ross.burton@arm.com \
    --cc=meta-arm@lists.yoctoproject.org \
    --cc=nd@arm.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).