All of lore.kernel.org
 help / color / mirror / Atom feed
* How to include RPM database into target image?
@ 2012-12-29 19:05 Alex J Lennon
  2012-12-31 22:05 ` Paul Eggleton
  0 siblings, 1 reply; 3+ messages in thread
From: Alex J Lennon @ 2012-12-29 19:05 UTC (permalink / raw)
  To: yocto


Presumably this is very obvious, apologies, but I can't track down the 
answer.

I'm building a distro based on Yocto for a Raspberry Pi but I don't seem 
to have
the RPM database / sample feeds installed on the target image.

Having hunted around and googled I can't spot the environment variable or
recipe I presumably need to set/include.

Can anybody advise?

Many Thanks,

Alex



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

* Re: How to include RPM database into target image?
  2012-12-29 19:05 How to include RPM database into target image? Alex J Lennon
@ 2012-12-31 22:05 ` Paul Eggleton
  2013-01-01 18:12   ` Alex J Lennon
  0 siblings, 1 reply; 3+ messages in thread
From: Paul Eggleton @ 2012-12-31 22:05 UTC (permalink / raw)
  To: Alex J Lennon; +Cc: yocto

Hi Alex,

On Saturday 29 December 2012 19:05:05 Alex J Lennon wrote:
> I'm building a distro based on Yocto for a Raspberry Pi but I don't seem
> to have the RPM database / sample feeds installed on the target image.
> 
> Having hunted around and googled I can't spot the environment variable or
> recipe I presumably need to set/include.

You only need to ensure that "package-management" is present in 
IMAGE_FEATURES. You can do this from local.conf by adding the following to it:

EXTRA_IMAGE_FEATURES += "package-management"

This will ensure the package manager's database (RPM if you've selected RPM 
packaging) is preserved, but won't set up any sample feeds. The latter would 
need to be done manually or via ROOTFS_POSTPROCESS_COMMAND.

Cheers,
Paul

-- 

Paul Eggleton
Intel Open Source Technology Centre


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

* Re: How to include RPM database into target image?
  2012-12-31 22:05 ` Paul Eggleton
@ 2013-01-01 18:12   ` Alex J Lennon
  0 siblings, 0 replies; 3+ messages in thread
From: Alex J Lennon @ 2013-01-01 18:12 UTC (permalink / raw)
  To: Paul Eggleton; +Cc: yocto

Hi Paul,

 >You only need to ensure that "package-management" is present in
 >IMAGE_FEATURES. You can do this from local.conf by adding the 
following to it:

Many thanks - that seems to do the trick. And Happy New Year!

Regards,

Alex



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

end of thread, other threads:[~2013-01-01 18:12 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-12-29 19:05 How to include RPM database into target image? Alex J Lennon
2012-12-31 22:05 ` Paul Eggleton
2013-01-01 18:12   ` Alex J Lennon

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.