diff options
Diffstat (limited to 'meta/classes/sstate.bbclass')
-rw-r--r-- | meta/classes/sstate.bbclass | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/meta/classes/sstate.bbclass b/meta/classes/sstate.bbclass index 77ec402704..9a76a6b3cc 100644 --- a/meta/classes/sstate.bbclass +++ b/meta/classes/sstate.bbclass | |||
@@ -261,7 +261,7 @@ def sstate_installpkg(ss, d): | |||
261 | # Add sstateinst to each filename in fixmepath, use xargs to efficiently call sed | 261 | # Add sstateinst to each filename in fixmepath, use xargs to efficiently call sed |
262 | sstate_hardcode_cmd = "sed -e 's:^:%s:g' %s | xargs %s" % (sstateinst, fixmefn, sstate_sed_cmd) | 262 | sstate_hardcode_cmd = "sed -e 's:^:%s:g' %s | xargs %s" % (sstateinst, fixmefn, sstate_sed_cmd) |
263 | 263 | ||
264 | print "Replacing fixme paths in sstate package: %s" % (sstate_hardcode_cmd) | 264 | bb.note("Replacing fixme paths in sstate package: %s" % (sstate_hardcode_cmd)) |
265 | subprocess.call(sstate_hardcode_cmd, shell=True) | 265 | subprocess.call(sstate_hardcode_cmd, shell=True) |
266 | 266 | ||
267 | # Need to remove this or we'd copy it into the target directory and may | 267 | # Need to remove this or we'd copy it into the target directory and may |
@@ -408,14 +408,14 @@ def sstate_hardcode_path(d): | |||
408 | # This has the side effect of making sure the vfs cache is hot | 408 | # This has the side effect of making sure the vfs cache is hot |
409 | sstate_hardcode_cmd = "%s | xargs %s | %s | xargs %s %s" % (sstate_scan_cmd, sstate_grep_cmd, sstate_filelist_cmd, xargs_no_empty_run_cmd, sstate_sed_cmd) | 409 | sstate_hardcode_cmd = "%s | xargs %s | %s | xargs %s %s" % (sstate_scan_cmd, sstate_grep_cmd, sstate_filelist_cmd, xargs_no_empty_run_cmd, sstate_sed_cmd) |
410 | 410 | ||
411 | print "Removing hardcoded paths from sstate package: '%s'" % (sstate_hardcode_cmd) | 411 | bb.note("Removing hardcoded paths from sstate package: '%s'" % (sstate_hardcode_cmd)) |
412 | subprocess.call(sstate_hardcode_cmd, shell=True) | 412 | subprocess.call(sstate_hardcode_cmd, shell=True) |
413 | 413 | ||
414 | # If the fixmefn is empty, remove it.. | 414 | # If the fixmefn is empty, remove it.. |
415 | if os.stat(fixmefn).st_size == 0: | 415 | if os.stat(fixmefn).st_size == 0: |
416 | os.remove(fixmefn) | 416 | os.remove(fixmefn) |
417 | else: | 417 | else: |
418 | print "Replacing absolute paths in fixmepath file: '%s'" % (sstate_filelist_relative_cmd) | 418 | bb.note("Replacing absolute paths in fixmepath file: '%s'" % (sstate_filelist_relative_cmd)) |
419 | subprocess.call(sstate_filelist_relative_cmd, shell=True) | 419 | subprocess.call(sstate_filelist_relative_cmd, shell=True) |
420 | 420 | ||
421 | def sstate_package(ss, d): | 421 | def sstate_package(ss, d): |