Received: from [72.14.220.156] (helo=fg-out-1718.google.com) by linuxtogo.org with esmtp (Exim 4.68) (envelope-from ) id 1JRmYQ-000761-Fz for openembedded-devel@lists.openembedded.org; Wed, 20 Feb 2008 11:52:03 +0100 Received: by fg-out-1718.google.com with SMTP id 13so2391151fge.20 for ; Wed, 20 Feb 2008 02:51:04 -0800 (PST) Received: by 10.78.69.7 with SMTP id r7mr12981804hua.1.1203504664003; Wed, 20 Feb 2008 02:51:04 -0800 (PST) Received: from widy.localdomain ( [88.231.76.37]) by mx.google.com with ESMTPS id z37sm15783329ikz.1.2008.02.20.02.51.02 (version=SSLv3 cipher=OTHER); Wed, 20 Feb 2008 02:51:03 -0800 (PST) Date: Wed, 20 Feb 2008 12:52:47 +0200 From: Paul Sokolovsky To: openembedded-devel@lists.openembedded.org Message-ID: <20080220125247.6e1319f4@widy.localdomain> In-Reply-To: <200802200859.39017.openembedded@haerwu.biz> References: <200802200859.39017.openembedded@haerwu.biz> X-Mailer: Claws Mail 3.0.2 (GTK+ 2.12.5; i686-pc-linux-gnu) Mime-Version: 1.0 X-SA-Exim-Connect-IP: 72.14.220.156 X-SA-Exim-Mail-From: pmiscml@gmail.com X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on serenity X-Spam-Level: X-Spam-Status: No, score=0.1 required=5.0 tests=RDNS_NONE autolearn=no version=3.2.3 X-SA-Exim-Version: 4.2.1 (built Tue, 21 Aug 2007 23:39:36 +0000) X-SA-Exim-Scanned: Yes (on linuxtogo.org) Subject: Re: [oe-commits] org.oe.dev ipkg-utils*: Re-add support for openwrt-style .ipk's. X-BeenThere: openembedded-devel@lists.openembedded.org X-Mailman-Version: 2.1.9 Precedence: list Reply-To: openembedded-devel@lists.openembedded.org List-Id: Using the OpenEmbedded metadata to build Distributions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Feb 2008 10:52:03 -0000 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hello, On Wed, 20 Feb 2008 08:59:37 +0100 Marcin Juszkiewicz wrote: > Dnia Tuesday, 19 of February 2008, pfalcon commit napisa=C5=82: > > ipkg-utils*: Re-add support for openwrt-style .ipk's. > > * There're two .ipk formats: one with ar top-level wrapping > > (essentially, .deb format, native OE format) and with tar.gz > > top-level wrap, used by OpenWRT and some tiny distros. When I did > > performance optimization work on ipkg-make-index, I just blocked > > support of tar.gz-style ipk's, as it was unclear if those are used > > in OE at all. Now support is readded, with the old code to handle > > them (i.e. not as optimal as ar-style ones). > > * This makes DISTRO=3Dopenwrt-sdk usable for producing compatible > > packages and deploy-feed for them. But there're still some issues to > > resolve before OE can be said to provide seamless support for > > building packages for OpenWRT. >=20 > OpenWRT use tar.gz type but on device it handle both types. I am > using OpenWRT 'whiterussian' rc5 (last jffs2 one) and 'ar type' > packages generated by OE were working for me (ipkg 0.99.149 on > device). >=20 > But I do not know how situation looks in Kamikaze (OpenWRT devel > tree).=20 OpenWRT Kamikaze is for quite some time the latest production branch of OpenWRT, with at least 2 releases made for that (they use ubuntu versioning now too, so latest 7.09). They did a lot of /etc cleanup there, and we even can learn from them ;-). For example, I find it very convenient to use /etc/init.d/ enable/disable to add/remove service to autoload on boot ;-). Back to topic, .deb-style .ipk's didn't work for me with it. > From what I see they indeed use old shell version of ipkg in > SDK. root@OpenWrt:~# which ipkg /usr/bin/ipkg root@OpenWrt:~# ipkg -version ipkg: version 0.99.162 So, they either hacked it, or ..., or ... In either case, ipk's they ship are tar.gz-wrapped, and openwrt-sdk is intended to follow all official conventions, to be as much drop-in replacement for their buildroot as possible. I'd appreciate comments on ldconfig issue. --=20 Best regards, Paul mailto:pmiscml@gmail.com