All of lore.kernel.org
 help / color / mirror / Atom feed
* adding package management
@ 2012-12-12 11:13 Tim Coote
  2012-12-12 11:18 ` Burton, Ross
  0 siblings, 1 reply; 8+ messages in thread
From: Tim Coote @ 2012-12-12 11:13 UTC (permalink / raw)
  To: yocto@yoctoproject.org

Hullo
I'm new to yocto, so I'm probably not going about this in the optimum way.

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]

to the bottom of …conf/local.conf (I started without the perl, which I added to fix this specific issue). However, when I run
[code]
bitbake core-image-minimal
[/code]
I get the following error
[code]
[tim@mercury mybuilds]$ less /opt/poky/mybuilds/tmp/work/qemuarm-poky-linux-gnueabi/core-image-minimal-1.0-r0/temp/log.do_rootfs.18707
DEBUG: Executing shell function do_rootfs
Generating solve db for /opt/poky/mybuilds/tmp/deploy/rpm/qemuarm...
Generating solve db for /opt/poky/mybuilds/tmp/deploy/rpm/armv5te...
Generating solve db for /opt/poky/mybuilds/tmp/deploy/rpm/all...
Generating solve db for /opt/poky/mybuilds/tmp/deploy/rpm/all...
Processing rpm...
Processing zypper...
Processing packagegroup-core-boot...
Processing apt...
Processing perl...
error: Failed dependencies:
       /opt/poky/mybuilds/tmp/sysroots/i686-linux/usr/bin/perl-native/perl is needed by dpkg-1.16.8-r18.0.armv5te
ERROR: Function failed: do_rootfs (see /opt/poky/mybuilds/tmp/work/qemuarm-poky-linux-gnueabi/core-image-minimal-1.0-r0/temp/log.do_rootfs.18707 for further information)
[/code]

the rpm for dpkg-1.16.8-r18.0.armv5te does indeed include that dependency. However, the file *is* present:
[code]
[tim@mercury mybuilds]$ ll /opt/poky/mybuilds/tmp/sysroots/i686-linux/usr/bin/perl-native/perl
-rwxr-xr-x 1 tim tim 244 Dec 10 11:04 /opt/poky/mybuilds/tmp/sysroots/i686-linux/usr/bin/perl-native/perl
[/code]

… and since it's a couple of days old, I can see that adding perl after apt to IMAGE_INSTALL_append is pointless.

Have I missed something obvious? Is this a real issue?

Should I add a package manager some other way in any case?

thanks
Tim

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

end of thread, other threads:[~2012-12-12 17:13 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-12-12 11:13 adding package management Tim Coote
2012-12-12 11:18 ` Burton, Ross
2012-12-12 11:31   ` Tim Coote
2012-12-12 11:43     ` Burton, Ross
2012-12-12 12:07       ` Tim Coote
2012-12-12 12:16         ` Burton, Ross
2012-12-12 17:13         ` Mark Hatle
2012-12-12 17:11       ` Mark Hatle

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.