[oe] [RFC] move to opkg

Marcin Juszkiewicz openembedded at haerwu.biz
Tue Mar 18 09:56:42 UTC 2008


Dnia Tuesday 18 of March 2008, Koen Kooi napisał:

> Poky just switched to opkg and removed ipkg completely, which I think
> is a good thing, but here's a less drastic patch for OE.
>
> Executive summary: you still get .ipk packages, just as before, only
> your rootfs ends up with opkg.  

And your rootfs is built with opkg-native instead of ipkg-native.

> Things like sharprom-compat and wrt54g-oe will continue to work just 
> as before. 

> I'd like to apply this ASAP if there are no serious complaints.

Few things:

1. There is no such thing as 'opkg-utils' - we still use ipkg-utils-native
   for creating packages.

2. You missed image.bbclass change:

--- a/trunk/meta/classes/image.bbclass
+++ b/trunk/meta/classes/image.bbclass
@@ -85,8 +85,6 @@ fakeroot do_rootfs () {
 
 	insert_feed_uris	
 
-	rm -f ${IMAGE_ROOTFS}${libdir}/ipkg/lists/*
-	
 	${IMAGE_PREPROCESS_COMMAND}
 		
 	export TOPDIR=${TOPDIR}

3. Meta/meta-toolchain.bb recipe also use ipkg and this also was changed
   in Poky.

4. You did not set SRCREV for opkg-sdk recipe.

-- 
JID: hrw-jabber.org
OpenEmbedded developer/consultant

    The fact that no one understands you doesn't mean you're an artist.






More information about the Openembedded-devel mailing list