Re: [yocto] adding package management

2012-12-12 Thread Burton, Ross
On 12 December 2012 11:13, Tim Coote tim+yoctoproject@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
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] adding package management

2012-12-12 Thread Tim Coote
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.bur...@intel.com wrote:

 On 12 December 2012 11:13, Tim Coote tim+yoctoproject@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

___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] adding package management

2012-12-12 Thread Burton, Ross
On 12 December 2012 11:31, Tim Coote tim+yoctoproject@coote.org wrote:
 Am I right in thinking that yum isn't in the standard recipes?

Yum, no.  Zypper is in oe-core and is used when you construct a RPM-based image.

(note that Zypper is being replaced by Smart in oe-core master)

Ross
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] adding package management

2012-12-12 Thread Tim Coote
ok. Thanks. 

just spotted the split between rpm / rpm5 and yum. I suppose that the knock on 
is managing multiple repos for different update managers.

don't suppose you know if there are material differences from a 
packaging/dependency point of view between rpm4 and rpm5?

is there an eta for smart in the mainstream core?
On 12 Dec 2012, at 11:43, Burton, Ross ross.bur...@intel.com wrote:

 On 12 December 2012 11:31, Tim Coote tim+yoctoproject@coote.org wrote:
 Am I right in thinking that yum isn't in the standard recipes?
 
 Yum, no.  Zypper is in oe-core and is used when you construct a RPM-based 
 image.
 
 (note that Zypper is being replaced by Smart in oe-core master)
 
 Ross

___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] adding package management

2012-12-12 Thread Burton, Ross
On 12 December 2012 12:07, Tim Coote tim+yoctoproject@coote.org wrote:
 don't suppose you know if there are material differences from a 
 packaging/dependency point of view between rpm4 and rpm5?

Not sure, I prefer opkg for Yocto and am a Debian user for my desktop.s

 is there an eta for smart in the mainstream core?

The patches are being finalised right now.

Ross
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] adding package management

2012-12-12 Thread Mark Hatle

On 12/12/12 5:43 AM, Burton, Ross wrote:

On 12 December 2012 11:31, Tim Coote tim+yoctoproject@coote.org wrote:

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


Yum, no.  Zypper is in oe-core and is used when you construct a RPM-based image.

(note that Zypper is being replaced by Smart in oe-core master)


See the following for more information on the change:
http://permalink.gmane.org/gmane.comp.handhelds.openembedded.core/29105

The one feature that Smart does not have that Zypper does (that I know people 
want) is delta-rpm support.  Otherwise it seems to be better for our uses in 
Embedded Systems.


--Mark


Ross
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto



___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] adding package management

2012-12-12 Thread Mark Hatle

On 12/12/12 6:07 AM, Tim Coote wrote:

ok. Thanks.

just spotted the split between rpm / rpm5 and yum. I suppose that the knock on 
is managing multiple repos for different update managers.

don't suppose you know if there are material differences from a 
packaging/dependency point of view between rpm4 and rpm5?


Generated packages are more or less compatible.  The only big difference is that 
all RPM5 packages are 'self-signed' to integrity purposes.  Self-signing is 
better then simply md5sums.  (They of course can also be signed with a specific 
key to indicate trust as well.)


But the primary difference is in cross compiling and support for the activities 
that we need when cross-constructing root filesystems and such.  There is also 
an aspect of 'control' behind this.  We have input into the RPM5 development, in 
RPM4 we have absolutely no influence and they have removed everything that 
helped in a cross-compiled environment after the split.



is there an eta for smart in the mainstream core?


Hopefully the next version of the integration patches should be sent up today. 
We're really trying to get the code in by next week.


--Mark


On 12 Dec 2012, at 11:43, Burton, Ross ross.bur...@intel.com wrote:


On 12 December 2012 11:31, Tim Coote tim+yoctoproject@coote.org wrote:

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


Yum, no.  Zypper is in oe-core and is used when you construct a RPM-based image.

(note that Zypper is being replaced by Smart in oe-core master)

Ross


___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto



___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto