[oe] [oe-commits] org.oe.dev mtx-3a.conf, nylon-image-base.bb: removed remaints from old OE code (PACKAGE_INSTALL instead of IPKG_INSTALL)

Martin Dietze di at fh-wedel.de
Fri Apr 20 12:14:55 UTC 2007


On Fri, April 20, 2007, Martin Dietze wrote:

<lengthy context>
> > Users (or distros) have to inherit one or more of these to enable
> > packaging. The first one inherited is used for rootfs generation. Having
> > to select a package type isn't a problem in practise since rootfs
> > generation currently depends on packages.
> 
> If I understand all this correctly this is supposed to be done
> by this:
> 
> INHERIT += "package_ipk ..."
> 
> ... in conf/distro/my-distro.conf, which I expect to be used
> here:
> 
> classes/package_ipk.bbclass:IMAGE_PKGTYPE ?= "ipk"
> 
> ... and which is then expanded here:
> 
> classes/image.bbclass:inherit rootfs_${IMAGE_PKGTYPE}
> 
> Unfortunately this does not work! The only way I get this to
> work is by adding a "inherit rootfs_ipk" in the different
> images' bitbake files, but this is surely not the way it is
> meant to be?
</lengthy context>

Having played around with this for another while it seems like
classes/rootfs_ipk should be patched as follows:

--- rootfs_ipk.bbclass-orig     2007-04-20 14:13:53.534848585 +0200
+++ rootfs_ipk.bbclass  2007-04-20 14:10:43.406456119 +0200
@@ -9,6 +9,7 @@

 IPKG_ARGS = "-f ${T}/ipkg.conf -o ${IMAGE_ROOTFS}"

+DEPENDS += "ipkg-native"
 RDEPENDS += "ipkg ipkg-collateral"
 PACKAGE_INSTALL += "ipkg ipkg-collateral"


How about this? I would tend to believe that rootfs_deb
may need something similar...

Cheers,

Martin

-- 
-------------- Martin Dietze --------------- / -- 4G Systeme GmbH Hamburg ---
-- martin at the-little-red-haired-girl.org -- / ---- dietze at 4g-systems.com ----
------------- / http://herbert.the-little-red-haired-girl.org / -------------
=+= 
Hlade's Law: If you have a difficult task, give it to a lazy person;
           they will find an easier way to do it. 




More information about the Openembedded-devel mailing list