All of lore.kernel.org
 help / color / mirror / Atom feed
From: Gary Thomas <gary@mlbassoc.com>
To: openembedded-core@lists.openembedded.org
Subject: Re: is there an easy way to see the actual files that went into a package?
Date: Fri, 22 Nov 2013 07:01:47 -0700	[thread overview]
Message-ID: <528F63CB.1010107@mlbassoc.com> (raw)
In-Reply-To: <alpine.DEB.2.02.1311220812240.14584@oneiric>

On 2013-11-22 06:15, Robert P. J. Day wrote:
>
>    if i use "bb show" to examine the files that go into each package
> (eg, for "zlib" here), what i get is the collection of wildcards that
> will, of course, still be processed when sequentially creating each
> package:
>
> $ bb show -r zlib FILES_zlib-dev
> Parsing recipes..done.
> # FILES_zlib-dev=${includedir} ${FILES_SOLIBSDEV} ${libdir}/*.la
> ${libdir}/*.o ${libdir}/pkgconfig ${datadir}/pkgconfig
> ${datadir}/aclocal ${base_libdir}/*.o ${libdir}/${BPN}/*.la
> ${base_libdir}/*.la
> FILES_zlib-dev="/usr/include /lib/lib*.so /usr/lib/lib*.so
> /usr/lib/*.la /usr/lib/*.o /usr/lib/pkgconfig /usr/share/pkgconfig
> /usr/share/aclocal /lib/*.o /usr/lib/zlib/*.la /lib/*.la"
> $
>
>    is there an equivalently simple way to display the end result of the
> contents of each package?

You can use the package manager (opkg, rpm) to ask for this info.

For example, using opkg on an installed image:
   # opkg list-installed
   # opkg files ethtool

You can even run this on an [uninstalled] image.  From your build tree,
the tools are accessible and the image root file system as well.  In the
example above:
   $ tmp/sysroots/x86_64-linux/usr/bin/opkg-cl -f tmp/work/sabrelite-poky-linux-gnueabi/poky-x11-image/1.0-r0/opkg.conf -o 
tmp/work/sabrelite-poky-linux-gnueabi/poky-x11-image/1.0-r0/rootfs list-installed
   $ tmp/sysroots/x86_64-linux/usr/bin/opkg-cl -f tmp/work/sabrelite-poky-linux-gnueabi/poky-x11-image/1.0-r0/opkg.conf -o 
tmp/work/sabrelite-poky-linux-gnueabi/poky-x11-image/1.0-r0/rootfs files ethtool

-- 
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------


      parent reply	other threads:[~2013-11-22 14:01 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-11-22 13:15 is there an easy way to see the actual files that went into a package? Robert P. J. Day
2013-11-22 13:42 ` Burton, Ross
2013-11-22 14:14   ` Robert P. J. Day
2013-11-22 14:01 ` Gary Thomas [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=528F63CB.1010107@mlbassoc.com \
    --to=gary@mlbassoc.com \
    --cc=openembedded-core@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.