Re: Introducing live-xmaker

2008-08-23 Thread tomas
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Fri, Aug 22, 2008 at 07:57:59PM +0200, Simon Schiele wrote: [...] I'm pretty sure when you hear live-helper and xml in the same sentence your toe-nails are rolling back, thinking of the overhead (-: They actually do every time someone uses

Re: Introducing live-xmaker

2008-08-23 Thread Tzafrir Cohen
Hi On Fri, Aug 22, 2008 at 07:57:59PM +0200, Simon Schiele wrote: And of course because code says more than thousand words there is the function xml.sh, the helper lh_xml (for im- and export) and an example config.xml attached to this mail. a few details (but open for every kind of

Re: Introducing live-xmaker

2008-08-23 Thread Brendan Sleight
Hi Tzafrir, 2008/8/23 Tzafrir Cohen wrote: This will break when you try to use other tools to process your XML data. Works for me with other tools, see below. [EMAIL PROTECTED]:~/debian-live$ python Python 2.5.2 (r252:60911, May 28 2008, 08:35:32) [GCC 4.2.4 (Debian 4.2.4-1)] on linux2 Type

Re: Introducing live-xmaker

2008-08-23 Thread Tzafrir Cohen
On Sat, Aug 23, 2008 at 10:54:57AM +0100, Brendan Sleight wrote: Hi Tzafrir, 2008/8/23 Tzafrir Cohen wrote: This will break when you try to use other tools to process your XML data. Works for me with other tools, see below. [EMAIL PROTECTED]:~/debian-live$ python Python 2.5.2

Re: Introducing live-xmaker

2008-08-23 Thread Michal Suchanek
Hello Thanks for your efforts to make configuring l-h easier. As a l-h user I do the tar -czvf for configuration archival. I think that removing the default options form the configuration is not as easy but perhaps it could be done. The default options in the configuration serve two purposes:

Re: Introducing live-xmaker

2008-08-23 Thread Brendan Sleight
Hi Tzafrir, 2008/8/23 Tzafrir Cohen wrote: This will break when you try to use other tools to process your XML data. Kindly answer to what I actually wrote. He wrote his own XML parser in xml.sh. The XML config you generate in your python script might work with it. Or not. Likewise for

Re: Introducing live-xmaker

2008-08-22 Thread Oliver Dippel
Daniel Baumann wrote: [EMAIL PROTECTED] wrote: I think the advantage to having it in an XML file is that it's all in one file. Personally, I just put my config folder in a tarball. live-helper can be used with a single file too, instead of config/*, by specifying the file through

Re: Introducing live-xmaker

2008-08-22 Thread Simon Schiele
But you can't use Hook-Files in a Single LH_CONFFILE, and thats what i need! hook files can be arbitrary binaries. There are ways to encode them inside XLM, but why bother? Just add them as separate files. Likewise the contents of the local include directory. In my daily life with

Re: Introducing live-xmaker

2008-08-22 Thread Tzafrir Cohen
On Fri, Aug 22, 2008 at 07:57:59PM +0200, Simon Schiele wrote: But you can't use Hook-Files in a Single LH_CONFFILE, and thats what i need! hook files can be arbitrary binaries. There are ways to encode them inside XLM, but why bother? Just add them as separate files. Likewise the

Re: Introducing live-xmaker

2008-08-22 Thread Simon Schiele
Tzafrir Cohen wrote: [...] tar czf debian_live_config_in_a_single_file.tar.gz config/ utils/ utils/ is a subdirectory with my little scripts. What extra meta data is there that can not be expressed using some other variables in config/common or config/your_own_file ? I can also store them

Re: Introducing live-xmaker

2008-08-22 Thread Brendan Sleight
Hi Simon, 2008/8/22 Simon Schiele wrote: a clean live-helperish way (-: function xml.sh, the helper lh_xml (for im- and export) and an example config.xml attached to this mail. The function xml.sh looks nice and is more clean and live-helperish than my attempt with live-xmaker. Particularly

Re: Introducing live-xmaker

2008-08-21 Thread Tzafrir Cohen
On Wed, Aug 20, 2008 at 11:40:03PM +0100, Brendan Sleight wrote: Hi All, I put together a little python script, live-xmaker. [1][2][3]. Live-xmaker is a command line front-end to live-helper, inspired by morphix-mmaker[4][5] (written by Alex de Landgraaf). This allows all the configurations

Re: Introducing live-xmaker

2008-08-21 Thread Brendan Sleight
Hi Tzafrir, Thanks for the feedback. For example:- live-xmaker --xml /usr/share/live-xmaker/templates/lightgui_all.xml --output ./lightgui.iso Why the duplicate configration? To give an extra layer - in xml. lh_config generates a bunch of config files. By creating your own

Re: Introducing live-xmaker

2008-08-21 Thread maybeway36
I think the advantage to having it in an XML file is that it's all in one file. Personally, I just put my config folder in a tarball. On 8/21/08, Tzafrir Cohen [EMAIL PROTECTED] wrote: On Wed, Aug 20, 2008 at 11:40:03PM +0100, Brendan Sleight wrote: Hi All, I put together a little python

Re: Introducing live-xmaker

2008-08-21 Thread Daniel Baumann
[EMAIL PROTECTED] wrote: I think the advantage to having it in an XML file is that it's all in one file. Personally, I just put my config folder in a tarball. live-helper can be used with a single file too, instead of config/*, by specifying the file through ${LH_CONFFILE} or something like