* is there an easy way to see the actual files that went into a package?
@ 2013-11-22 13:15 Robert P. J. Day
2013-11-22 13:42 ` Burton, Ross
2013-11-22 14:01 ` Gary Thomas
0 siblings, 2 replies; 4+ messages in thread
From: Robert P. J. Day @ 2013-11-22 13:15 UTC (permalink / raw)
To: OE Core mailing list
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?
rday
--
========================================================================
Robert P. J. Day Ottawa, Ontario, CANADA
http://crashcourse.ca
Twitter: http://twitter.com/rpjday
LinkedIn: http://ca.linkedin.com/in/rpjday
========================================================================
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: is there an easy way to see the actual files that went into a package?
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
1 sibling, 1 reply; 4+ messages in thread
From: Burton, Ross @ 2013-11-22 13:42 UTC (permalink / raw)
To: Robert P. J. Day; +Cc: OE Core mailing list
On 22 November 2013 13:15, Robert P. J. Day <rpjday@crashcourse.ca> 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 contents [packagename]"
(known issue is that it doesn't display empty directories)
Ross
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: is there an easy way to see the actual files that went into a package?
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:01 ` Gary Thomas
1 sibling, 0 replies; 4+ messages in thread
From: Gary Thomas @ 2013-11-22 14:01 UTC (permalink / raw)
To: openembedded-core
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
------------------------------------------------------------
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: is there an easy way to see the actual files that went into a package?
2013-11-22 13:42 ` Burton, Ross
@ 2013-11-22 14:14 ` Robert P. J. Day
0 siblings, 0 replies; 4+ messages in thread
From: Robert P. J. Day @ 2013-11-22 14:14 UTC (permalink / raw)
To: Burton, Ross; +Cc: OE Core mailing list
On Fri, 22 Nov 2013, Burton, Ross wrote:
> On 22 November 2013 13:15, Robert P. J. Day <rpjday@crashcourse.ca> 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 contents [packagename]"
>
> (known issue is that it doesn't display empty directories)
that's it, that's what i was after, thanks. i should spend more time
playing with "bb", it's turning out to be massively useful.
rday
--
========================================================================
Robert P. J. Day Ottawa, Ontario, CANADA
http://crashcourse.ca
Twitter: http://twitter.com/rpjday
LinkedIn: http://ca.linkedin.com/in/rpjday
========================================================================
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2013-11-22 14:14 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox