diff options
-rw-r--r-- | meta/classes/buildhistory.bbclass | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/meta/classes/buildhistory.bbclass b/meta/classes/buildhistory.bbclass index e3f92018f2..080f2c79b3 100644 --- a/meta/classes/buildhistory.bbclass +++ b/meta/classes/buildhistory.bbclass | |||
@@ -325,10 +325,10 @@ buildhistory_get_installed() { | |||
325 | fi | 325 | fi |
326 | 326 | ||
327 | # Produce dependency graph | 327 | # Produce dependency graph |
328 | # First, filter out characters that cause issues for dot | 328 | # First, quote each name to handle characters that cause issues for dot |
329 | rootfs_list_installed_depends | sed -e 's:-:_:g' -e 's:\.:_:g' -e 's:+::g' > $1/depends.tmp | 329 | rootfs_list_installed_depends | sed 's:\([^| ]*\):"\1":g' > $1/depends.tmp |
330 | # Change delimiter from pipe to -> and set style for recommend lines | 330 | # Change delimiter from pipe to -> and set style for recommend lines |
331 | sed -i -e 's:|: -> :' -e 's:\[REC\]:[style=dotted]:' -e 's:$:;:' $1/depends.tmp | 331 | sed -i -e 's:|: -> :' -e 's:"\[REC\]":[style=dotted]:' -e 's:$:;:' $1/depends.tmp |
332 | # Add header, sorted and de-duped contents and footer and then delete the temp file | 332 | # Add header, sorted and de-duped contents and footer and then delete the temp file |
333 | printf "digraph depends {\n node [shape=plaintext]\n" > $1/depends.dot | 333 | printf "digraph depends {\n node [shape=plaintext]\n" > $1/depends.dot |
334 | cat $1/depends.tmp | sort | uniq >> $1/depends.dot | 334 | cat $1/depends.tmp | sort | uniq >> $1/depends.dot |
@@ -354,10 +354,10 @@ buildhistory_get_installed() { | |||
354 | 354 | ||
355 | if [ "$2" != "sdk" ] ; then | 355 | if [ "$2" != "sdk" ] ; then |
356 | # Produce some cut-down graphs (for readability) | 356 | # Produce some cut-down graphs (for readability) |
357 | grep -v kernel_image $1/depends.dot | grep -v kernel_2 | grep -v kernel_3 > $1/depends-nokernel.dot | 357 | grep -v kernel_image $1/depends.dot | grep -v kernel-2 | grep -v kernel-3 > $1/depends-nokernel.dot |
358 | grep -v libc6 $1/depends-nokernel.dot | grep -v libgcc > $1/depends-nokernel-nolibc.dot | 358 | grep -v libc6 $1/depends-nokernel.dot | grep -v libgcc > $1/depends-nokernel-nolibc.dot |
359 | grep -v update_ $1/depends-nokernel-nolibc.dot > $1/depends-nokernel-nolibc-noupdate.dot | 359 | grep -v update- $1/depends-nokernel-nolibc.dot > $1/depends-nokernel-nolibc-noupdate.dot |
360 | grep -v kernel_module $1/depends-nokernel-nolibc-noupdate.dot > $1/depends-nokernel-nolibc-noupdate-nomodules.dot | 360 | grep -v kernel-module $1/depends-nokernel-nolibc-noupdate.dot > $1/depends-nokernel-nolibc-noupdate-nomodules.dot |
361 | fi | 361 | fi |
362 | 362 | ||
363 | # add complementary package information | 363 | # add complementary package information |