diff options
Diffstat (limited to 'meta/classes')
| -rw-r--r-- | meta/classes/buildhistory.bbclass | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/meta/classes/buildhistory.bbclass b/meta/classes/buildhistory.bbclass index cdcf99a499..a613306270 100644 --- a/meta/classes/buildhistory.bbclass +++ b/meta/classes/buildhistory.bbclass | |||
| @@ -446,7 +446,7 @@ def buildhistory_list_installed(d, rootfs_type="image"): | |||
| 446 | output_file_full = os.path.join(d.getVar('WORKDIR'), output_file) | 446 | output_file_full = os.path.join(d.getVar('WORKDIR'), output_file) |
| 447 | 447 | ||
| 448 | with open(output_file_full, 'w') as output: | 448 | with open(output_file_full, 'w') as output: |
| 449 | output.write(format_pkg_list(pkgs, output_type)) | 449 | output.write(format_pkg_list(pkgs, output_type, d.getVar('PKGDATA_DIR'))) |
| 450 | 450 | ||
| 451 | python buildhistory_list_installed_image() { | 451 | python buildhistory_list_installed_image() { |
| 452 | buildhistory_list_installed(d) | 452 | buildhistory_list_installed(d) |
| @@ -487,6 +487,8 @@ buildhistory_get_installed() { | |||
| 487 | -e 's:|: -> :' \ | 487 | -e 's:|: -> :' \ |
| 488 | -e 's:"\[REC\]":[style=dotted]:' \ | 488 | -e 's:"\[REC\]":[style=dotted]:' \ |
| 489 | -e 's:"\([<>=]\+\)" "\([^"]*\)":[label="\1 \2"]:' \ | 489 | -e 's:"\([<>=]\+\)" "\([^"]*\)":[label="\1 \2"]:' \ |
| 490 | -e 's:"\([*]\+\)" "\([^"]*\)":[label="\2"]:' \ | ||
| 491 | -e 's:"\[RPROVIDES\]":[style=dashed]:' \ | ||
| 490 | $1/depends.tmp | 492 | $1/depends.tmp |
| 491 | # Add header, sorted and de-duped contents and footer and then delete the temp file | 493 | # Add header, sorted and de-duped contents and footer and then delete the temp file |
| 492 | printf "digraph depends {\n node [shape=plaintext]\n" > $1/depends.dot | 494 | printf "digraph depends {\n node [shape=plaintext]\n" > $1/depends.dot |
