How to include RPM database into target image?
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
Hi Alex,
Quoted 5 lines · 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
Signature · 2 lines
Paul Eggleton Intel Open Source Technology Centre
Hi Paul,
Quoted 2 lines
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