summaryrefslogtreecommitdiffstats
path: root/meta-oe/classes/socorro-syms.bbclass
diff options
context:
space:
mode:
Diffstat (limited to 'meta-oe/classes/socorro-syms.bbclass')
-rw-r--r--meta-oe/classes/socorro-syms.bbclass8
1 files changed, 4 insertions, 4 deletions
diff --git a/meta-oe/classes/socorro-syms.bbclass b/meta-oe/classes/socorro-syms.bbclass
index 3f6ae6319b..cc435aba1e 100644
--- a/meta-oe/classes/socorro-syms.bbclass
+++ b/meta-oe/classes/socorro-syms.bbclass
@@ -21,10 +21,10 @@ FILES_${PN}-socorro-syms = "/usr/share/socorro-syms"
21 21
22python symbol_file_preprocess() { 22python symbol_file_preprocess() {
23 23
24 package_dir = d.getVar("PKGD", True) 24 package_dir = d.getVar("PKGD")
25 breakpad_bin = d.getVar("BREAKPAD_BIN", True) 25 breakpad_bin = d.getVar("BREAKPAD_BIN")
26 if not breakpad_bin: 26 if not breakpad_bin:
27 package_name = d.getVar("PN", True) 27 package_name = d.getVar("PN")
28 bb.error("Package %s depends on Breakpad via socorro-syms. See " 28 bb.error("Package %s depends on Breakpad via socorro-syms. See "
29 "breakpad.bbclass for instructions on setting up the Breakpad " 29 "breakpad.bbclass for instructions on setting up the Breakpad "
30 "configuration." % package_name) 30 "configuration." % package_name)
@@ -106,7 +106,7 @@ def repository_path(d, source_file_path):
106 # child of the build directory TOPDIR. 106 # child of the build directory TOPDIR.
107 git_root_dir = run_command( 107 git_root_dir = run_command(
108 "git rev-parse --show-toplevel", os.path.dirname(source_file_path)) 108 "git rev-parse --show-toplevel", os.path.dirname(source_file_path))
109 if not git_root_dir.startswith(d.getVar("TOPDIR", True)): 109 if not git_root_dir.startswith(d.getVar("TOPDIR")):
110 return None 110 return None
111 111
112 return git_repository_path(source_file_path) 112 return git_repository_path(source_file_path)