Received: from [213.39.232.198] (helo=moskovskaya.fh-wedel.de) by linuxtogo.org with esmtp (Exim 4.63) (envelope-from ) id 1Hes0t-00068a-IF for openembedded-devel@lists.openembedded.org; Fri, 20 Apr 2007 14:14:55 +0200 Received: from di by moskovskaya.fh-wedel.de with local (Exim 4.50) id 1Hes0t-0000SJ-AA for openembedded-devel@lists.openembedded.org; Fri, 20 Apr 2007 14:14:55 +0200 Date: Fri, 20 Apr 2007 14:14:55 +0200 From: Martin Dietze To: openembedded-devel@lists.openembedded.org Message-ID: <20070420121455.GA1636@fh-wedel.de> References: <157361400.20070419145713@vanille-media.de> <1176998423.5833.99.camel@localhost.localdomain> <20070419162539.GA29294@fh-wedel.de> <432beae0704190938o5ae0bf04k81fe388e8faa2c09@mail.gmail.com> <1177001559.5833.106.camel@localhost.localdomain> <20070420095405.GA23328@fh-wedel.de> Mime-Version: 1.0 In-Reply-To: <20070420095405.GA23328@fh-wedel.de> X-PGP-Fingerprint: C98D 598A DA73 DF9F 610D 632E 4468 B911 BF9B 8D95 X-PGP-Key-ID: 0xBF9B8D95 User-Agent: Mutt/1.5.9i Sender: Martin Dietze X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: di@mail.fh-wedel.de Subject: Re: [oe-commits] org.oe.dev mtx-3a.conf, nylon-image-base.bb: removed remaints from old OE code (PACKAGE_INSTALL instead of IPKG_INSTALL) X-BeenThere: openembedded-devel@lists.openembedded.org X-Mailman-Version: 2.1.9 Precedence: list Reply-To: Using the OpenEmbedded metadata to build Distributions List-Id: Using the OpenEmbedded metadata to build Distributions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Apr 2007 12:14:56 -0000 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Fri, April 20, 2007, Martin Dietze wrote: > > 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? 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@the-little-red-haired-girl.org -- / ---- dietze@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.