insane: check for .debug as a path component, not part of the path string
PATCH 1/1 insane: check for .debug as a path component, not part of the path string
From: Chris Larson <[email protected]>
Signed-off-by Chris Larson <[email protected]>
--- classes/insane.bbclass | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
classes/insane.bbclass +1 -1
@@ -279,7 +279,7 @@ def package_qa_check_dbg(path, name,d, elf): sane = True if not "-dbg" in name: - if '.debug' in path: + if '.debug' in path.split(os.path.sep): error_msg = "non debug package contains .debug directory: %s path %s" % \ (name, package_qa_clean_path(path,d)) sane = package_qa_handle_error(3, error_msg, name, path, d)
Signature · 1 line
1.6.3.3
Quoted 3 lines · an unknown sender
From: Chris Larson <
chris_larsonat mentor.com>Signed-off-by Chris Larson <chris_larson at mentor.com>
Acked-by Tom Rini <[email protected]>
Quoted 17 lines
--- classes/insane.bbclass | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)classes/insane.bbclass +1
-1@@ -279,7 +279,7 @@ def package_qa_check_dbg(path, name,d, elf): sane = True if not "-dbg" in name: - if '.debug' in path: + if '.debug' in path.split(os.path.sep): error_msg = "non debug package contains .debug directory: %s path %s" % \ (name, package_qa_clean_path(path,d)) sane = package_qa_handle_error(3, error_msg, name, path, d)
Signature · 2 lines
Tom Rini <[email protected]> Mentor Graphics Corporation
Richard Purdie
Acked-byQuoted 6 lines · Tom Rini
Quoted 3 lines · an unknown sender
From: Chris Larson <
chris_larsonat mentor.com>Signed-off-by Chris Larson <chris_larson at mentor.com>Acked-by Tom Rini <[email protected]>
Acked-by Richard Purdie <[email protected]>
Quoted 19 lines
Quoted 17 lines
--- classes/insane.bbclass | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)classes/insane.bbclass +1
-1@@ -279,7 +279,7 @@ def package_qa_check_dbg(path, name,d, elf): sane = True if not "-dbg" in name: - if '.debug' in path: + if '.debug' in path.split(os.path.sep): error_msg = "non debug package contains .debug directory: %s path %s" % \ (name, package_qa_clean_path(path,d)) sane = package_qa_handle_error(3, error_msg, name, path, d)