diff mbox series

testimage: Only note missing target directories, don't warn

Message ID 20230617105052.1941482-1-richard.purdie@linuxfoundation.org
State Accepted, archived
Commit 52db25c58069c4f440da33daf0474255c9fa870b
Headers show
Series testimage: Only note missing target directories, don't warn | expand

Commit Message

Richard Purdie June 17, 2023, 10:50 a.m. UTC
We don't need to see warnings for missing target debug directories. Just
show a note in the logs instead.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
---
 meta/classes-recipe/testimage.bbclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/meta/classes-recipe/testimage.bbclass b/meta/classes-recipe/testimage.bbclass
index 765184c1800..0f02eadf573 100644
--- a/meta/classes-recipe/testimage.bbclass
+++ b/meta/classes-recipe/testimage.bbclass
@@ -212,7 +212,7 @@  def get_artifacts_list(target, raw_list):
                 raise Exception()
             result += output.split()
         except:
-            bb.warn(f"No file/directory matching path {raw_path}")
+            bb.note(f"No file/directory matching path {raw_path}")
 
     return result