diff options
-rw-r--r-- | meta/classes/buildhistory.bbclass | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/meta/classes/buildhistory.bbclass b/meta/classes/buildhistory.bbclass index f99aa7f690..386c32cc67 100644 --- a/meta/classes/buildhistory.bbclass +++ b/meta/classes/buildhistory.bbclass | |||
@@ -300,16 +300,16 @@ buildhistory_get_image_installed() { | |||
300 | echo $pkgsize $pkg >> ${BUILDHISTORY_DIR_IMAGE}/installed-package-sizes.tmp | 300 | echo $pkgsize $pkg >> ${BUILDHISTORY_DIR_IMAGE}/installed-package-sizes.tmp |
301 | fi | 301 | fi |
302 | 302 | ||
303 | deps=`list_package_depends $pkg | sort | uniq` | 303 | deps=`list_package_depends $pkg` |
304 | for dep in $deps ; do | 304 | for dep in $deps ; do |
305 | echo "$pkg OPP $dep;" | sed -e 's:-:_:g' -e 's:\.:_:g' -e 's:+::g' | sed 's:OPP:->:g' >> ${BUILDHISTORY_DIR_IMAGE}/depends.dot | 305 | echo "$pkg OPP $dep;" | sed -e 's:-:_:g' -e 's:\.:_:g' -e 's:+::g' | sed 's:OPP:->:g' |
306 | done | 306 | done |
307 | 307 | ||
308 | recs=`list_package_recommends $pkg | sort | uniq` | 308 | recs=`list_package_recommends $pkg` |
309 | for rec in $recs ; do | 309 | for rec in $recs ; do |
310 | echo "$pkg OPP $rec [style=dotted];" | sed -e 's:-:_:g' -e 's:\.:_:g' -e 's:+::g' | sed 's:OPP:->:g' >> ${BUILDHISTORY_DIR_IMAGE}/depends.dot | 310 | echo "$pkg OPP $rec [style=dotted];" | sed -e 's:-:_:g' -e 's:\.:_:g' -e 's:+::g' | sed 's:OPP:->:g' |
311 | done | 311 | done |
312 | done | 312 | done | sort | uniq >> ${BUILDHISTORY_DIR_IMAGE}/depends.dot |
313 | echo "}" >> ${BUILDHISTORY_DIR_IMAGE}/depends.dot | 313 | echo "}" >> ${BUILDHISTORY_DIR_IMAGE}/depends.dot |
314 | 314 | ||
315 | cat ${BUILDHISTORY_DIR_IMAGE}/installed-package-sizes.tmp | sort -n -r | awk '{print $1 "\tKiB " $2}' > ${BUILDHISTORY_DIR_IMAGE}/installed-package-sizes.txt | 315 | cat ${BUILDHISTORY_DIR_IMAGE}/installed-package-sizes.tmp | sort -n -r | awk '{print $1 "\tKiB " $2}' > ${BUILDHISTORY_DIR_IMAGE}/installed-package-sizes.txt |