All of lore.kernel.org
 help / color / mirror / Atom feed
* [RFC] BogoFeeds reloaded
@ 2007-12-19 11:32 Paul Sokolovsky
  2007-12-19 12:20 ` Koen Kooi
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Paul Sokolovsky @ 2007-12-19 11:32 UTC (permalink / raw)
  To: openembedded-devel

Hello openembedded-devel,

  After the ipk deploy dirs were split to be per-arch, there was a
long discussion that people want to use deploy dir as the feed
directly as it is awfully practical, and that they are not advised to
do that due to various second-rate issues, so such usage should be
called "bogofeed".

  This month should have most of it:
http://projects.linuxtogo.org/pipermail/openembedded-devel/2007-March/thread.html#1658


  There were even patches posted, but they all were questionable as
either they tried to make per-arch vs flat layout configurable, which
could lead to behavior discrepancies in the future, or tried to do
some post-processing, like copying hundreds of megabytes around, while
the very first argument while deploy dir layout could be changed under
people's feet was that even in the case of flat layout, some
post-processing was required to get production-quality feed, and that
postprocessing can be well made outside of OE (hello Makefiles).

  Then, it all died off, with different people adopting different
solutions well suiting exactly them, as usual.

  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.


-- 
Best regards,
 Paul                          mailto:pmiscml@gmail.com




^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [RFC] BogoFeeds reloaded
  2007-12-19 11:32 [RFC] BogoFeeds reloaded Paul Sokolovsky
@ 2007-12-19 12:20 ` Koen Kooi
  2007-12-22 12:45   ` Paul Sokolovsky
  2007-12-19 13:04 ` Michael 'Mickey' Lauer
  2007-12-19 13:55 ` Regno Stefano
  2 siblings, 1 reply; 8+ messages in thread
From: Koen Kooi @ 2007-12-19 12:20 UTC (permalink / raw)
  To: openembedded-devel

-----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@dominion.kabel.utwente.nl will go go away in december 2007, please
use k.kooi@student.utwente.nl instead.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)

iD8DBQFHaQyKMkyGM64RGpERAl5PAJ49efwK4trM3EzqYexrczg1zb9nzACeP9Zk
HMWnYe+hVkyVCtks4K7b62o=
=j0vG
-----END PGP SIGNATURE-----



^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [RFC] BogoFeeds reloaded
  2007-12-19 11:32 [RFC] BogoFeeds reloaded Paul Sokolovsky
  2007-12-19 12:20 ` Koen Kooi
@ 2007-12-19 13:04 ` Michael 'Mickey' Lauer
  2007-12-19 13:55 ` Regno Stefano
  2 siblings, 0 replies; 8+ messages in thread
From: Michael 'Mickey' Lauer @ 2007-12-19 13:04 UTC (permalink / raw)
  To: Paul Sokolovsky; +Cc: openembedded-devel

Paul Sokolovsky wrote:
> 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.

Excellent. A nice, non-invasive, utterly practical solution.

I like it.

Regards,

:M:
-- 
Michael 'Mickey' Lauer | IT-Freelancer | http://www.vanille-media.de




^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [RFC] BogoFeeds reloaded
  2007-12-19 11:32 [RFC] BogoFeeds reloaded Paul Sokolovsky
  2007-12-19 12:20 ` Koen Kooi
  2007-12-19 13:04 ` Michael 'Mickey' Lauer
@ 2007-12-19 13:55 ` Regno Stefano
  2007-12-19 14:51   ` Koen Kooi
  2 siblings, 1 reply; 8+ messages in thread
From: Regno Stefano @ 2007-12-19 13:55 UTC (permalink / raw)
  To: openembedded-devel

I found the package about VNC but i have this error bitbake x11vnc_0.9.3.bb
ERROR: Unable to parse conf/bitbake.conf (Could not inherit file 
classes/autotools.bbclass)

What can i do to solve thet, i must unpack it and compile for arm MX31




^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [RFC] BogoFeeds reloaded
  2007-12-19 13:55 ` Regno Stefano
@ 2007-12-19 14:51   ` Koen Kooi
  0 siblings, 0 replies; 8+ messages in thread
From: Koen Kooi @ 2007-12-19 14:51 UTC (permalink / raw)
  To: Using the OpenEmbedded metadata to build Distributions

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Regno Stefano schreef:
> I found the package about VNC but i have this error bitbake x11vnc_0.9.3.bb
> ERROR: Unable to parse conf/bitbake.conf (Could not inherit file 
> classes/autotools.bbclass)
> 
> What can i do to solve thet, i must unpack it and compile for arm MX31

Hello mister thread-hijacker. Bye.


- --
koen@dominion.kabel.utwente.nl will go go away in december 2007, please
use k.kooi@student.utwente.nl instead.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)

iD8DBQFHaTAAMkyGM64RGpERAsKgAKClYw+IYaI+yOHethPm10Uj2VxTNgCgmuF4
imLQw7RYM6nxsFU1IN293Rw=
=tOja
-----END PGP SIGNATURE-----



