[prev in list] [next in list] [prev in thread] [next in thread]
List: openembedded-devel
Subject: [oe] list of packages from .dot
From: tobias.pflug () gmx ! net (Tobias Pflug)
Date: 2007-10-27 11:12:50
Message-ID: 1193483570.6376.106.camel () toontown
[Download RAW message or body]
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
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic