[oe] [RFC] BogoFeeds reloaded
Koen Kooi
k.kooi at student.utwente.nl
Wed Dec 19 12:20:26 UTC 2007
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Paul Sokolovsky schreef:
> Hello openembedded-devel,
> Well, using deploy dir as feed directly is still demolishfully
> practical, and clearing off my tree for NY, I'd finally want to offer
> the solution I've been using since then. Unlike solutions cited, it
> doesn't try to warp world to get familiar flat look, instead it
> rejoices 3D and sails on it, all in 6 lines, why I think it could
> finally get into.
>
> --- classes/image.bbclass 57e9ee07875e7423b6e199df2c69e55bdcdb8a69
> +++ classes/image.bbclass a5d924355c51d4ef706a5c60d520aa4dde64d764
> @@ -125,6 +125,13 @@ insert_feed_uris () {
> # insert new feed-sources
> echo "src/gz $feed_name $feed_uri" >> ${IMAGE_ROOTFS}/etc/ipkg/${feed_name}-feed.conf
> done
> +
> + if [ -n "${FEED_LOCAL_BASE_URI}" ]; then
> + for arch in ${PACKAGE_ARCHS}
> + do
> + echo "src/gz local-$arch ${LOCAL_FEED_BASE_URI}/$arch" >> ${IMAGE_ROOTFS}/etc/ipkg/local-$arch-feed.conf
> + done
> + fi
> }
>
> So, you set FEED_LOCAL_BASE_URI to the root of deploy dir as exported
> by Apache, and - voila - you get nice collection of per-arch local feeds in
> the image.
Could you add a comment in image.bbclass and local.conf.sample on how to
use this, since it looks quite the same as FEED_URI to a new user, but
is quite different? And while you are at it, update the OE usermanual as
well?
regards,
Koen
- --
koen at dominion.kabel.utwente.nl will go go away in december 2007, please
use k.kooi at student.utwente.nl instead.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)
iD8DBQFHaQyKMkyGM64RGpERAl5PAJ49efwK4trM3EzqYexrczg1zb9nzACeP9Zk
HMWnYe+hVkyVCtks4K7b62o=
=j0vG
-----END PGP SIGNATURE-----
More information about the Openembedded-devel
mailing list