^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [RFC] BogoFeeds reloaded
  2007-12-19 12:20 ` Koen Kooi
@ 2007-12-22 12:45   ` Paul Sokolovsky
  2007-12-22 15:13     ` Koen Kooi
  0 siblings, 1 reply; 8+ messages in thread
From: Paul Sokolovsky @ 2007-12-22 12:45 UTC (permalink / raw)
  To: Koen Kooi

Hello Koen,

Wednesday, December 19, 2007, 2:20:26 PM, you wrote:

[]

>> +
>> +       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?

  Ok, to make it more precise, I've renamed it to
FEED_DEPLOYDIR_BASE_URI. Added comments here and there.

  Edited also the manual, it lacked and FEED_* description at all, so
I've added section on it. I also rearranged chapters in manual so it
was more natural to learning reader: Intro - Getting Started -
everything else. Now, questions about manual availability. Is
http://www.openembedded.org/user-manual updated anyhow? It lacks
changes I made ~week ago to describe ASSUME_SHLIBS. There's no
mentioning of PDF manual on OE site, instead, there's news somewhere
deep on Angstrom site. And http://www.openembedded.org/%7Ekoen/usermanual.pdf
it links to dated 2007-10-09.

> regards,

> Koen




-- 
Best regards,
 Paul                            mailto:pmiscml@gmail.com




^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [RFC] BogoFeeds reloaded
  2007-12-22 12:45   ` Paul Sokolovsky
@ 2007-12-22 15:13     ` Koen Kooi
  2007-12-22 16:14       ` Paul Sokolovsky
  0 siblings, 1 reply; 8+ messages in thread
From: Koen Kooi @ 2007-12-22 15:13 UTC (permalink / raw)
  To: Using the OpenEmbedded metadata to build Distributions

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Paul Sokolovsky schreef:
> Hello Koen,
> 
> Wednesday, December 19, 2007, 2:20:26 PM, you wrote:
> 
> []
> 
>>> +
>>> +       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?
> 
>   Ok, to make it more precise, I've renamed it to
> FEED_DEPLOYDIR_BASE_URI. Added comments here and there.
> 
>   Edited also the manual, it lacked and FEED_* description at all, so
> I've added section on it. I also rearranged chapters in manual so it
> was more natural to learning reader: Intro - Getting Started -
> everything else. Now, questions about manual availability. Is
> http://www.openembedded.org/user-manual updated anyhow?

It's being updated hourly for the org.openembedded.documentation branch
on monotone.openembedded.org

> It lacks
> changes I made ~week ago to describe ASSUME_SHLIBS. 

Those changes aren't in the db on monotone.openembedded.org, did you do
'mtn sync monotone.openembedded.org org.openembedded.{dev,documentation}' ?

> There's no
> mentioning of PDF manual on OE site, instead, there's news somewhere
> deep on Angstrom site. And http://www.openembedded.org/%7Ekoen/usermanual.pdf
> it links to dated 2007-10-09.

'make pdf' was having some troubles, so it is html only for the time
being. The angstrom folks provide a pdf version out of courtesy.



>> regards,
> 
>> Koen

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)

iD8DBQFHbSmBMkyGM64RGpERArVlAKCl7W1FbXIAcPqS9oqPRkymERoj8wCbBzI0
SzOYn81Te9KjtCOZ8WKivso=
=17yP
-----END PGP SIGNATURE-----



^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [RFC] BogoFeeds reloaded
  2007-12-22 15:13     ` Koen Kooi
@ 2007-12-22 16:14       ` Paul Sokolovsky
  0 siblings, 0 replies; 8+ messages in thread
From: Paul Sokolovsky @ 2007-12-22 16:14 UTC (permalink / raw)
  To: Koen Kooi

Hello Koen,

Saturday, December 22, 2007, 5:13:06 PM, you wrote:

[]

>> It lacks
>> changes I made ~week ago to describe ASSUME_SHLIBS. 

> Those changes aren't in the db on monotone.openembedded.org, did you do
> 'mtn sync monotone.openembedded.org
> org.openembedded.{dev,documentation}' ?

  Oh yeah, I already figured what was wrong ;-\. Now re-merging my
changes...

[]

-- 
Best regards,
 Paul                            mailto:pmiscml@gmail.com




^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2007-12-22 16:14 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-12-19 11:32 [RFC] BogoFeeds reloaded Paul Sokolovsky
2007-12-19 12:20 ` Koen Kooi
2007-12-22 12:45   ` Paul Sokolovsky
2007-12-22 15:13     ` Koen Kooi
2007-12-22 16:14       ` Paul Sokolovsky
2007-12-19 13:04 ` Michael 'Mickey' Lauer
2007-12-19 13:55 ` Regno Stefano
2007-12-19 14:51   ` Koen Kooi

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.