Skip to contentSkip to conversation

arm-systemready: Change get_json_result_dir helper

PATCH Applied Ross Burton 2 participants 2 messages Apr 11, 2024

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 arm-systemready: Change get_json_result_dir helper

From: Debbie Martin <[email protected]>

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.

---
 meta-arm-systemready/classes/arm-systemready-acs.bbclass | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
meta-arm-systemready/classes/arm-systemready-acs.bbclass +2 -2
index 28e800c8..9dc3635d 100644
@@ -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)
Signature · 1 line
2.34.1
Applied
#1 lore raw
Quoted 6 lines · Ross Burton

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.

Applied, thanks!

[1/1] arm-systemready: Change get_json_result_dir helper

      commit: 603d9dbfe4a7d0a12bb9f0b16e6fd576f4c2df0d

Best regards,

Signature · 1 line
Jon Mason <[email protected]>