list of packages from .dot
hi,
maybe there is some other, more elegant way but in order to obtain all packages that will be installed for a given image I use the following little sequence of bash fiddling on a .dot file generated by bitbake -g. Maybe someone else finds it useful or wants to tell me what a fool I am because there is a much easier way to do this :)
#!/bin/bash
# argument $1 = <dot file>
cat $1 | grep -v "label\|digraph\|\}\|virtual" | sed 's/^ \"\([[:alnum:]\.+\-]\+\)\"\ ->\ \"\ \?\([[:alnum:]\.\+\ \?-]\+\)\"\(\
\[style=.*]\)\?$/\1 \2/' | sed 's/\ /\n/g' | sort | uniq
remove the "\|virtual" part if you want virtual packages listed. as well.
regards,
Tobi