[yocto] adding package management

Tim Coote tim+yoctoproject.org at coote.org
Wed Dec 12 03:31:30 PST 2012


Thanks, Ross. That fixed that. Either I had finger trouble before when invoking rpm or I needed to remove the ? from the ?= in PACKAGE_CLASSES ?= "package_rpm"

Am I right in thinking that yum isn't in the standard recipes?

Tim
On 12 Dec 2012, at 11:18, "Burton, Ross" <ross.burton at intel.com> wrote:

> On 12 December 2012 11:13, Tim Coote <tim+yoctoproject.org at coote.org> wrote:
>> I'm trying to add package management to a yocto build. My preference would be yum/rpm on a rh/centos/fedora distro (as that's the distro used elsewhere), but I don't think that's feasible.
>> 
>> I've added:
>> [code]
>> IMAGE_FEATURES += "package-management"
>> IMAGE_INSTALL_append += " apt perl"
>> [/code]
> 
> Why are you adding apt when you said you wanted rpm?
> 
> Just ensure IMAGE_FEATURES has package-mangement and set
> PACKAGE_CLASSES to "package_rpm".
> 
> Ross




More information about the yocto mailing list