All of lore.kernel.org
 help / color / mirror / Atom feed
* opkg list-installed is empty
@ 2013-06-03 11:49 Seth Bollinger
  2013-06-03 12:10 ` Paul Eggleton
  0 siblings, 1 reply; 3+ messages in thread
From: Seth Bollinger @ 2013-06-03 11:49 UTC (permalink / raw)
  To: yocto@yoctoproject.org

[-- Attachment #1: Type: text/plain, Size: 554 bytes --]

Hello All,

I'm having a problem with opkg.  When I run the image I've built with the
package-management feature and PACKAGE_CLASS equal to package_ipk, the
image has no installed packages.  They're obviously installed, because it's
running but "opkg list-installed" is empty.  I was expecting a large list
of installed packages.  I don't see anything I would expect to see in
/var/lib/opkg.  I must be missing something fundamental, but after
reviewing the documentation and code, I'm coming up empty.  Please
enlighten me!

Thanks,

Seth

[-- Attachment #2: Type: text/html, Size: 683 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: opkg list-installed is empty
  2013-06-03 11:49 opkg list-installed is empty Seth Bollinger
@ 2013-06-03 12:10 ` Paul Eggleton
  2013-06-04  1:47   ` seth bollinger
  0 siblings, 1 reply; 3+ messages in thread
From: Paul Eggleton @ 2013-06-03 12:10 UTC (permalink / raw)
  To: Seth Bollinger; +Cc: yocto

Hi Seth,

On Monday 03 June 2013 06:49:06 Seth Bollinger wrote:
> I'm having a problem with opkg.  When I run the image I've built with the
> package-management feature and PACKAGE_CLASS equal to package_ipk, the
> image has no installed packages.  They're obviously installed, because it's
> running but "opkg list-installed" is empty.  I was expecting a large list
> of installed packages.  I don't see anything I would expect to see in
> /var/lib/opkg.  I must be missing something fundamental, but after
> reviewing the documentation and code, I'm coming up empty.  Please
> enlighten me!

If /var/lib/opkg is empty in your image, it can only be because its contents 
have been deleted; and that could be either because the value of 
IMAGE_FEATURES doesn't end up containing package-management, or alternatively 
remove_packaging_data_files is being added manually to 
ROOTFS_POSTPROCESS_COMMAND (as core-image-minimal does). I'd suggest using 
bitbake -e your-image | less and looking at the values of IMAGE_FEATURES and 
ROOTFS_POSTPROCESS_COMMAND to see what's really going on.

Cheers,
Paul

-- 

Paul Eggleton
Intel Open Source Technology Centre


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: opkg list-installed is empty
  2013-06-03 12:10 ` Paul Eggleton
@ 2013-06-04  1:47   ` seth bollinger
  0 siblings, 0 replies; 3+ messages in thread
From: seth bollinger @ 2013-06-04  1:47 UTC (permalink / raw)
  To: Paul Eggleton; +Cc: yocto

[-- Attachment #1: Type: text/plain, Size: 792 bytes --]


> Paul Eggleton <mailto:paul.eggleton@linux.intel.com>
> June 3, 2013 7:10 47AM
> Hi Seth,
>
> If /var/lib/opkg is empty in your image, it can only be because its 
> contents
> have been deleted; and that could be either because the value of
> IMAGE_FEATURES doesn't end up containing package-management, or 
> alternatively
> remove_packaging_data_files is being added manually to
> ROOTFS_POSTPROCESS_COMMAND (as core-image-minimal does). I'd suggest 
> using
> bitbake -e your-image | less and looking at the values of 
> IMAGE_FEATURES and
> ROOTFS_POSTPROCESS_COMMAND to see what's really going on.
>
> Cheers,
> Paul
>
Thanks Paul!  As usual, you nailed it.  I missed the 
ROOTFS_POSTPROCESS_COMMAND that I pulled in when I copied 
core-image-minimal.

Seth


[-- Attachment #2.1: Type: text/html, Size: 2064 bytes --]

[-- Attachment #2.2: compose-unknown-contact.jpg --]
[-- Type: image/jpeg, Size: 801 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2013-06-04  1:47 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-06-03 11:49 opkg list-installed is empty Seth Bollinger
2013-06-03 12:10 ` Paul Eggleton
2013-06-04  1:47   ` seth bollinger

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.