Re: [Sugar-devel] Help with OS Builder

2011-08-26 Thread Peter Robinson
2011/8/26 Christophe Guéret c.d.m.gue...@vu.nl:
 Hi all,

 I'm using the OS builder to create a customized 11.2.0 for my XOs 1 and I
 can't figure out how to do two things:
 * Include a new binary which is not packaged + the related start scripts
 * Overwrite sugar-datastore with a custom version

 The informations at http://wiki.laptop.org/go/OS_Builder and the README
 shipped with the modules left me with no answer :-/

 Can someone help me with that?

1) Create a yum repository with your packages in them using createrepo
2) Specify the repo in your ini file in the [yumcfg]
3) Add the packages in an appropriate kspkglist file. See the
following as an example
modules/sugar/kspkglist.50.sugar.inc

Peter
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] Help with OS Builder

2011-08-26 Thread Jerry Vonau
On Fri, 2011-08-26 at 09:15 +0200, Christophe Guéret wrote:
 Hi all,
 
 I'm using the OS builder to create a customized 11.2.0 for my XOs 1
 and I can't figure out how to do two things:
 * Include a new binary which is not packaged + the related start
 scripts
Are your saying not in rpm format? 

 * Overwrite sugar-datastore with a custom version
 
As in pre-populated with entries?

 The informations at http://wiki.laptop.org/go/OS_Builder and the
 README shipped with the modules left me with no answer :-/
 
 Can someone help me with that?
 

The only clean way would be to enable the custom_scripts module in your
ini file, then write your own script. 

Jerry

___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] Help with OS Builder

2011-08-26 Thread Christophe Guéret

On 26/08/11 13:04, Jerry Vonau wrote:

On Fri, 2011-08-26 at 09:15 +0200, Christophe Guéret wrote:

Hi all,

I'm using the OS builder to create a customized 11.2.0 for my XOs 1
and I can't figure out how to do two things:
* Include a new binary which is not packaged + the related start
scripts

Are your saying not in rpm format?
Yep. The program is called redstore and I can compile it manually but 
then I have to include the binary into my images.





* Overwrite sugar-datastore with a custom version

As in pre-populated with entries?

Nope, as in with a different datastore that replace the one commonly used :)




The informations at http://wiki.laptop.org/go/OS_Builder and the
README shipped with the modules left me with no answer :-/

Can someone help me with that?


The only clean way would be to enable the custom_scripts module in your
ini file, then write your own script.

Ok, I'll have a look.

Christophe


--
PhD Christophe Guéret (c.d.m.gue...@vu.nl)
http://www.few.vu.nl/~cgueret/
Postdoc working on LATC (http://latc-project.eu)
Knowledge Representation  Reasoning Group
Computational Intelligence Group
Department of Computer Science, AI
VU University Amsterdam

attachment: c_d_m_gueret.vcf___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] Help with OS Builder

2011-08-26 Thread Christophe Guéret



1) Create a yum repository with your packages in them using createrepo
2) Specify the repo in your ini file in the [yumcfg]
3) Add the packages in an appropriate kspkglist file. See the
following as an example
modules/sugar/kspkglist.50.sugar.inc

Thanks for the suggestion Peter, however I don't think that's what I need.
I don't have any RPM for the things I need to package so creating a new 
repository wouldn't help


Christophe


--
PhD Christophe Guéret (c.d.m.gue...@vu.nl)
http://www.few.vu.nl/~cgueret/
Postdoc working on LATC (http://latc-project.eu)
Knowledge Representation  Reasoning Group
Computational Intelligence Group
Department of Computer Science, AI
VU University Amsterdam

attachment: c_d_m_gueret.vcf___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel