From: <bms...@us...> - 2006-03-26 21:54:43
|
Revision: 2172 Author: bmsleight Date: 2006-03-26 13:52:10 -0800 (Sun, 26 Mar 2006) ViewCVS: http://svn.sourceforge.net/morphix/?rev=2172&view=rev Log Message: ----------- morphmini template.xml MiniModule.mod Modified Paths: -------------- trunk/how_tos/all_man_pages/html/ar01s02.html trunk/how_tos/all_man_pages/html/ar01s03.html trunk/how_tos/all_man_pages/html/ar01s04.html trunk/how_tos/all_man_pages/html/ar01s05.html trunk/how_tos/all_man_pages/html/ar01s06.html trunk/how_tos/all_man_pages/html/ar01s07.html trunk/how_tos/all_man_pages/html/ar01s08.html trunk/how_tos/all_man_pages/html/ar01s09.html trunk/how_tos/all_man_pages/html/ar01s10.html trunk/how_tos/all_man_pages/html/ar01s11.html trunk/how_tos/all_man_pages/html/index.html trunk/how_tos/all_man_pages/html/ix01.html trunk/how_tos/all_man_pages/man/isomorph.1 trunk/how_tos/all_man_pages/prepare_xml_html_man.sh trunk/mmaker/utils/auto-testing/build_auto_test_mini.sh trunk/mmaker/utils/auto-testing/cat_file.sh trunk/mmaker/utils/auto-testing/loadmod.sh trunk/morph-scripts/Makefile trunk/morph-scripts/debian/control trunk/morph-scripts/debian/isomorph.1 Added Paths: ----------- trunk/how_tos/all_man_pages/man/morphmini.1 trunk/how_tos/all_man_pages/man_source/morphmini.txt trunk/how_tos/all_man_pages/man_xml/morphmini.xml trunk/mmaker/utils/auto-testing/AutoTestingMini.xml trunk/morph-scripts/debian/morphmini.1 trunk/morph-scripts/morphmini/ trunk/morph-scripts/morphmini/commands.txt trunk/morph-scripts/morphmini/example.xml trunk/morph-scripts/morphmini/morphimini Modified: trunk/how_tos/all_man_pages/html/ar01s02.html =================================================================== --- trunk/how_tos/all_man_pages/html/ar01s02.html 2006-03-25 00:05:38 UTC (rev 2171) +++ trunk/how_tos/all_man_pages/html/ar01s02.html 2006-03-26 21:52:10 UTC (rev 2172) @@ -2,20 +2,20 @@ <span class="emphasis"><em>- module-builder (morphix-modulebuilder)</em></span> Constructs a module from a directory</p><p><a class="indexterm" name="id2504515"></a> <span class="emphasis"><em>- module-extractor (morphix-moduleextractor)</em></span> - Extracts files from a module to a directory</p><p><a class="indexterm" name="id2465973"></a> + Extracts files from a module to a directory</p><p><a class="indexterm" name="id2465974"></a> <span class="emphasis"><em>- make-iso (morphix-make-iso)</em></span> - Creates a bootable ISO from a directory, detects multiple base versions.</p><p><a class="indexterm" name="id2465988"></a> + Creates a bootable ISO from a directory, detects multiple base versions.</p><p><a class="indexterm" name="id2465989"></a> <span class="emphasis"><em>- isomorph (morphix-isomorph)</em></span> - Lists modules on an ISO, adds or removes modules from an ISO, and more!</p><p><a class="indexterm" name="id2466003"></a> + Lists modules on an ISO, adds or removes modules from an ISO, and more!</p><p><a class="indexterm" name="id2466004"></a> <span class="emphasis"><em>- mmaker (morphix-mmaker)</em></span> Creates a base or main module, using template files. Examples are in /usr/share/mmaker/templates. See <a href="http://www.morphix.org/wiki/index.php/ModuleMaker" target="_top">http://www.morphix.org/wiki/index.php/ModuleMaker</a> and documentation in /usr/share/doc/mmaker for details.</p><p><a class="indexterm" name="id2466030"></a> <span class="emphasis"><em>- isomaker (morphix-mmaker)</em></span> Creates an iso, using one or more mmaker template files. - See documentation in /usr/share/doc/mmaker for details.</p><p><a class="indexterm" name="id2466049"></a> + See documentation in /usr/share/doc/mmaker for details.</p><p><a class="indexterm" name="id2466050"></a> <span class="emphasis"><em>- make-mini (morphix-mmaker)</em></span> - Commandline tool for building homedir and language minimodules.</p><p><a class="indexterm" name="id2466065"></a> + Commandline tool for building homedir and language minimodules.</p><p><a class="indexterm" name="id2466066"></a> <span class="emphasis"><em>- install2mainmod (morphix-install2mainmod)</em></span> Converts a running hdd install into a mainmodule.</p><p><a class="indexterm" name="id2466082"></a> <span class="emphasis"><em>- minimod-gen (morphix-minimodgen)</em></span> Modified: trunk/how_tos/all_man_pages/html/ar01s03.html =================================================================== --- trunk/how_tos/all_man_pages/html/ar01s03.html 2006-03-25 00:05:38 UTC (rev 2171) +++ trunk/how_tos/all_man_pages/html/ar01s03.html 2006-03-26 21:52:10 UTC (rev 2172) @@ -1,4 +1,4 @@ -<html><head><meta http-equiv="Content-Type" content="text/html; charset=ANSI_X3.4-1968"><title>MODULE-BUILDER(1)</title><meta name="generator" content="DocBook XSL Stylesheets V1.68.1"><link rel="start" href="index.html" title="Morphix Man Pages"><link rel="up" href="index.html" title="Morphix Man Pages"><link rel="prev" href="ar01s02.html" title="Preface"><link rel="next" href="ar01s04.html" title="MODULE-EXTRACTOR(1)"><link href="http://www.morphix.org/templates/MorphixORG/css/template_css.css" rel="stylesheet" type="text/css"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">MODULE-BUILDER(1)</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="ar01s02.html">Prev</a> </td><th width="60%" align="center"> </th><td width="20%" align="right"> <a accesskey="n" href="ar01s04.html">Next</a></td></tr></table><hr></div><div class="section" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2466114"></a>MODULE-BUILDER(1)</h2></div></div></div><p>Brendan Sleight <morphix@barwap.spam_removed.com></p><div class="section" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2466125"></a>NAME</h3></div></div></div><p>module-builder - builds a morphix module from an unpacked-module-directory</p></div><div class="section" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2466137"></a>SYNOPSIS</h3></div></div></div><p><span class="emphasis"><em>module-builder</em></span> [OPTIONS…] unpacked-module-directory outputfile.mod</p></div><div class="section" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2466152"></a>DESCRIPTION</h3></div></div></div><p>The module-builder command builds a morphix module <span class="emphasis"><em>outputfile.mod</em></span> from the directory <span class="emphasis"><em>unpacked-module-directory</em></span></p></div><div class="section" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2466170"></a>OPTIONS</h3></div></div></div><div class="variablelist"><dl><dt><span class="term"> +<html><head><meta http-equiv="Content-Type" content="text/html; charset=ANSI_X3.4-1968"><title>MODULE-BUILDER(1)</title><meta name="generator" content="DocBook XSL Stylesheets V1.68.1"><link rel="start" href="index.html" title="Morphix Man Pages"><link rel="up" href="index.html" title="Morphix Man Pages"><link rel="prev" href="ar01s02.html" title="Preface"><link rel="next" href="ar01s04.html" title="MODULE-EXTRACTOR(1)"><link href="http://www.morphix.org/templates/MorphixORG/css/template_css.css" rel="stylesheet" type="text/css"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">MODULE-BUILDER(1)</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="ar01s02.html">Prev</a> </td><th width="60%" align="center"> </th><td width="20%" align="right"> <a accesskey="n" href="ar01s04.html">Next</a></td></tr></table><hr></div><div class="section" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2466114"></a>MODULE-BUILDER(1)</h2></div></div></div><p>Brendan Sleight <morphix@barwap.spam_removed.com></p><div class="section" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2466126"></a>NAME</h3></div></div></div><p>module-builder - builds a morphix module from an unpacked-module-directory</p></div><div class="section" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2466137"></a>SYNOPSIS</h3></div></div></div><p><span class="emphasis"><em>module-builder</em></span> [OPTIONS…] unpacked-module-directory outputfile.mod</p></div><div class="section" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2466152"></a>DESCRIPTION</h3></div></div></div><p>The module-builder command builds a morphix module <span class="emphasis"><em>outputfile.mod</em></span> from the directory <span class="emphasis"><em>unpacked-module-directory</em></span></p></div><div class="section" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2466170"></a>OPTIONS</h3></div></div></div><div class="variablelist"><dl><dt><span class="term"> -l LABEL </span></dt><dd> set the CD label if no label is given (default: Morphix) @@ -14,8 +14,8 @@ iso9660 </span></dt><dd> faster, default. Only overlayable with translucency/mini_fo -</dd></dl></div></dd></dl></div></div><div class="section" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2466247"></a>EXAMPLES</h3></div></div></div><div class="variablelist"><dl><dt><span class="term"> +</dd></dl></div></dd></dl></div></div><div class="section" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2466248"></a>EXAMPLES</h3></div></div></div><div class="variablelist"><dl><dt><span class="term"> Build a mini-module </span></dt><dd> module-builder /tmp/building-module/ /tmp/Morphix-Mini-1.mod -</dd></dl></div></div><div class="section" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2466344"></a>SECURITY</h3></div></div></div><p>Needs to be run as root or via sudo. So has security implications.</p></div><div class="section" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2466355"></a>NOTES</h3></div></div></div><p>Morphix is a modular-based liveCD, designed to be easy to modify. The package morphing-tools and morphix-mmaker contains tools to help modify and build morphix-based LiveCDs.</p></div><div class="section" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2466368"></a>BUGS</h3></div></div></div><p>Dont panic. If you find one, report it to us, but please make sure you have read all of the documentation first. We have assumed that you have cloop device and have installed the packages morphing-tools and morphix-mmaker.</p></div><div class="section" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2466382"></a>AUTHORS</h3></div></div></div><p>Written by Alex de Landgraaf and other Morphix developers. <a href="http://www.morphix.org/" target="_top">Morphix web site</a>. Browse cvs repository[http://sourceforge.net/projects/morphix] and cvs mailing lists for full list of developers and patches submitted.</p><p>This man page was written by Brendan Sleight using <a href="http://www.methods.co.nz/asciidoc/" target="_top">asciidoc</a></p></div><div class="section" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2466410"></a>SEE ALSO</h3></div></div></div><p><span class="strong"><strong>module-builder, module-extractor, make-iso, isomorph, mmaker, isomaker, make-mini, install2mainmod, minimod-gen, addtoiso</strong></span></p></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="ar01s02.html">Prev</a> </td><td width="20%" align="center"> </td><td width="40%" align="right"> <a accesskey="n" href="ar01s04.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">Preface </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> MODULE-EXTRACTOR(1)</td></tr></table></div></body></html> +</dd></dl></div></div><div class="section" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2466343"></a>SECURITY</h3></div></div></div><p>Needs to be run as root or via sudo. So has security implications.</p></div><div class="section" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2466353"></a>NOTES</h3></div></div></div><p>Morphix is a modular-based liveCD, designed to be easy to modify. The package morphing-tools and morphix-mmaker contains tools to help modify and build morphix-based LiveCDs.</p></div><div class="section" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2466366"></a>BUGS</h3></div></div></div><p>Dont panic. If you find one, report it to us, but please make sure you have read all of the documentation first. We have assumed that you have cloop device and have installed the packages morphing-tools and morphix-mmaker.</p></div><div class="section" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2466380"></a>AUTHORS</h3></div></div></div><p>Written by Alex de Landgraaf and other Morphix developers. <a href="http://www.morphix.org/" target="_top">Morphix web site</a>. Browse cvs repository[http://sourceforge.net/projects/morphix] and cvs mailing lists for full list of developers and patches submitted.</p><p>This man page was written by Brendan Sleight using <a href="http://www.methods.co.nz/asciidoc/" target="_top">asciidoc</a></p></div><div class="section" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2466409"></a>SEE ALSO</h3></div></div></div><p><span class="strong"><strong>module-builder, module-extractor, make-iso, isomorph, mmaker, isomaker, make-mini, install2mainmod, minimod-gen, addtoiso</strong></span></p></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="ar01s02.html">Prev</a> </td><td width="20%" align="center"> </td><td width="40%" align="right"> <a accesskey="n" href="ar01s04.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">Preface </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> MODULE-EXTRACTOR(1)</td></tr></table></div></body></html> Modified: trunk/how_tos/all_man_pages/html/ar01s04.html =================================================================== --- trunk/how_tos/all_man_pages/html/ar01s04.html 2006-03-25 00:05:38 UTC (rev 2171) +++ trunk/how_tos/all_man_pages/html/ar01s04.html 2006-03-26 21:52:10 UTC (rev 2172) @@ -1,5 +1,5 @@ -<html><head><meta http-equiv="Content-Type" content="text/html; charset=ANSI_X3.4-1968"><title>MODULE-EXTRACTOR(1)</title><meta name="generator" content="DocBook XSL Stylesheets V1.68.1"><link rel="start" href="index.html" title="Morphix Man Pages"><link rel="up" href="index.html" title="Morphix Man Pages"><link rel="prev" href="ar01s03.html" title="MODULE-BUILDER(1)"><link rel="next" href="ar01s05.html" title="MAKE-ISO(1)"><link href="http://www.morphix.org/templates/MorphixORG/css/template_css.css" rel="stylesheet" type="text/css"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">MODULE-EXTRACTOR(1)</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="ar01s03.html">Prev</a> </td><th width="60%" align="center"> </th><td width="20%" align="right"> <a accesskey="n" href="ar01s05.html">Next</a></td></tr></table><hr></div><div class="section" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2466426"></a>MODULE-EXTRACTOR(1)</h2></div></div></div><p>Brendan Sleight <morphix@barwap.spam_removed.com></p><div class="section" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2466438"></a>NAME</h3></div></div></div><p>module-extractor - extracts a morphix module from an unpacked-module-directory</p></div><div class="section" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2466450"></a>SYNOPSIS</h3></div></div></div><p><span class="emphasis"><em>module-extractor</em></span> inputfile.mod unpacked-module-directory</p></div><div class="section" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2466463"></a>DESCRIPTION</h3></div></div></div><p>The module-builder command extracts a morphix module <span class="emphasis"><em>inputfile.mod</em></span> to the directory <span class="emphasis"><em>unpacked-module-directory</em></span></p></div><div class="section" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2466481"></a>EXAMPLES</h3></div></div></div><div class="variablelist"><dl><dt><span class="term"> +<html><head><meta http-equiv="Content-Type" content="text/html; charset=ANSI_X3.4-1968"><title>MODULE-EXTRACTOR(1)</title><meta name="generator" content="DocBook XSL Stylesheets V1.68.1"><link rel="start" href="index.html" title="Morphix Man Pages"><link rel="up" href="index.html" title="Morphix Man Pages"><link rel="prev" href="ar01s03.html" title="MODULE-BUILDER(1)"><link rel="next" href="ar01s05.html" title="MAKE-ISO(1)"><link href="http://www.morphix.org/templates/MorphixORG/css/template_css.css" rel="stylesheet" type="text/css"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">MODULE-EXTRACTOR(1)</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="ar01s03.html">Prev</a> </td><th width="60%" align="center"> </th><td width="20%" align="right"> <a accesskey="n" href="ar01s05.html">Next</a></td></tr></table><hr></div><div class="section" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2466426"></a>MODULE-EXTRACTOR(1)</h2></div></div></div><p>Brendan Sleight <morphix@barwap.spam_removed.com></p><div class="section" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2466437"></a>NAME</h3></div></div></div><p>module-extractor - extracts a morphix module from an unpacked-module-directory</p></div><div class="section" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2466449"></a>SYNOPSIS</h3></div></div></div><p><span class="emphasis"><em>module-extractor</em></span> inputfile.mod unpacked-module-directory</p></div><div class="section" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2466462"></a>DESCRIPTION</h3></div></div></div><p>The module-builder command extracts a morphix module <span class="emphasis"><em>inputfile.mod</em></span> to the directory <span class="emphasis"><em>unpacked-module-directory</em></span></p></div><div class="section" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2466480"></a>EXAMPLES</h3></div></div></div><div class="variablelist"><dl><dt><span class="term"> Build a mini-module </span></dt><dd> module-builder /tmp/Morphix-Mini-1.mod /tmp/building-module/ -</dd></dl></div></div><div class="section" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2466507"></a>SECURITY</h3></div></div></div><p>Needs to be run as root or via sudo. So has security implications.</p></div><div class="section" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2466518"></a>NOTES</h3></div></div></div><p>Morphix is a modular-based liveCD, designed to be easy to modify. The package morphing-tools and morphix-mmaker contains tools to help modify and build morphix-based LiveCDs.</p></div><div class="section" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2466532"></a>BUGS</h3></div></div></div><p>Dont panic. If you find one, report it to us, but please make sure you have read all of the documentation first. We have assumed that you have cloop device and have installed the packages morphing-tools and morphix-mmaker.</p></div><div class="section" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2466546"></a>AUTHORS</h3></div></div></div><p>Written by Alex de Landgraaf and other Morphix developers. <a href="http://www.morphix.org/" target="_top">Morphix web site</a>. Browse cvs repository[http://sourceforge.net/projects/morphix] and cvs mailing lists for full list of developers and patches submitted.</p><p>This man page was written by Brendan Sleight using <a href="http://www.methods.co.nz/asciidoc/" target="_top">asciidoc</a></p></div><div class="section" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2466575"></a>SEE ALSO</h3></div></div></div><p><span class="strong"><strong>module-builder, module-extractor, make-iso, isomorph, mmaker, isomaker, make-mini, install2mainmod, minimod-gen, addtoiso</strong></span></p></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="ar01s03.html">Prev</a> </td><td width="20%" align="center"> </td><td width="40%" align="right"> <a accesskey="n" href="ar01s05.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">MODULE-BUILDER(1) </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> MAKE-ISO(1)</td></tr></table></div></body></html> +</dd></dl></div></div><div class="section" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2466506"></a>SECURITY</h3></div></div></div><p>Needs to be run as root or via sudo. So has security implications.</p></div><div class="section" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2466518"></a>NOTES</h3></div></div></div><p>Morphix is a modular-based liveCD, designed to be easy to modify. The package morphing-tools and morphix-mmaker contains tools to help modify and build morphix-based LiveCDs.</p></div><div class="section" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2466531"></a>BUGS</h3></div></div></div><p>Dont panic. If you find one, report it to us, but please make sure you have read all of the documentation first. We have assumed that you have cloop device and have installed the packages morphing-tools and morphix-mmaker.</p></div><div class="section" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2466545"></a>AUTHORS</h3></div></div></div><p>Written by Alex de Landgraaf and other Morphix developers. <a href="http://www.morphix.org/" target="_top">Morphix web site</a>. Browse cvs repository[http://sourceforge.net/projects/morphix] and cvs mailing lists for full list of developers and patches submitted.</p><p>This man page was written by Brendan Sleight using <a href="http://www.methods.co.nz/asciidoc/" target="_top">asciidoc</a></p></div><div class="section" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2466574"></a>SEE ALSO</h3></div></div></div><p><span class="strong"><strong>module-builder, module-extractor, make-iso, isomorph, mmaker, isomaker, make-mini, install2mainmod, minimod-gen, addtoiso</strong></span></p></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="ar01s03.html">Prev</a> </td><td width="20%" align="center"> </td><td width="40%" align="right"> <a accesskey="n" href="ar01s05.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">MODULE-BUILDER(1) </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> MAKE-ISO(1)</td></tr></table></div></body></html> Modified: trunk/how_tos/all_man_pages/html/ar01s05.html =================================================================== --- trunk/how_tos/all_man_pages/html/ar01s05.html 2006-03-25 00:05:38 UTC (rev 2171) +++ trunk/how_tos/all_man_pages/html/ar01s05.html 2006-03-26 21:52:10 UTC (rev 2172) @@ -1,7 +1,7 @@ -<html><head><meta http-equiv="Content-Type" content="text/html; charset=ANSI_X3.4-1968"><title>MAKE-ISO(1)</title><meta name="generator" content="DocBook XSL Stylesheets V1.68.1"><link rel="start" href="index.html" title="Morphix Man Pages"><link rel="up" href="index.html" title="Morphix Man Pages"><link rel="prev" href="ar01s04.html" title="MODULE-EXTRACTOR(1)"><link rel="next" href="ar01s06.html" title="ISOMORPH(1)"><link href="http://www.morphix.org/templates/MorphixORG/css/template_css.css" rel="stylesheet" type="text/css"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">MAKE-ISO(1)</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="ar01s04.html">Prev</a> </td><th width="60%" align="center"> </th><td width="20%" align="right"> <a accesskey="n" href="ar01s06.html">Next</a></td></tr></table><hr></div><div class="section" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2466591"></a>MAKE-ISO(1)</h2></div></div></div><p>Brendan Sleight <morphix@barwap.spam_removed.com></p><div class="section" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2466603"></a>NAME</h3></div></div></div><p>make-iso - make an morphix iso from sourcedirectory</p></div><div class="section" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2466614"></a>SYNOPSIS</h3></div></div></div><p><span class="emphasis"><em>make-iso</em></span> sourcedirectory destination.iso</p></div><div class="section" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2466842"></a>DESCRIPTION</h3></div></div></div><p>This script generates internal md5sum file for the sourcedirectory +<html><head><meta http-equiv="Content-Type" content="text/html; charset=ANSI_X3.4-1968"><title>MAKE-ISO(1)</title><meta name="generator" content="DocBook XSL Stylesheets V1.68.1"><link rel="start" href="index.html" title="Morphix Man Pages"><link rel="up" href="index.html" title="Morphix Man Pages"><link rel="prev" href="ar01s04.html" title="MODULE-EXTRACTOR(1)"><link rel="next" href="ar01s06.html" title="ISOMORPH(1)"><link href="http://www.morphix.org/templates/MorphixORG/css/template_css.css" rel="stylesheet" type="text/css"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">MAKE-ISO(1)</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="ar01s04.html">Prev</a> </td><th width="60%" align="center"> </th><td width="20%" align="right"> <a accesskey="n" href="ar01s06.html">Next</a></td></tr></table><hr></div><div class="section" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2466591"></a>MAKE-ISO(1)</h2></div></div></div><p>Brendan Sleight <morphix@barwap.spam_removed.com></p><div class="section" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2466602"></a>NAME</h3></div></div></div><p>make-iso - make an morphix iso from sourcedirectory</p></div><div class="section" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2466613"></a>SYNOPSIS</h3></div></div></div><p><span class="emphasis"><em>make-iso</em></span> sourcedirectory destination.iso</p></div><div class="section" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2466841"></a>DESCRIPTION</h3></div></div></div><p>This script generates internal md5sum file for the sourcedirectory and then generates a bootable live CD from the <span class="emphasis"><em>sourcedirectory</em></span> Naturally, destination.iso is the output</p></div><div class="section" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2466860"></a>EXAMPLES</h3></div></div></div><div class="variablelist"><dl><dt><span class="term"> Build a mini-module </span></dt><dd> make-iso /tmp/morphix-cd-files/ /tmp/Morphix-cd.iso -</dd></dl></div></div><div class="section" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2466886"></a>SECURITY</h3></div></div></div><p>Needs to be run as root or via sudo. So has security implications.</p></div><div class="section" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2466897"></a>NOTES</h3></div></div></div><p>Morphix is a modular-based liveCD, designed to be easy to modify. The package morphing-tools and morphix-mmaker contains tools to help modify and build morphix-based LiveCDs.</p></div><div class="section" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2466910"></a>BUGS</h3></div></div></div><p>Dont panic. If you find one, report it to us, but please make sure you have read all of the documentation first. We have assumed that you have cloop device and have installed the packages morphing-tools and morphix-mmaker.</p></div><div class="section" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2466924"></a>AUTHORS</h3></div></div></div><p>Written by Alex de Landgraaf and other Morphix developers. <a href="http://www.morphix.org/" target="_top">Morphix web site</a>. Browse cvs repository[http://sourceforge.net/projects/morphix] and cvs mailing lists for full list of developers and patches submitted.</p><p>This man page was written by Brendan Sleight using <a href="http://www.methods.co.nz/asciidoc/" target="_top">asciidoc</a></p></div><div class="section" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2466954"></a>SEE ALSO</h3></div></div></div><p><span class="strong"><strong>module-builder, module-extractor, make-iso, isomorph, mmaker, isomaker, make-mini, install2mainmod, minimod-gen, addtoiso</strong></span></p></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="ar01s04.html">Prev</a> </td><td width="20%" align="center"> </td><td width="40%" align="right"> <a accesskey="n" href="ar01s06.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">MODULE-EXTRACTOR(1) </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> ISOMORPH(1)</td></tr></table></div></body></html> +</dd></dl></div></div><div class="section" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2466885"></a>SECURITY</h3></div></div></div><p>Needs to be run as root or via sudo. So has security implications.</p></div><div class="section" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2466897"></a>NOTES</h3></div></div></div><p>Morphix is a modular-based liveCD, designed to be easy to modify. The package morphing-tools and morphix-mmaker contains tools to help modify and build morphix-based LiveCDs.</p></div><div class="section" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2466910"></a>BUGS</h3></div></div></div><p>Dont panic. If you find one, report it to us, but please make sure you have read all of the documentation first. We have assumed that you have cloop device and have installed the packages morphing-tools and morphix-mmaker.</p></div><div class="section" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2466924"></a>AUTHORS</h3></div></div></div><p>Written by Alex de Landgraaf and other Morphix developers. <a href="http://www.morphix.org/" target="_top">Morphix web site</a>. Browse cvs repository[http://sourceforge.net/projects/morphix] and cvs mailing lists for full list of developers and patches submitted.</p><p>This man page was written by Brendan Sleight using <a href="http://www.methods.co.nz/asciidoc/" target="_top">asciidoc</a></p></div><div class="section" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2466953"></a>SEE ALSO</h3></div></div></div><p><span class="strong"><strong>module-builder, module-extractor, make-iso, isomorph, mmaker, isomaker, make-mini, install2mainmod, minimod-gen, addtoiso</strong></span></p></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="ar01s04.html">Prev</a> </td><td width="20%" align="center"> </td><td width="40%" align="right"> <a accesskey="n" href="ar01s06.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">MODULE-EXTRACTOR(1) </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> ISOMORPH(1)</td></tr></table></div></body></html> Modified: trunk/how_tos/all_man_pages/html/ar01s06.html =================================================================== --- trunk/how_tos/all_man_pages/html/ar01s06.html 2006-03-25 00:05:38 UTC (rev 2171) +++ trunk/how_tos/all_man_pages/html/ar01s06.html 2006-03-26 21:52:10 UTC (rev 2172) @@ -1,4 +1,4 @@ -<html><head><meta http-equiv="Content-Type" content="text/html; charset=ANSI_X3.4-1968"><title>ISOMORPH(1)</title><meta name="generator" content="DocBook XSL Stylesheets V1.68.1"><link rel="start" href="index.html" title="Morphix Man Pages"><link rel="up" href="index.html" title="Morphix Man Pages"><link rel="prev" href="ar01s05.html" title="MAKE-ISO(1)"><link rel="next" href="ar01s07.html" title="MMAKER(1)"><link href="http://www.morphix.org/templates/MorphixORG/css/template_css.css" rel="stylesheet" type="text/css"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">ISOMORPH(1)</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="ar01s05.html">Prev</a> </td><th width="60%" align="center"> </th><td width="20%" align="right"> <a accesskey="n" href="ar01s07.html">Next</a></td></tr></table><hr></div><div class="section" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2466970"></a>ISOMORPH(1)</h2></div></div></div><p>Brendan Sleight <morphix@barwap.spam_removed.com></p><div class="section" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2466982"></a>NAME</h3></div></div></div><p>isomorph - manipulate a morphix iso</p></div><div class="section" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2466993"></a>SYNOPSIS</h3></div></div></div><p><span class="emphasis"><em>isomorph</em></span> —add [OPTIONS…] [ file | file path | option ] OLDISO NEWISO</p><p><span class="emphasis"><em>isomorph</em></span> —del [OPTIONS…] [ file | file path | option ] OLDISO NEWISO</p><p><span class="emphasis"><em>isomorph</em></span> —del-all [OPTIONS…] OLDISO NEWISO</p><p><span class="emphasis"><em>isomorph</em></span> —get [OPTIONS…] ISO DIRECTORY</p><p><span class="emphasis"><em>isomorph</em></span> —list [OPTIONS…] ISO</p><p><span class="emphasis"><em>isomorph</em></span> —list-xml ISO</p></div><div class="section" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2467045"></a>DESCRIPTION</h3></div></div></div><p>This script manipulates a morphix iso. Modular parts are added, deleted extracted or listed from the iso.</p></div><div class="section" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2467057"></a>OPTIONS</h3></div></div></div><div class="variablelist"><dl><dt><span class="term"> +<html><head><meta http-equiv="Content-Type" content="text/html; charset=ANSI_X3.4-1968"><title>ISOMORPH(1)</title><meta name="generator" content="DocBook XSL Stylesheets V1.68.1"><link rel="start" href="index.html" title="Morphix Man Pages"><link rel="up" href="index.html" title="Morphix Man Pages"><link rel="prev" href="ar01s05.html" title="MAKE-ISO(1)"><link rel="next" href="ar01s07.html" title="MMAKER(1)"><link href="http://www.morphix.org/templates/MorphixORG/css/template_css.css" rel="stylesheet" type="text/css"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">ISOMORPH(1)</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="ar01s05.html">Prev</a> </td><th width="60%" align="center"> </th><td width="20%" align="right"> <a accesskey="n" href="ar01s07.html">Next</a></td></tr></table><hr></div><div class="section" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2466970"></a>ISOMORPH(1)</h2></div></div></div><p>Brendan Sleight <morphix@barwap.spam_removed.com></p><div class="section" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2466981"></a>NAME</h3></div></div></div><p>isomorph - manipulate a morphix iso</p></div><div class="section" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2466992"></a>SYNOPSIS</h3></div></div></div><p><span class="emphasis"><em>isomorph</em></span> —add [OPTIONS…] [ file | file path | option ] OLDISO NEWISO</p><p><span class="emphasis"><em>isomorph</em></span> —del [OPTIONS…] [ file | file path | option ] OLDISO NEWISO</p><p><span class="emphasis"><em>isomorph</em></span> —del-all [OPTIONS…] OLDISO NEWISO</p><p><span class="emphasis"><em>isomorph</em></span> —get [OPTIONS…] ISO DIRECTORY</p><p><span class="emphasis"><em>isomorph</em></span> —list [OPTIONS…] ISO</p><p><span class="emphasis"><em>isomorph</em></span> —list-xml ISO</p></div><div class="section" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2467044"></a>DESCRIPTION</h3></div></div></div><p>This script manipulates a morphix iso. Modular parts are added, deleted extracted or listed from the iso.</p></div><div class="section" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2467056"></a>OPTIONS</h3></div></div></div><div class="variablelist"><dl><dt><span class="term"> <span class="emphasis"><em>—add</em></span> [OPTIONS…] [ file | file path | option ] OLDISO NEWISO </span></dt><dd><p> Add modular parts to the <span class="emphasis"><em>OLDISO</em></span> making a <span class="emphasis"><em>NEWISO</em></span> @@ -146,8 +146,8 @@ <span class="emphasis"><em>—list-xml</em></span> ISO </span></dt><dd> List all morphix files in XML format from the <span class="emphasis"><em>ISO</em></span> -</dd></dl></div></div><div class="section" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2514382"></a>EXAMPLES</h3></div></div></div><div class="variablelist"><dl><dt><span class="term"> +</dd></dl></div></div><div class="section" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2514380"></a>EXAMPLES</h3></div></div></div><div class="variablelist"><dl><dt><span class="term"> Add a boot parameter to a Morphix iso </span></dt><dd> isomorph —add boot "splash=n" /tmp/old.iso /tmp/new.iso -</dd></dl></div></div><div class="section" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2514409"></a>SECURITY</h3></div></div></div><p>Needs to be run as root or via sudo. So has security implications.</p></div><div class="section" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2514420"></a>NOTES</h3></div></div></div><p>Morphix is a modular-based liveCD, designed to be easy to modify. The package morphing-tools and morphix-mmaker contains tools to help modify and build morphix-based LiveCDs.</p></div><div class="section" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2514433"></a>BUGS</h3></div></div></div><p>Dont panic. If you find one, report it to us, but please make sure you have read all of the documentation first. We have assumed that you have cloop device and have installed the packages morphing-tools and morphix-mmaker.</p></div><div class="section" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2514447"></a>AUTHORS</h3></div></div></div><p>Written by Alex de Landgraaf and other Morphix developers. <a href="http://www.morphix.org/" target="_top">Morphix web site</a>. Browse cvs repository[http://sourceforge.net/projects/morphix] and cvs mailing lists for full list of developers and patches submitted.</p><p>This man page was written by Brendan Sleight using <a href="http://www.methods.co.nz/asciidoc/" target="_top">asciidoc</a></p></div><div class="section" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2514476"></a>SEE ALSO</h3></div></div></div><p><span class="strong"><strong>module-builder, module-extractor, make-iso, isomorph, mmaker, isomaker, make-mini, install2mainmod, minimod-gen, addtoiso</strong></span></p></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="ar01s05.html">Prev</a> </td><td width="20%" align="center"> </td><td width="40%" align="right"> <a accesskey="n" href="ar01s07.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">MAKE-ISO(1) </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> MMAKER(1)</td></tr></table></div></body></html> +</dd></dl></div></div><div class="section" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2514408"></a>SECURITY</h3></div></div></div><p>Needs to be run as root or via sudo. So has security implications.</p></div><div class="section" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2514419"></a>NOTES</h3></div></div></div><p>Morphix is a modular-based liveCD, designed to be easy to modify. The package morphing-tools and morphix-mmaker contains tools to help modify and build morphix-based LiveCDs.</p></div><div class="section" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2514432"></a>BUGS</h3></div></div></div><p>Dont panic. If you find one, report it to us, but please make sure you have read all of the documentation first. We have assumed that you have cloop device and have installed the packages morphing-tools and morphix-mmaker.</p></div><div class="section" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2514446"></a>AUTHORS</h3></div></div></div><p>Written by Alex de Landgraaf and other Morphix developers. <a href="http://www.morphix.org/" target="_top">Morphix web site</a>. Browse cvs repository[http://sourceforge.net/projects/morphix] and cvs mailing lists for full list of developers and patches submitted.</p><p>This man page was written by Brendan Sleight using <a href="http://www.methods.co.nz/asciidoc/" target="_top">asciidoc</a></p></div><div class="section" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2514475"></a>SEE ALSO</h3></div></div></div><p><span class="strong"><strong>module-builder, module-extractor, make-iso, isomorph, mmaker, isomaker, make-mini, install2mainmod, minimod-gen, addtoiso</strong></span></p></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="ar01s05.html">Prev</a> </td><td width="20%" align="center"> </td><td width="40%" align="right"> <a accesskey="n" href="ar01s07.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">MAKE-ISO(1) </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> MMAKER(1)</td></tr></table></div></body></html> Modified: trunk/how_tos/all_man_pages/html/ar01s07.html =================================================================== --- trunk/how_tos/all_man_pages/html/ar01s07.html 2006-03-25 00:05:38 UTC (rev 2171) +++ trunk/how_tos/all_man_pages/html/ar01s07.html 2006-03-26 21:52:10 UTC (rev 2172) @@ -1,4 +1,4 @@ -<html><head><meta http-equiv="Content-Type" content="text/html; charset=ANSI_X3.4-1968"><title>MMAKER(1)</title><meta name="generator" content="DocBook XSL Stylesheets V1.68.1"><link rel="start" href="index.html" title="Morphix Man Pages"><link rel="up" href="index.html" title="Morphix Man Pages"><link rel="prev" href="ar01s06.html" title="ISOMORPH(1)"><link rel="next" href="ar01s08.html" title="ISOMAKER(1)"><link href="http://www.morphix.org/templates/MorphixORG/css/template_css.css" rel="stylesheet" type="text/css"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">MMAKER(1)</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="ar01s06.html">Prev</a> </td><th width="60%" align="center"> </th><td width="20%" align="right"> <a accesskey="n" href="ar01s08.html">Next</a></td></tr></table><hr></div><div class="section" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2514493"></a>MMAKER(1)</h2></div></div></div><p>Brendan Sleight <morphix@barwap.spam_removed.com></p><div class="section" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2514505"></a>NAME</h3></div></div></div><p>mmaker - Creates a morphix base or morphix main module, using template files</p></div><div class="section" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2514516"></a>SYNOPSIS</h3></div></div></div><p><span class="emphasis"><em>mmaker</em></span> [-g debootstrap.tar.gz] [-b debootstrap.tar.bz] [-m miniroot.gz] [-k vmlinuz-mykernel] [-t /tempdir] [-c] [-d /debootstrapped] [-p http://proxy.mydomain.com:8080] [-v] [-i] input.xml output.mod</p></div><div class="section" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2514532"></a>DESCRIPTION</h3></div></div></div><p>Mmaker creates a Morphix base or main module <span class="emphasis"><em>output.mod</em></span>, using a xml template file <span class="emphasis"><em>input.xml</em></span>. A really lazy way to build parts of a LiveCD.</p></div><div class="section" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2514552"></a>OPTIONS</h3></div></div></div><div class="variablelist"><dl><dt><span class="term"> +<html><head><meta http-equiv="Content-Type" content="text/html; charset=ANSI_X3.4-1968"><title>MMAKER(1)</title><meta name="generator" content="DocBook XSL Stylesheets V1.68.1"><link rel="start" href="index.html" title="Morphix Man Pages"><link rel="up" href="index.html" title="Morphix Man Pages"><link rel="prev" href="ar01s06.html" title="ISOMORPH(1)"><link rel="next" href="ar01s08.html" title="ISOMAKER(1)"><link href="http://www.morphix.org/templates/MorphixORG/css/template_css.css" rel="stylesheet" type="text/css"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">MMAKER(1)</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="ar01s06.html">Prev</a> </td><th width="60%" align="center"> </th><td width="20%" align="right"> <a accesskey="n" href="ar01s08.html">Next</a></td></tr></table><hr></div><div class="section" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2514492"></a>MMAKER(1)</h2></div></div></div><p>Brendan Sleight <morphix@barwap.spam_removed.com></p><div class="section" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2514503"></a>NAME</h3></div></div></div><p>mmaker - Creates a morphix base or morphix main module, using template files</p></div><div class="section" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2514515"></a>SYNOPSIS</h3></div></div></div><p><span class="emphasis"><em>mmaker</em></span> [-g debootstrap.tar.gz] [-b debootstrap.tar.bz] [-m miniroot.gz] [-k vmlinuz-mykernel] [-t /tempdir] [-c] [-d /debootstrapped] [-p http://proxy.mydomain.com:8080] [-v] [-i] input.xml output.mod</p></div><div class="section" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2514531"></a>DESCRIPTION</h3></div></div></div><p>Mmaker creates a Morphix base or main module <span class="emphasis"><em>output.mod</em></span>, using a xml template file <span class="emphasis"><em>input.xml</em></span>. A really lazy way to build parts of a LiveCD.</p></div><div class="section" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2514550"></a>OPTIONS</h3></div></div></div><div class="variablelist"><dl><dt><span class="term"> <span class="emphasis"><em>-g debootstrap.tar.gz</em></span> </span></dt><dd> Use a local debian bootstrap, rather than download from repository. @@ -38,7 +38,7 @@ <span class="emphasis"><em>-i</em></span> </span></dt><dd> Interactive mode - may not work. -</dd></dl></div></div><div class="section" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2514749"></a>EXAMPLES</h3></div></div></div><div class="variablelist"><dl><dt><span class="term"> +</dd></dl></div></div><div class="section" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2514748"></a>EXAMPLES</h3></div></div></div><div class="variablelist"><dl><dt><span class="term"> Build a Morphix base module </span></dt><dd> mmaker -m /my/livecd/boot/miniroot.gz -k /my/livecd/boot/vmlinuz basemod.xml /my/livecd/base/morphix @@ -46,4 +46,4 @@ Build a Morphix main module </span></dt><dd> mmaker firefox.xml firefox.mod -</dd></dl></div></div><div class="section" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2514792"></a>SECURITY</h3></div></div></div><p>Needs to be run as root or via sudo. So has security implications.</p></div><div class="section" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2514803"></a>NOTES</h3></div></div></div><p>Morphix is a modular-based liveCD, designed to be easy to modify. The package morphing-tools and morphix-mmaker contains tools to help modify and build morphix-based LiveCDs.</p></div><div class="section" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2514816"></a>BUGS</h3></div></div></div><p>Dont panic. If you find one, report it to us, but please make sure you have read all of the documentation first. We have assumed that you have cloop device and have installed the packages morphing-tools and morphix-mmaker.</p></div><div class="section" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2514830"></a>AUTHORS</h3></div></div></div><p>Written by Alex de Landgraaf and other Morphix developers. <a href="http://www.morphix.org/" target="_top">Morphix web site</a>. Browse cvs repository[http://sourceforge.net/projects/morphix] and cvs mailing lists for full list of developers and patches submitted.</p><p>This man page was written by Brendan Sleight using <a href="http://www.methods.co.nz/asciidoc/" target="_top">asciidoc</a></p></div><div class="section" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2514860"></a>SEE ALSO</h3></div></div></div><p><span class="strong"><strong>module-builder, module-extractor, make-iso, isomorph, mmaker, isomaker, make-mini, install2mainmod, minimod-gen, addtoiso</strong></span></p></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="ar01s06.html">Prev</a> </td><td width="20%" align="center"> </td><td width="40%" align="right"> <a accesskey="n" href="ar01s08.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">ISOMORPH(1) </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> ISOMAKER(1)</td></tr></table></div></body></html> +</dd></dl></div></div><div class="section" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2514791"></a>SECURITY</h3></div></div></div><p>Needs to be run as root or via sudo. So has security implications.</p></div><div class="section" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2514802"></a>NOTES</h3></div></div></div><p>Morphix is a modular-based liveCD, designed to be easy to modify. The package morphing-tools and morphix-mmaker contains tools to help modify and build morphix-based LiveCDs.</p></div><div class="section" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2514815"></a>BUGS</h3></div></div></div><p>Dont panic. If you find one, report it to us, but please make sure you have read all of the documentation first. We have assumed that you have cloop device and have installed the packages morphing-tools and morphix-mmaker.</p></div><div class="section" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2514829"></a>AUTHORS</h3></div></div></div><p>Written by Alex de Landgraaf and other Morphix developers. <a href="http://www.morphix.org/" target="_top">Morphix web site</a>. Browse cvs repository[http://sourceforge.net/projects/morphix] and cvs mailing lists for full list of developers and patches submitted.</p><p>This man page was written by Brendan Sleight using <a href="http://www.methods.co.nz/asciidoc/" target="_top">asciidoc</a></p></div><div class="section" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2514858"></a>SEE ALSO</h3></div></div></div><p><span class="strong"><strong>module-builder, module-extractor, make-iso, isomorph, mmaker, isomaker, make-mini, install2mainmod, minimod-gen, addtoiso</strong></span></p></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="ar01s06.html">Prev</a> </td><td width="20%" align="center"> </td><td width="40%" align="right"> <a accesskey="n" href="ar01s08.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">ISOMORPH(1) </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> ISOMAKER(1)</td></tr></table></div></body></html> Modified: trunk/how_tos/all_man_pages/html/ar01s08.html =================================================================== --- trunk/how_tos/all_man_pages/html/ar01s08.html 2006-03-25 00:05:38 UTC (rev 2171) +++ trunk/how_tos/all_man_pages/html/ar01s08.html 2006-03-26 21:52:10 UTC (rev 2172) @@ -1,4 +1,4 @@ -<html><head><meta http-equiv="Content-Type" content="text/html; charset=ANSI_X3.4-1968"><title>ISOMAKER(1)</title><meta name="generator" content="DocBook XSL Stylesheets V1.68.1"><link rel="start" href="index.html" title="Morphix Man Pages"><link rel="up" href="index.html" title="Morphix Man Pages"><link rel="prev" href="ar01s07.html" title="MMAKER(1)"><link rel="next" href="ar01s09.html" title="MAKE-MINI(1)"><link href="http://www.morphix.org/templates/MorphixORG/css/template_css.css" rel="stylesheet" type="text/css"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">ISOMAKER(1)</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="ar01s07.html">Prev</a> </td><th width="60%" align="center"> </th><td width="20%" align="right"> <a accesskey="n" href="ar01s09.html">Next</a></td></tr></table><hr></div><div class="section" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2514876"></a>ISOMAKER(1)</h2></div></div></div><p>Brendan Sleight <morphix@barwap.spam_removed.com></p><div class="section" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2514888"></a>NAME</h3></div></div></div><p>isomaker - Creates a morphix base or morphix main module, using template files</p></div><div class="section" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2514899"></a>SYNOPSIS</h3></div></div></div><p><span class="emphasis"><em>isomaker</em></span> -b basemod.xml [-c] [-m mainmod.xml] [-m mainmod2.xml] [[-r repository [-p package1] [-p package2]] [-t tarball] output.iso</p></div><div class="section" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2514914"></a>DESCRIPTION</h3></div></div></div><p>This tool uses mmaker to generate a Morphix iso from scratch, using one basemodule template, and arbitrary number of mainmodule templates and optionally extra dpkg-deb-extracted deb/udeb packages</p></div><div class="section" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2514928"></a>OPTIONS</h3></div></div></div><div class="variablelist"><dl><dt><span class="term"> +<html><head><meta http-equiv="Content-Type" content="text/html; charset=ANSI_X3.4-1968"><title>ISOMAKER(1)</title><meta name="generator" content="DocBook XSL Stylesheets V1.68.1"><link rel="start" href="index.html" title="Morphix Man Pages"><link rel="up" href="index.html" title="Morphix Man Pages"><link rel="prev" href="ar01s07.html" title="MMAKER(1)"><link rel="next" href="ar01s09.html" title="MAKE-MINI(1)"><link href="http://www.morphix.org/templates/MorphixORG/css/template_css.css" rel="stylesheet" type="text/css"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">ISOMAKER(1)</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="ar01s07.html">Prev</a> </td><th width="60%" align="center"> </th><td width="20%" align="right"> <a accesskey="n" href="ar01s09.html">Next</a></td></tr></table><hr></div><div class="section" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2514875"></a>ISOMAKER(1)</h2></div></div></div><p>Brendan Sleight <morphix@barwap.spam_removed.com></p><div class="section" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2514887"></a>NAME</h3></div></div></div><p>isomaker - Creates a morphix base or morphix main module, using template files</p></div><div class="section" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2514898"></a>SYNOPSIS</h3></div></div></div><p><span class="emphasis"><em>isomaker</em></span> -b basemod.xml [-c] [-m mainmod.xml] [-m mainmod2.xml] [[-r repository [-p package1] [-p package2]] [-t tarball] output.iso</p></div><div class="section" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2514913"></a>DESCRIPTION</h3></div></div></div><p>This tool uses mmaker to generate a Morphix iso from scratch, using one basemodule template, and arbitrary number of mainmodule templates and optionally extra dpkg-deb-extracted deb/udeb packages</p></div><div class="section" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2514926"></a>OPTIONS</h3></div></div></div><div class="variablelist"><dl><dt><span class="term"> <span class="emphasis"><em>-b basemod.xml</em></span> </span></dt><dd> Base module template used to build output.iso @@ -26,7 +26,7 @@ <span class="emphasis"><em>-g tarball.tar.gz</em></span> </span></dt><dd> Use a local debian bootstrap, rather than download from repository. -</dd></dl></div></div><div class="section" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2515068"></a>USAGE</h3></div></d... [truncated message content] |
From: <bms...@us...> - 2006-03-29 22:01:29
|
Revision: 2186 Author: bmsleight Date: 2006-03-29 14:01:20 -0800 (Wed, 29 Mar 2006) ViewCVS: http://svn.sourceforge.net/morphix/?rev=2186&view=rev Log Message: ----------- Oops, name should be morphix-morphmini Modified Paths: -------------- trunk/morph-scripts/Makefile trunk/morph-scripts/debian/changelog trunk/morph-scripts/debian/control trunk/morph-scripts/debian/morphmini.1 trunk/morph-scripts/debian/rules Modified: trunk/morph-scripts/Makefile =================================================================== --- trunk/morph-scripts/Makefile 2006-03-29 21:44:23 UTC (rev 2185) +++ trunk/morph-scripts/Makefile 2006-03-29 22:01:20 UTC (rev 2186) @@ -74,7 +74,7 @@ cp ./mmorphix/morphing-morphix.messages $(DESTDIR)/usr/share/doc/morphing-morphix/morphing-morphix.messages chmod a+x $(DESTDIR)/usr/sbin/morphing-morphix -morphing-morphmini: +morphix-morphmini: mkdir -p $(DESTDIR)/usr/sbin cp ./morphmini/morphmini $(DESTDIR)/usr/sbin/morphmini chmod a+x $(DESTDIR)/usr/sbin/morphmini Modified: trunk/morph-scripts/debian/changelog =================================================================== --- trunk/morph-scripts/debian/changelog 2006-03-29 21:44:23 UTC (rev 2185) +++ trunk/morph-scripts/debian/changelog 2006-03-29 22:01:20 UTC (rev 2186) @@ -1,6 +1,6 @@ morph-scripts (0.2-18) unstable; urgency=low - * adding morphing-morphmini + * adding morphix-morphmini -- bmsleight <bms...@ba...> Sun, 26 Mar 2006 23:15:00 +0100 Modified: trunk/morph-scripts/debian/control =================================================================== --- trunk/morph-scripts/debian/control 2006-03-29 21:44:23 UTC (rev 2185) +++ trunk/morph-scripts/debian/control 2006-03-29 22:01:20 UTC (rev 2186) @@ -109,7 +109,7 @@ Description: Nice GUI to make a Morphix CD from a Morphix CD Provides a way to easily make a Morphix CD from a Morphix CD -Package: morphing-morphmini +Package: morphix-morphmini Architecture: any Depends: xmlstarlet, morphix-modulebuilder Description: Creates a morphix mini module, using a template file. Modified: trunk/morph-scripts/debian/morphmini.1 =================================================================== --- trunk/morph-scripts/debian/morphmini.1 2006-03-29 21:44:23 UTC (rev 2185) +++ trunk/morph-scripts/debian/morphmini.1 2006-03-29 22:01:20 UTC (rev 2186) @@ -44,10 +44,15 @@ <minitag>Example</minitag> <maintag>ALL</maintag> <filelist> <!\-\- files to be added to minimod available as $1/morphix/files/ \-\-> - <file>/home/morph/test\&.jpg</file> - <file>/home/morph/test2\&.jpg</file> - <file>/home/morph/test3\&.jpg</file> - <file>/home/morph/test4\&.jpg</file> + <local> + <file>/home/morph/test\&.jpg</file> + <file>/home/morph/test2\&.jpg</file> + <file>/home/morph/test3\&.jpg</file> + <file>/home/morph/test4\&.jpg</file> + </local> + <remote> + <file>http://www\&.barwap\&.com/morphix/mmorphix/morphixsound2\&.wav</file> + </remote> </filelist> <commandlist> <!\-\- Commands to be started from minimodule \-\-> <preX> <!\-\- Commands to run before X windows start \-\-> Modified: trunk/morph-scripts/debian/rules =================================================================== --- trunk/morph-scripts/debian/rules 2006-03-29 21:44:23 UTC (rev 2185) +++ trunk/morph-scripts/debian/rules 2006-03-29 22:01:20 UTC (rev 2186) @@ -64,6 +64,7 @@ $(MAKE) debget DESTDIR=$(CURDIR)/debian/morphix-deb-get $(MAKE) makeiso DESTDIR=$(CURDIR)/debian/morphix-make-iso $(MAKE) morphing-morphix DESTDIR=$(CURDIR)/debian/morphing-morphix + $(MAKE) morphmini DESTDIR=$(CURDIR)/debian/morphmini dh_install -s # Must not depend on anything. This is to be called by @@ -84,7 +85,7 @@ # dh_installinit # dh_installcron # dh_installinfo - dh_installman debian/add_to_iso.1 debian/isomorph.1 debian/make-iso.1 debian/minimod-gen.1 debian/module-builder.1 debian/module-extractor.1 + dh_installman debian/add_to_iso.1 debian/isomorph.1 debian/make-iso.1 debian/minimod-gen.1 debian/module-builder.1 debian/module-extractor.1 debian/morphmini.1 dh_link dh_strip dh_compress This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <bms...@us...> - 2006-03-30 19:57:12
|
Revision: 2187 Author: bmsleight Date: 2006-03-30 11:57:04 -0800 (Thu, 30 Mar 2006) ViewCVS: http://svn.sourceforge.net/morphix/?rev=2187&view=rev Log Message: ----------- Ok, so I tested the deb building this time. Makefile are still weird even after you get the filenames correct Modified Paths: -------------- trunk/morph-scripts/Makefile trunk/morph-scripts/debian/rules Added Paths: ----------- trunk/morph-scripts/morphmini/morphmini Removed Paths: ------------- trunk/morph-scripts/morphmini/morphimini Modified: trunk/morph-scripts/Makefile =================================================================== --- trunk/morph-scripts/Makefile 2006-03-29 22:01:20 UTC (rev 2186) +++ trunk/morph-scripts/Makefile 2006-03-30 19:57:04 UTC (rev 2187) @@ -1,7 +1,7 @@ all: install -install: i2mainmod isomorph modulebuilder changekernel minimodgen debget moduleextractor moduleloader add_to_iso convert_to_bootimg morphing-morphix morphing-morphmini +install: i2mainmod isomorph modulebuilder changekernel minimodgen debget moduleextractor moduleloader add_to_iso convert_to_bootimg morphing-morphix morphix-morphmini build_minimod: mkdir -p $(DESTDIR)/usr/sbin @@ -65,20 +65,20 @@ cp ./module-extractor.pl $(DESTDIR)/usr/sbin/module-extractor chmod a+x $(DESTDIR)/usr/sbin/module-extractor -morphing-morphix: +morphing-morphix: mkdir -p $(DESTDIR)/usr/sbin mkdir -p $(DESTDIR)/usr/share mkdir -p $(DESTDIR)/usr/share/doc mkdir -p $(DESTDIR)/usr/share/doc/morphing-morphix/ cp ./mmorphix/morphing-morphix $(DESTDIR)/usr/sbin/morphing-morphix cp ./mmorphix/morphing-morphix.messages $(DESTDIR)/usr/share/doc/morphing-morphix/morphing-morphix.messages - chmod a+x $(DESTDIR)/usr/sbin/morphing-morphix + chmod a+x $(DESTDIR)/usr/sbin/morphing-morphix morphix-morphmini: mkdir -p $(DESTDIR)/usr/sbin cp ./morphmini/morphmini $(DESTDIR)/usr/sbin/morphmini chmod a+x $(DESTDIR)/usr/sbin/morphmini - + remove: rm $(DESTDIR)/usr/sbin/install2mainmod rm $(DESTDIR)/usr/sbin/isomorph.pl Modified: trunk/morph-scripts/debian/rules =================================================================== --- trunk/morph-scripts/debian/rules 2006-03-29 22:01:20 UTC (rev 2186) +++ trunk/morph-scripts/debian/rules 2006-03-30 19:57:04 UTC (rev 2187) @@ -64,7 +64,7 @@ $(MAKE) debget DESTDIR=$(CURDIR)/debian/morphix-deb-get $(MAKE) makeiso DESTDIR=$(CURDIR)/debian/morphix-make-iso $(MAKE) morphing-morphix DESTDIR=$(CURDIR)/debian/morphing-morphix - $(MAKE) morphmini DESTDIR=$(CURDIR)/debian/morphmini + $(MAKE) morphix-morphmini DESTDIR=$(CURDIR)/debian/morphix-morphmini dh_install -s # Must not depend on anything. This is to be called by Deleted: trunk/morph-scripts/morphmini/morphimini =================================================================== --- trunk/morph-scripts/morphmini/morphimini 2006-03-29 22:01:20 UTC (rev 2186) +++ trunk/morph-scripts/morphmini/morphimini 2006-03-30 19:57:04 UTC (rev 2187) @@ -1,169 +0,0 @@ -#!/bin/bash -# -# Copyleft (c) 2006 Brendan M. Sleight # -# <bmsleight@barwap._REMOVE_SPAM_TRAP.com> # -# # -# This script is licensed under the GNU GPL v2 or later. # -# # -# On Debian systems, this license can be obtained via # -# /usr/share/common-licenses/GPL # -# - -get_global_variables () -{ - TMP_DIR=/tmp/morphixmini.$$ - TMP_FILE=/tmp/morphixmini.$$.tmp - TMP_FILE_2=/tmp/morphixmini.$$.2.tmp - RETURN_VALUE="" -} - -set_up_module_build () -{ -mkdir $TMP_DIR 2>/dev/null -mkdir $TMP_DIR/minimod/ 2>/dev/null -mkdir $TMP_DIR/minimod/morphix 2>/dev/null -mkdir $TMP_DIR/minimod/morphix/files 2>/dev/null -mkdir $TMP_DIR/minimod/morphix/junk 2>/dev/null -dd if=/dev/urandom of=$TMP_DIR/minimod/morphix/junk/minimum_minimod_size.junk bs=1k count=2 2>/dev/null -cp $TEMPLATE $TMP_DIR/minimod/morphix/ -echo "#!/bin/sh " >$TMP_DIR/minimod/morphix/loadmod.sh -chmod a+x $TMP_DIR/minimod/morphix/loadmod.sh -} - - -xml_get () -{ - RETURN_VALUE=$(xmlstarlet sel -t -m "$1" -v "$2" -v "@$3" -n $4 | sed 's/^[ \t]*//' | sed /^$/d) -} - -xml_get_tmp () -{ - xmlstarlet sel -t -m "$1" -v "$2" -v "@$3" -n $4 | sed 's/^[ \t]*//' | sed /^$/d >$TMP_FILE - convert_quoted_chars -} - - -write_tags_and_desciptions () -{ -xml_get "//minimod" "maintag" "maintag" $TEMPLATE -echo "$RETURN_VALUE" >$TMP_DIR/minimod/morphix/main_module -xml_get "//minimod" "minitag" "maintag" $TEMPLATE -echo "$RETURN_VALUE" >$TMP_DIR/minimod/morphix/mini_module -xml_get "//minimod" "description" "description" $TEMPLATE -echo "$RETURN_VALUE" >$TMP_DIR/minimod/morphix/mini_module -xml_get "//minimod" "minitag" "minitag" $TEMPLATE -echo "$RETURN_VALUE" >>$TMP_DIR/minimod/morphix/mini_module -} - -process_filelist () -{ -xml_get_tmp //minimod/filelist local file $TEMPLATE -RETURN_VALUE=$(cat $TMP_FILE) -for CP_FILES in $RETURN_VALUE -do - cp -p $CP_FILES $TMP_DIR/minimod/morphix/files/ -done -xml_get_tmp //minimod/filelist remote file $TEMPLATE -RETURN_VALUE=$(cat $TMP_FILE) -for CP_FILES in $RETURN_VALUE -do - wget --tries=3 --timeout=60 --directory-prefix=$TMP_DIR/minimod/morphix/files/ $CP_FILES -done -} - -process_command_prex () -{ -xml_get_tmp //minimod/commandlist preX command $TEMPLATE -#sed -e 's/^/\/bin\/sh /g' $TMP_FILE >>$TMP_DIR/minimod/morphix/loadmod.sh -if [ -s $TMP_FILE ] -then - cat $TMP_FILE >>$TMP_DIR/minimod/morphix/loadmod.sh -fi -} - -process_command_x () -{ -xml_get_tmp //minimod/commandlist X command $TEMPLATE -if [ -s $TMP_FILE ] -then - echo "#!/bin/sh " >$TMP_DIR/minimod/morphix/commandsX.sh - cat $TMP_FILE >>$TMP_DIR/minimod/morphix/commandsX.sh - chmod a+x $TMP_DIR/minimod/morphix/commandsX.sh - DOLLAR="$" - DOLLARSTARTX=$DOLLAR"STARTX" - DOLLAR1=$DOLLAR"1" - DOLLARUSER=$DOLLAR"USER" - cat >>$TMP_DIR/minimod/morphix/loadmod.sh <<EOF -USER=$DOLLAR(cat /etc/sysconfig/username) -(while [ -z $DOLLARSTARTX ]; do STARTX=$DOLLAR(ps -C x-session-manager -o pid=); sleep 1; done ; su -c "export DISPLAY=:0.0 ; \\ -$DOLLAR1/morphix/commandsX.sh $DOLLAR1 \\ -" - $DOLLARUSER ) & -EOF -fi -} - -process_command_postx () -{ -xml_get_tmp //minimod/commandlist postX command $TEMPLATE -if [ -s $TMP_FILE ] -then - echo "#!/bin/sh " >$TMP_DIR/minimod/morphix/commandsPostX.sh - chmod a+x $TMP_DIR/minimod/morphix/commandsPostX.sh - cat $TMP_FILE >>$TMP_DIR/minimod/morphix/commandsPostX.sh - - #Alex will hate this - #This will make sure that commandsPostX.sh has correct $1 from minimodule - DOLLAR="$" - DOLLAR1=$DOLLAR"1" - echo "echo \"#!/bin/sh \" > /morphix/rc.m/S11PostX11.sh " >>$TMP_DIR/minimod/morphix/loadmod.sh - echo "echo \"$DOLLAR1/morphix/commandsPostX.sh $DOLLAR1 \" >> /morphix/rc.m/S11PostX11.sh " >>$TMP_DIR/minimod/morphix/loadmod.sh - echo "chmod a+x /morphix/rc.m/S11PostX11.sh " >>$TMP_DIR/minimod/morphix/loadmod.sh -fi -} - -build_minimodule () -{ -module-builder $TMP_DIR/minimod/ $BMODULE -} - -remove_minimodule_tmp () -{ -rm $TMP_DIR -r 2>/dev/null -rm $TMP_FILE 2>/dev/null -rm $TMP_FILE_2 2>/dev/null -} - -convert_quoted_chars () -{ -AMP="\&/\&" -sed -e s/$AMP/g $TMP_FILE >$TMP_FILE_2 -AMP="\</<" -sed -e s/$AMP/g $TMP_FILE_2 >$TMP_FILE -AMP="\>/>" -sed -e s/$AMP/g $TMP_FILE >$TMP_FILE_2 -AMP="\"/\"" -sed -e s/$AMP/g $TMP_FILE_2 >$TMP_FILE -} - - -#Main loop - -#Confirm parameters -TEMPLATE=$1 -BMODULE=$2 -if [ -z "$TEMPLATE" -a -z "$BMODULE" ]; then - echo "Usage: $0 template.xml output.mod" - echo - exit -fi - - -get_global_variables -set_up_module_build -write_tags_and_desciptions -process_filelist -process_command_prex -process_command_postx -process_command_x -build_minimodule -remove_minimodule_tmp Added: trunk/morph-scripts/morphmini/morphmini =================================================================== --- trunk/morph-scripts/morphmini/morphmini (rev 0) +++ trunk/morph-scripts/morphmini/morphmini 2006-03-30 19:57:04 UTC (rev 2187) @@ -0,0 +1,169 @@ +#!/bin/bash +# +# Copyleft (c) 2006 Brendan M. Sleight # +# <bmsleight@barwap._REMOVE_SPAM_TRAP.com> # +# # +# This script is licensed under the GNU GPL v2 or later. # +# # +# On Debian systems, this license can be obtained via # +# /usr/share/common-licenses/GPL # +# + +get_global_variables () +{ + TMP_DIR=/tmp/morphixmini.$$ + TMP_FILE=/tmp/morphixmini.$$.tmp + TMP_FILE_2=/tmp/morphixmini.$$.2.tmp + RETURN_VALUE="" +} + +set_up_module_build () +{ +mkdir $TMP_DIR 2>/dev/null +mkdir $TMP_DIR/minimod/ 2>/dev/null +mkdir $TMP_DIR/minimod/morphix 2>/dev/null +mkdir $TMP_DIR/minimod/morphix/files 2>/dev/null +mkdir $TMP_DIR/minimod/morphix/junk 2>/dev/null +dd if=/dev/urandom of=$TMP_DIR/minimod/morphix/junk/minimum_minimod_size.junk bs=1k count=2 2>/dev/null +cp $TEMPLATE $TMP_DIR/minimod/morphix/ +echo "#!/bin/sh " >$TMP_DIR/minimod/morphix/loadmod.sh +chmod a+x $TMP_DIR/minimod/morphix/loadmod.sh +} + + +xml_get () +{ + RETURN_VALUE=$(xmlstarlet sel -t -m "$1" -v "$2" -v "@$3" -n $4 | sed 's/^[ \t]*//' | sed /^$/d) +} + +xml_get_tmp () +{ + xmlstarlet sel -t -m "$1" -v "$2" -v "@$3" -n $4 | sed 's/^[ \t]*//' | sed /^$/d >$TMP_FILE + convert_quoted_chars +} + + +write_tags_and_desciptions () +{ +xml_get "//minimod" "maintag" "maintag" $TEMPLATE +echo "$RETURN_VALUE" >$TMP_DIR/minimod/morphix/main_module +xml_get "//minimod" "minitag" "maintag" $TEMPLATE +echo "$RETURN_VALUE" >$TMP_DIR/minimod/morphix/mini_module +xml_get "//minimod" "description" "description" $TEMPLATE +echo "$RETURN_VALUE" >$TMP_DIR/minimod/morphix/mini_module +xml_get "//minimod" "minitag" "minitag" $TEMPLATE +echo "$RETURN_VALUE" >>$TMP_DIR/minimod/morphix/mini_module +} + +process_filelist () +{ +xml_get_tmp //minimod/filelist local file $TEMPLATE +RETURN_VALUE=$(cat $TMP_FILE) +for CP_FILES in $RETURN_VALUE +do + cp -p $CP_FILES $TMP_DIR/minimod/morphix/files/ +done +xml_get_tmp //minimod/filelist remote file $TEMPLATE +RETURN_VALUE=$(cat $TMP_FILE) +for CP_FILES in $RETURN_VALUE +do + wget --tries=3 --timeout=60 --directory-prefix=$TMP_DIR/minimod/morphix/files/ $CP_FILES +done +} + +process_command_prex () +{ +xml_get_tmp //minimod/commandlist preX command $TEMPLATE +#sed -e 's/^/\/bin\/sh /g' $TMP_FILE >>$TMP_DIR/minimod/morphix/loadmod.sh +if [ -s $TMP_FILE ] +then + cat $TMP_FILE >>$TMP_DIR/minimod/morphix/loadmod.sh +fi +} + +process_command_x () +{ +xml_get_tmp //minimod/commandlist X command $TEMPLATE +if [ -s $TMP_FILE ] +then + echo "#!/bin/sh " >$TMP_DIR/minimod/morphix/commandsX.sh + cat $TMP_FILE >>$TMP_DIR/minimod/morphix/commandsX.sh + chmod a+x $TMP_DIR/minimod/morphix/commandsX.sh + DOLLAR="$" + DOLLARSTARTX=$DOLLAR"STARTX" + DOLLAR1=$DOLLAR"1" + DOLLARUSER=$DOLLAR"USER" + cat >>$TMP_DIR/minimod/morphix/loadmod.sh <<EOF +USER=$DOLLAR(cat /etc/sysconfig/username) +(while [ -z $DOLLARSTARTX ]; do STARTX=$DOLLAR(ps -C x-session-manager -o pid=); sleep 1; done ; su -c "export DISPLAY=:0.0 ; \\ +$DOLLAR1/morphix/commandsX.sh $DOLLAR1 \\ +" - $DOLLARUSER ) & +EOF +fi +} + +process_command_postx () +{ +xml_get_tmp //minimod/commandlist postX command $TEMPLATE +if [ -s $TMP_FILE ] +then + echo "#!/bin/sh " >$TMP_DIR/minimod/morphix/commandsPostX.sh + chmod a+x $TMP_DIR/minimod/morphix/commandsPostX.sh + cat $TMP_FILE >>$TMP_DIR/minimod/morphix/commandsPostX.sh + + #Alex will hate this + #This will make sure that commandsPostX.sh has correct $1 from minimodule + DOLLAR="$" + DOLLAR1=$DOLLAR"1" + echo "echo \"#!/bin/sh \" > /morphix/rc.m/S11PostX11.sh " >>$TMP_DIR/minimod/morphix/loadmod.sh + echo "echo \"$DOLLAR1/morphix/commandsPostX.sh $DOLLAR1 \" >> /morphix/rc.m/S11PostX11.sh " >>$TMP_DIR/minimod/morphix/loadmod.sh + echo "chmod a+x /morphix/rc.m/S11PostX11.sh " >>$TMP_DIR/minimod/morphix/loadmod.sh +fi +} + +build_minimodule () +{ +module-builder $TMP_DIR/minimod/ $BMODULE +} + +remove_minimodule_tmp () +{ +rm $TMP_DIR -r 2>/dev/null +rm $TMP_FILE 2>/dev/null +rm $TMP_FILE_2 2>/dev/null +} + +convert_quoted_chars () +{ +AMP="\&/\&" +sed -e s/$AMP/g $TMP_FILE >$TMP_FILE_2 +AMP="\</<" +sed -e s/$AMP/g $TMP_FILE_2 >$TMP_FILE +AMP="\>/>" +sed -e s/$AMP/g $TMP_FILE >$TMP_FILE_2 +AMP="\"/\"" +sed -e s/$AMP/g $TMP_FILE_2 >$TMP_FILE +} + + +#Main loop + +#Confirm parameters +TEMPLATE=$1 +BMODULE=$2 +if [ -z "$TEMPLATE" -a -z "$BMODULE" ]; then + echo "Usage: $0 template.xml output.mod" + echo + exit +fi + + +get_global_variables +set_up_module_build +write_tags_and_desciptions +process_filelist +process_command_prex +process_command_postx +process_command_x +build_minimodule +remove_minimodule_tmp Property changes on: trunk/morph-scripts/morphmini/morphmini ___________________________________________________________________ Name: svn:executable + * This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <bms...@us...> - 2006-06-17 15:15:33
|
Revision: 2309 Author: bmsleight Date: 2006-06-17 08:15:24 -0700 (Sat, 17 Jun 2006) ViewCVS: http://svn.sourceforge.net/morphix/?rev=2309&view=rev Log Message: ----------- Morphix-rebrand - 1st Draft complete just requires packaging. make-iso - added option of label (Is this OK?) Modified Paths: -------------- trunk/morph-scripts/makeiso.sh trunk/morph-scripts/morphix-rebrand.sh Modified: trunk/morph-scripts/makeiso.sh =================================================================== --- trunk/morph-scripts/makeiso.sh 2006-06-13 01:42:59 UTC (rev 2308) +++ trunk/morph-scripts/makeiso.sh 2006-06-17 15:15:24 UTC (rev 2309) @@ -2,9 +2,10 @@ SRC="$1" DEST="$2" +LABEL="$3" if [ -z "$SRC" -o -z "$DEST" ]; then - echo "Usage: $0 sourcedirectory destination.iso" + echo "Usage: $0 sourcedirectory destination.iso [Label]" echo echo "This script generates internal md5sum's for the sourcedirectory," echo "and then generates a bootable live CD from the directory" @@ -12,13 +13,19 @@ exit fi +if [ -z "$LABEL" ]; then + LABEL="Morphix LiveCD" +else + LABEL="$LABEL LiveCD" +fi + find $SRC/ -type f -print0 | xargs -0 md5sum > $SRC/md5sums if [ -e "$SRC/base/boot.img" ]; then - mkisofs -pad -l -r -J -v -V "Morphix LiveCD" -b base/boot.img -c base/boot.cat -hide -rr -moved -o $DEST $SRC + mkisofs -pad -l -r -J -v -V "$LABEL" -b base/boot.img -c base/boot.cat -hide -rr -moved -o $DEST $SRC elif [ -e "$SRC/boot/grub/iso9660_stage1_5" ]; then - mkisofs -pad -l -r -J -v -V "Morphix LiveCD" -b boot/grub/iso9660_stage1_5 -c base/boot.cat -no-emul-boot -boot-load-size 4 -boot-info-table -hide -rr -moved -o $DEST $SRC + mkisofs -pad -l -r -J -v -V "$LABEL" -b boot/grub/iso9660_stage1_5 -c base/boot.cat -no-emul-boot -boot-load-size 4 -boot-info-table -hide -rr -moved -o $DEST $SRC elif [ -e "%SRC/base/isolinux.bin" ]; then - mkisofs -pad -l -r -J -v -V "Morphix LiveCD" -b base/isolinux/isolinux.bin -c base/boot.cat -no-emul-boot -boot-load-size 4 -boot-info-table -hide -rr -moved -o $DEST $SRC + mkisofs -pad -l -r -J -v -V "$LABEL" -b base/isolinux/isolinux.bin -c base/boot.cat -no-emul-boot -boot-load-size 4 -boot-info-table -hide -rr -moved -o $DEST $SRC else echo "Error: unable to find bootloader in $SRC. Either update this script, or make sure you have the right directory as src" fi Modified: trunk/morph-scripts/morphix-rebrand.sh =================================================================== --- trunk/morph-scripts/morphix-rebrand.sh 2006-06-13 01:42:59 UTC (rev 2308) +++ trunk/morph-scripts/morphix-rebrand.sh 2006-06-17 15:15:24 UTC (rev 2309) @@ -80,18 +80,26 @@ kernel_image () { -echo "Kernel Image - to do" +echo "Kernel Image - remains unchanged - to do" } bootsplash () { -echo "Boot Splash (Grub background) - to do" +#/usr/share/morphix-rebrand/morphix-iso-grubtheme_0.1-4.tar.gz - to package +tar zxvf /usr/share/morphix-rebrand/morphix-iso-grubtheme_0.1-4.tar.gz -C $TMP_DIR 1>/dev/null 2>&1 +convert $GRAPHIC -resize 640x503! $TMP_DIR/SMALL_GRAPHIC.png +convert -size 434x321 gradient:blue-steelblue $TMP_DIR/grubmenu.png +convert -page 640x503+172+34 $TMP_DIR/grubmenu.png -page 640x503+0+0 $TMP_DIR/SMALL_GRAPHIC.png -background none -compose DstOver -flatten $TMP_DIR/grub.png +convert $TMP_DIR/grub.png -resize 640x503! -colors 14 -depth 8 $TMP_DIR/gfxboot-grub-0.1/background.pcx +cp $TMP_DIR/gfxboot-grub-0.1/background.pcx /tmp/background.pcx +cd $TMP_DIR/gfxboot-grub-0.1/ && make >/dev/null 2>%1 +cp $TMP_DIR/gfxboot-grub-0.1/boot/message $NEW_IMAGE_DIR/boot/grub } linuxrc () { cp $NEW_IMAGE_DIR/boot/miniroot.gz $TMP_DIR/ -cd $TMP_DIR/ && gunzip miniroot.gz +gunzip $TMP_DIR/miniroot.gz mkdir $TMP_DIR/lxrc sync mount $TMP_DIR/miniroot $TMP_DIR/lxrc -o loop -t ext2 @@ -103,21 +111,29 @@ mv $TMP_FILE $TMP_DIR/lxrc/linuxrc chmod a+x $TMP_DIR/lxrc/linuxrc ln -s /${OLD_TITLE}CD $TMP_DIR/lxrc/${TITLE}CD +convert $GRAPHIC -quality 75 -resize 1024x768 -size 1024x768 xc:white +swap -gravity center -composite $TMP_DIR/silent-1024x768.jpg +convert $TMP_DIR/silent-1024x768.jpg -modulate 5,10,10 $TMP_DIR/bootsplash-1024x768.jpg +cp $TMP_DIR/silent-1024x768.jpg $TMP_DIR/lxrc/bootsplash/images/silent-1024x768.jpg +cp $TMP_DIR/silent-1024x768.jpg $TMP_DIR/lxrc/bootsplash/images/silent2-1024x768.jpg +cp $TMP_DIR/silent-1024x768.jpg $TMP_DIR/lxrc/bootsplash/images/silent3-1024x768.jpg +cp $TMP_DIR/silent-1024x768.jpg $TMP_DIR/lxrc/bootsplash/images/silent4-1024x768.jpg +cp $TMP_DIR/silent-1024x768.jpg $TMP_DIR/lxrc/bootsplash/images/silent5-1024x768.jpg +cp $TMP_DIR/bootsplash-1024x768.jpg $TMP_DIR/lxrc/bootsplash/images/bootsplash-1024x768.jpg sync umount $TMP_DIR/miniroot -cd $TMP_DIR/ && gzip miniroot +gzip $TMP_DIR/miniroot cp $TMP_DIR/miniroot.gz $NEW_IMAGE_DIR/boot/ -echo "Images stored in linuxrc (bootsplas) - to do" } xbackground () { -echo "Xbackground - to do" +mkdir -p $NEW_IMAGE_DIR/copy/morphix/ +convert $GRAPHIC -resize 1024x768 -size 1024x768 xc:white +swap -gravity center -composite $NEW_IMAGE_DIR/copy/morphix/background.png } cleanup_and_make_iso () { -make-iso $NEW_IMAGE_DIR $ENDISO +make-iso $NEW_IMAGE_DIR $ENDISO $TITLE rm $TMP_DIR -R 2>/dev/null rm $TMP_FILE 2>/dev/null } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <bms...@us...> - 2006-06-17 16:49:09
|
Revision: 2313 Author: bmsleight Date: 2006-06-17 09:48:36 -0700 (Sat, 17 Jun 2006) ViewCVS: http://svn.sourceforge.net/morphix/?rev=2313&view=rev Log Message: ----------- Packaging morphix-rebrand Modified Paths: -------------- trunk/morph-scripts/Makefile trunk/morph-scripts/debian/changelog trunk/morph-scripts/debian/make-iso.1 Added Paths: ----------- trunk/morph-scripts/debian/morphix-rebrand.1 trunk/morph-scripts/morphix-iso-grubtheme_0.1-4.tar.gz Modified: trunk/morph-scripts/Makefile =================================================================== --- trunk/morph-scripts/Makefile 2006-06-17 16:44:19 UTC (rev 2312) +++ trunk/morph-scripts/Makefile 2006-06-17 16:48:36 UTC (rev 2313) @@ -1,7 +1,7 @@ all: install -install: i2mainmod isomorph modulebuilder changekernel minimodgen debget moduleextractor moduleloader add_to_iso convert_to_bootimg morphing-morphix morphix-morphmini +install: i2mainmod isomorph modulebuilder changekernel minimodgen debget moduleextractor moduleloader add_to_iso convert_to_bootimg morphing-morphix morphix-morphmini morphix-rebrand build_minimod: mkdir -p $(DESTDIR)/usr/sbin @@ -74,6 +74,13 @@ cp ./mmorphix/morphing-morphix.messages $(DESTDIR)/usr/share/doc/morphing-morphix/morphing-morphix.messages chmod a+x $(DESTDIR)/usr/sbin/morphing-morphix +morphix-rebrand: + mkdir -p $(DESTDIR)/usr/sbin + mkdir -p $(DESTDIR)/usr/share/morphix-rebrand/ + cp ./morphix-rebrand.sh $(DESTDIR)/usr/sbin/morphix-rebrand + cp ./morphix-iso-grubtheme_0.1-4.tar.gz $(DESTDIR)/usr/share/morphix-rebrand/ + chmod a+x $(DESTDIR)/usr/sbin/morphix-rebrand + morphix-morphmini: mkdir -p $(DESTDIR)/usr/sbin cp ./morphmini/morphmini $(DESTDIR)/usr/sbin/morphmini @@ -100,3 +107,5 @@ rm $(DESTDIR)/usr/sbin/morphing-morphix rm $(DESTDIR)/usr/share/doc/morphing-morphix/morphing-morphix.messages rm $(DESTDIR)/usr/sbin/morphmini + rm $(DESTDIR)/usr/sbin/morphix-rebrand + rm $(DESTDIR)/usr/share/morphix-rebrand/morphix-iso-grubtheme_0.1-4.tar.gz Modified: trunk/morph-scripts/debian/changelog =================================================================== --- trunk/morph-scripts/debian/changelog 2006-06-17 16:44:19 UTC (rev 2312) +++ trunk/morph-scripts/debian/changelog 2006-06-17 16:48:36 UTC (rev 2313) @@ -1,3 +1,9 @@ +morph-scripts (0.2-23) unstable; urgency=low + + * adding morphix-rebrand + + -- bmsleight <bms...@ba...> Sun, 21 May 2006 19:30:00 +0100 + morph-scripts (0.2-22) unstable; urgency=low * morphing-morphix update Modified: trunk/morph-scripts/debian/make-iso.1 =================================================================== --- trunk/morph-scripts/debian/make-iso.1 2006-06-17 16:44:19 UTC (rev 2312) +++ trunk/morph-scripts/debian/make-iso.1 2006-06-17 16:48:36 UTC (rev 2313) @@ -23,7 +23,7 @@ .SH "SYNOPSIS" -\fImake\-iso\fR sourcedirectory destination\&.iso +\fImake\-iso\fR sourcedirectory destination\&.iso [Label] .SH "DESCRIPTION" Added: trunk/morph-scripts/debian/morphix-rebrand.1 =================================================================== --- trunk/morph-scripts/debian/morphix-rebrand.1 (rev 0) +++ trunk/morph-scripts/debian/morphix-rebrand.1 2006-06-17 16:48:36 UTC (rev 2313) @@ -0,0 +1,66 @@ +.\"Generated by db2man.xsl. Don't modify this, modify the source. +.de Sh \" Subsection +.br +.if t .Sp +.ne 5 +.PP +\fB\\$1\fR +.PP +.. +.de Sp \" Vertical space (when we can't use .PP) +.if t .sp .5v +.if n .sp +.. +.de Ip \" List item +.br +.ie \\n(.$>=3 .ne \\$3 +.el .ne 3 +.IP "\\$1" \\$2 +.. +.TH "MORPHIX_REBRAND" 1 "" "" "" +.SH NAME +morphix-rebrand \- rebrand a Morphix LiveCD +.SH "SYNOPSIS" + + +\fImorphix\-rebrand\fR old\&.iso new\&.iso Rebrand\&.png + +.SH "DESCRIPTION" + + +This script Re\-brands a Morphix CD image using the graphic Rebrand\&.png taking Rebrand as the new title\&. + +.SH "EXAMPLES" + +.TP +Rebrand +morphix\-rebrand /tmp/Morphix\&.iso /tmp/FooBar\&.iso FooBar\&.png + +.SH "SECURITY" + + +Needs to be run as root or via sudo\&. So has security implications\&. + +.SH "NOTES" + + +Morphix is a modular\-based liveCD, designed to be easy to modify\&. The package morphing\-tools and morphix\-mmaker contains tools to help modify and build morphix\-based LiveCDs\&. + +.SH "BUGS" + + +Dont panic\&. If you find one, report it to us, but please make sure you have read all of the documentation first\&. We have assumed that you have cloop device and have installed the packages morphing\-tools and morphix\-mmaker\&. + +.SH "AUTHORS" + + +Written by Alex de Landgraaf and other Morphix developers\&. Morphix web site: \fIhttp://www.morphix.org/\fR\&. Browse cvs repository[http://sourceforge\&.net/projects/morphix] and cvs mailing lists for full list of developers and patches submitted\&. + + +This man page was written by Brendan Sleight using asciidoc: \fIhttp://www.methods.co.nz/asciidoc/\fR + +.SH "SEE ALSO" + + +\fIaddtoiso, install2mainmod, isomaker, isomorph, make\-iso, make\-mini, minimod\-gen, mmaker, module\-builder, module\-extractor, morphmini\fR + Added: trunk/morph-scripts/morphix-iso-grubtheme_0.1-4.tar.gz =================================================================== (Binary files differ) Property changes on: trunk/morph-scripts/morphix-iso-grubtheme_0.1-4.tar.gz ___________________________________________________________________ Name: svn:mime-type + application/octet-stream This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <bms...@us...> - 2006-06-21 21:19:22
|
Revision: 2320 Author: bmsleight Date: 2006-06-21 14:19:11 -0700 (Wed, 21 Jun 2006) ViewCVS: http://svn.sourceforge.net/morphix/?rev=2320&view=rev Log Message: ----------- Fixing morphix-rebrand bugs Modified Paths: -------------- trunk/morph-scripts/debian/changelog trunk/morph-scripts/debian/morphix-rebrand.1 trunk/morph-scripts/morphix-rebrand.sh Modified: trunk/morph-scripts/debian/changelog =================================================================== --- trunk/morph-scripts/debian/changelog 2006-06-20 22:53:57 UTC (rev 2319) +++ trunk/morph-scripts/debian/changelog 2006-06-21 21:19:11 UTC (rev 2320) @@ -1,3 +1,9 @@ +morph-scripts (0.2-24) unstable; urgency=low + + * fixing morphix-rebrand bugs + + -- bmsleight <bms...@ba...> Wed, 21 Jun 2006 22:00:00 +0100 + morph-scripts (0.2-23) unstable; urgency=low * adding morphix-rebrand Modified: trunk/morph-scripts/debian/morphix-rebrand.1 =================================================================== --- trunk/morph-scripts/debian/morphix-rebrand.1 2006-06-20 22:53:57 UTC (rev 2319) +++ trunk/morph-scripts/debian/morphix-rebrand.1 2006-06-21 21:19:11 UTC (rev 2320) @@ -28,7 +28,7 @@ .SH "DESCRIPTION" -This script Re\-brands a Morphix CD image using the graphic Rebrand\&.png taking Rebrand as the new title\&. +This script Re\-brands a Morphix CD image using the graphic file\&. Any Graphic file will do\&. Rebrand\&.png, Rebrand\&.jpg or Rebrand\&.gif The name of the graphics file is importnat as the script takes Rebrand as the new title for the LiveCd\&. Need to have be able to run the mount command, i\&.e\&. must be root" .SH "EXAMPLES" Modified: trunk/morph-scripts/morphix-rebrand.sh =================================================================== --- trunk/morph-scripts/morphix-rebrand.sh 2006-06-20 22:53:57 UTC (rev 2319) +++ trunk/morph-scripts/morphix-rebrand.sh 2006-06-21 21:19:11 UTC (rev 2320) @@ -20,10 +20,27 @@ mkdir -p $TMP_DIR mkdir -p $NEW_IMAGE_DIR mkdir -p $OLD_IMAGE_DIR - TITLE=$(basename $GRAPHIC .png) - echo "Title $TITLE" + TMP=$(basename "${GRAPHIC}") + TITLE=${TMP%.*} + TITLE=$(echo "$TITLE" | tr -cd '[:alnum:]') + echo "New title: $TITLE" } +full_path () +{ +BASENAME=$(basename "${1}") +DIRNAME=$(cd $(dirname "${1}") && pwd) +FULL_PATH="${DIRNAME}/${BASENAME}" +} + +am_i_root_exit_if_not () +{ +if [ `id -u` -ne 0 ]; then + echo "Need to have be able to run the mount command, i.e. must be root" + exit +fi +} + mount_and_copy () { echo "Mount old image and copying files for new Image" @@ -94,6 +111,8 @@ convert -background none -fill white -gravity North -pointsize 24 -size 148x183 caption:"Welcome to $TITLE LiveCD" $TMP_DIR/title.png convert -page 640x503+172+34 $TMP_DIR/grubmenu.png -page 640x503+6+34 $TMP_DIR/resize.png -page 640x503+12+166 $TMP_DIR/title.png -page 640x503+6+160 $TMP_DIR/background_br.png -page 640x503+0,0 $TMP_DIR/background_tr.png -background none -compose DstOver -flatten $TMP_DIR/grub.pcx convert $TMP_DIR/grub.pcx -resize 640x503! -colors 14 -depth 8 $TMP_DIR/gfxboot-grub-0.1/background.pcx +sed "s/$OLD_TITLE/$TITLE/g" $TMP_DIR/gfxboot-grub-0.1/help-boot.en.html >$TMP_FILE +mv $TMP_FILE $TMP_DIR/gfxboot-grub-0.1/help-boot.en.html cd $TMP_DIR/gfxboot-grub-0.1/ && make >/dev/null 2>%1 cp $TMP_DIR/gfxboot-grub-0.1/boot/message $NEW_IMAGE_DIR/boot/grub } @@ -116,10 +135,10 @@ convert $GRAPHIC -quality 75 -resize 1024x768 -size 1024x768 xc:white +swap -gravity center -composite $TMP_DIR/silent-1024x768.jpg convert $TMP_DIR/silent-1024x768.jpg -modulate 5,10,10 $TMP_DIR/bootsplash-1024x768.jpg cp $TMP_DIR/silent-1024x768.jpg $TMP_DIR/lxrc/bootsplash/images/silent-1024x768.jpg -cp $TMP_DIR/silent-1024x768.jpg $TMP_DIR/lxrc/bootsplash/images/silent2-1024x768.jpg -cp $TMP_DIR/silent-1024x768.jpg $TMP_DIR/lxrc/bootsplash/images/silent3-1024x768.jpg -cp $TMP_DIR/silent-1024x768.jpg $TMP_DIR/lxrc/bootsplash/images/silent4-1024x768.jpg -cp $TMP_DIR/silent-1024x768.jpg $TMP_DIR/lxrc/bootsplash/images/silent5-1024x768.jpg +ln -sf /bootsplash/images/silent-1024x768.jpg $TMP_DIR/lxrc/bootsplash/images/silent2-1024x768.jpg +ln -sf /bootsplash/images/silent-1024x768.jpg $TMP_DIR/lxrc/bootsplash/images/silent3-1024x768.jpg +ln -sf /bootsplash/images/silent-1024x768.jpg $TMP_DIR/lxrc/bootsplash/images/silent4-1024x768.jpg +ln -sf /bootsplash/images/silent-1024x768.jpg $TMP_DIR/lxrc/bootsplash/images/silent5-1024x768.jpg cp $TMP_DIR/bootsplash-1024x768.jpg $TMP_DIR/lxrc/bootsplash/images/bootsplash-1024x768.jpg sync umount $TMP_DIR/miniroot @@ -135,7 +154,8 @@ cleanup_and_make_iso () { -make-iso $NEW_IMAGE_DIR $ENDISO $TITLE +LABEL=$(echo "$TITLE" | cut -c1-32) +make-iso $NEW_IMAGE_DIR $ENDISO $LABEL rm $TMP_DIR -R 2>/dev/null rm $TMP_FILE 2>/dev/null } @@ -144,19 +164,24 @@ #Main loop #Confirm parameters -STARTISO=$1 -ENDISO=$2 -GRAPHIC=$3 -if [ -z "$STARTISO" -a -z "$ENDISO" -a -z "$GRAPHIC" ]; then +if [ -z "$1" -a -z "$2" -a -z "$3" ]; then echo "Usage: $0 old.iso new.iso Rebrand.png" echo - echo " This script Re-brands a Morphix CD image using the graphic Rebrand.png" - echo " taking Rebrand as the new title." + echo " This script Re-brands a Morphix CD image using the graphic file " + echo " Any Graphic file will do. Rebrand.png, Rebrand.jpg or Rebrand.gif" + echo " The name of the graphics file is important as the script takes Rebrand as the new title for the LiveCd." echo " Need to have be able to run the mount command, i.e. must be root" exit fi +full_path $1 +STARTISO=$FULL_PATH +full_path $2 +ENDISO=$FULL_PATH +full_path $3 +GRAPHIC=$FULL_PATH +am_i_root_exit_if_not get_global_variables mount_and_copy grub_title_boot_options This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <bms...@us...> - 2006-06-24 21:55:10
|
Revision: 2323 Author: bmsleight Date: 2006-06-24 14:54:59 -0700 (Sat, 24 Jun 2006) ViewCVS: http://svn.sourceforge.net/morphix/?rev=2323&view=rev Log Message: ----------- Still testing, help files in grub not now changes. White background for grub. Thanks to aquatix for testing. Modified Paths: -------------- trunk/morph-scripts/debian/changelog trunk/morph-scripts/debian/rules trunk/morph-scripts/morphix-rebrand.sh trunk/morph-scripts/morphmini/example.xml Modified: trunk/morph-scripts/debian/changelog =================================================================== --- trunk/morph-scripts/debian/changelog 2006-06-23 21:44:47 UTC (rev 2322) +++ trunk/morph-scripts/debian/changelog 2006-06-24 21:54:59 UTC (rev 2323) @@ -1,3 +1,9 @@ +morph-scripts (0.2-25) unstable; urgency=low + + * bump + + -- bmsleight <bms...@ba...> Wed, 24 Jun 2006 17:00:00 +0100 + morph-scripts (0.2-24) unstable; urgency=low * fixing morphix-rebrand bugs Modified: trunk/morph-scripts/debian/rules =================================================================== --- trunk/morph-scripts/debian/rules 2006-06-23 21:44:47 UTC (rev 2322) +++ trunk/morph-scripts/debian/rules 2006-06-24 21:54:59 UTC (rev 2323) @@ -93,6 +93,7 @@ dh_installman -p morphix-modulebuilder debian/module-builder.1 dh_installman -p morphix-moduleextractor debian/module-extractor.1 dh_installman -p morphix-morphmini debian/morphmini.1 + dh_installman -p morphix-morphmini debian/morphix-rebrand.1 dh_link dh_strip dh_compress Modified: trunk/morph-scripts/morphix-rebrand.sh =================================================================== --- trunk/morph-scripts/morphix-rebrand.sh 2006-06-23 21:44:47 UTC (rev 2322) +++ trunk/morph-scripts/morphix-rebrand.sh 2006-06-24 21:54:59 UTC (rev 2323) @@ -23,7 +23,8 @@ TMP=$(basename "${GRAPHIC}") TITLE=${TMP%.*} TITLE=$(echo "$TITLE" | tr -cd '[:alnum:]') - echo "New title: $TITLE" + TITLE_LC=$(echo "$TITLE" | tr A-Z a-z) + echo "New title: $TITLE $TITLE_LC" } full_path () @@ -89,8 +90,7 @@ #Add BOOT_IMAGE username and hostname for TMP_GRUB_FILE in $NEW_IMAGE_DIR/boot/grub/*.lst do - sed "/kernel/s/$/ BOOT_IMAGE=$TITLE hostname=$TITLE username=$TITLE /" $TMP_GRUB_FILE > $TMP_FILE -# sed "/kernel/s/$/ hostname=$TITLE username=$TITLE /" $TMP_GRUB_FILE > $TMP_FILE + sed "/kernel/s/$/ BOOT_IMAGE=$TITLE hostname=$TITLE username=$TITLE_LC /" $TMP_GRUB_FILE > $TMP_FILE mv $TMP_FILE $TMP_GRUB_FILE done } @@ -104,15 +104,15 @@ { #/usr/share/morphix-rebrand/morphix-iso-grubtheme_0.1-4.tar.gz - to package tar zxvf /usr/share/morphix-rebrand/morphix-iso-grubtheme_0.1-4.tar.gz -C $TMP_DIR 1>/dev/null 2>&1 -convert -size 640x503 xc:blue $TMP_DIR/background_tr.png +convert -size 640x503 xc:white $TMP_DIR/background_tr.png convert -size 160x215 xc:darkblue $TMP_DIR/background_br.png convert -size 434x341 xc:darkblue $TMP_DIR/grubmenu.png convert $GRAPHIC -resize 160x126 $TMP_DIR/resize.png convert -background none -fill white -gravity North -pointsize 24 -size 148x183 caption:"Welcome to $TITLE LiveCD" $TMP_DIR/title.png convert -page 640x503+172+34 $TMP_DIR/grubmenu.png -page 640x503+6+34 $TMP_DIR/resize.png -page 640x503+12+166 $TMP_DIR/title.png -page 640x503+6+160 $TMP_DIR/background_br.png -page 640x503+0,0 $TMP_DIR/background_tr.png -background none -compose DstOver -flatten $TMP_DIR/grub.pcx convert $TMP_DIR/grub.pcx -resize 640x503! -colors 14 -depth 8 $TMP_DIR/gfxboot-grub-0.1/background.pcx -sed "s/$OLD_TITLE/$TITLE/g" $TMP_DIR/gfxboot-grub-0.1/help-boot.en.html >$TMP_FILE -mv $TMP_FILE $TMP_DIR/gfxboot-grub-0.1/help-boot.en.html +#sed "s/$OLD_TITLE/$TITLE/g" $TMP_DIR/gfxboot-grub-0.1/help-boot.en.html >$TMP_FILE +#mv $TMP_FILE $TMP_DIR/gfxboot-grub-0.1/help-boot.en.html cd $TMP_DIR/gfxboot-grub-0.1/ && make >/dev/null 2>%1 cp $TMP_DIR/gfxboot-grub-0.1/boot/message $NEW_IMAGE_DIR/boot/grub } Modified: trunk/morph-scripts/morphmini/example.xml =================================================================== --- trunk/morph-scripts/morphmini/example.xml 2006-06-23 21:44:47 UTC (rev 2322) +++ trunk/morph-scripts/morphmini/example.xml 2006-06-24 21:54:59 UTC (rev 2323) @@ -10,15 +10,13 @@ <local> <file>/home/morph/test.jpg</file> <file>/home/morph/test2.jpg</file> - <file>/home/morph/test3.jpg</file> - <file>/home/morph/test4.jpg</file> </local> <remote> <file>http://www.barwap.com/morphix/mmorphix/morphixsound2.wav</file> </remote> </filelist> <root> <!-- Files or Packages to be overlaid on the rootfile system - good for saving ramspace--> - <!-- root currently ignores bootption and will always overlay the files --> + <!-- root currently ignores bootoption and will always overlay the files --> <files> <local> <from>/home/morph/test.jpg</from> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <bms...@us...> - 2006-07-09 18:48:19
|
Revision: 2342 Author: bmsleight Date: 2006-07-09 11:48:12 -0700 (Sun, 09 Jul 2006) ViewCVS: http://svn.sourceforge.net/morphix/?rev=2342&view=rev Log Message: ----------- * morphix-rebrand on a iso that has already been rebranded Modified Paths: -------------- trunk/morph-scripts/debian/changelog trunk/morph-scripts/morphix-rebrand.sh Modified: trunk/morph-scripts/debian/changelog =================================================================== --- trunk/morph-scripts/debian/changelog 2006-07-06 22:34:08 UTC (rev 2341) +++ trunk/morph-scripts/debian/changelog 2006-07-09 18:48:12 UTC (rev 2342) @@ -1,3 +1,9 @@ +morph-scripts (0.2-28) unstable; urgency=low + + * morphix-rebrand on a iso that has already been rebranded + + -- bmsleight <bms...@ba...> Sun, 09 Jul 2006 19:45:00 +0100 + morph-scripts (0.2-27) unstable; urgency=low * morphmini <packages> <other> Modified: trunk/morph-scripts/morphix-rebrand.sh =================================================================== --- trunk/morph-scripts/morphix-rebrand.sh 2006-07-06 22:34:08 UTC (rev 2341) +++ trunk/morph-scripts/morphix-rebrand.sh 2006-07-09 18:48:12 UTC (rev 2342) @@ -22,9 +22,19 @@ mkdir -p $OLD_IMAGE_DIR TMP=$(basename "${GRAPHIC}") TITLE=${TMP%.*} - TITLE=$(echo "$TITLE" | tr -cd '[:alnum:]') +# TITLE=$(echo "$TITLE" | tr -cd '[:alnum:]') TITLE_LC=$(echo "$TITLE" | tr A-Z a-z) - echo "New title: $TITLE $TITLE_LC" + TITLE_UC=$(echo "$TITLE" | tr a-z A-Z) + echo "New title: $TITLE $TITLE_LC $TITLE_UC" + INTERIM_TITLE="AFC_Wimbledon_Is_A_Football_team" + if [ "$TITLE" = "INTERIM_TITLE" ]; then + echo "Please do not use $INTERIM_TITLE as a title for a LiveCD" + echo + echo " This is a special reserved name. Please use another title. " + exit + fi + + } full_path () @@ -52,7 +62,6 @@ OLD_TITLE=$(grep -e "title" -m 1 $NEW_IMAGE_DIR/boot/grub/menu.lst | sed s/title\ //g) LOWERCASE_OT=$(echo $OLD_TITLE | tr A-Z a-z) UPPERCASE_OT=$(echo $OLD_TITLE | tr a-z A-Z) - echo "Old name " $OLD_TITLE $LOWERCASE_OT $UPPERCASE_OT } @@ -71,7 +80,8 @@ mv $TMP_FILE $TMP_GRUB_FILE done #BOOT_IMAGE -mv $NEW_IMAGE_DIR/base/$LOWERCASE_OT $NEW_IMAGE_DIR/base/$TITLE +mv $NEW_IMAGE_DIR/base/$LOWERCASE_OT $NEW_IMAGE_DIR/base/$TITLE 2>/dev/null +mv $NEW_IMAGE_DIR/base/$OLD_TITLE $NEW_IMAGE_DIR/base/$TITLE 2>/dev/null #Remove old Username for TMP_GRUB_FILE in $NEW_IMAGE_DIR/boot/grub/*.lst @@ -108,7 +118,7 @@ convert -size 160x215 xc:darkblue $TMP_DIR/background_br.png convert -size 434x341 xc:darkblue $TMP_DIR/grubmenu.png convert $GRAPHIC -resize 160x126 $TMP_DIR/resize.png -convert -background none -fill white -gravity North -pointsize 24 -size 148x183 caption:"Welcome to $TITLE LiveCD" $TMP_DIR/title.png +convert -background none -fill white -gravity North -pointsize 16 -size 148x183 caption:"Welcome to $TITLE" $TMP_DIR/title.png convert -page 640x503+172+34 $TMP_DIR/grubmenu.png -page 640x503+6+34 $TMP_DIR/resize.png -page 640x503+12+166 $TMP_DIR/title.png -page 640x503+6+160 $TMP_DIR/background_br.png -page 640x503+0,0 $TMP_DIR/background_tr.png -background none -compose DstOver -flatten $TMP_DIR/grub.pcx convert $TMP_DIR/grub.pcx -resize 640x503! -colors 14 -depth 8 $TMP_DIR/gfxboot-grub-0.1/background.pcx #sed "s/$OLD_TITLE/$TITLE/g" $TMP_DIR/gfxboot-grub-0.1/help-boot.en.html >$TMP_FILE @@ -126,10 +136,11 @@ mount $TMP_DIR/miniroot $TMP_DIR/lxrc -o loop -t ext2 sed "s/DERIVATE=.*/DERIVATE=\"$TITLE\"/g" $TMP_DIR/lxrc/linuxrc >$TMP_FILE mv $TMP_FILE $TMP_DIR/lxrc/linuxrc -sed "s/$UPPERCASE_OT/$TITLE/g" $TMP_DIR/lxrc/linuxrc >$TMP_FILE -sed "s/$LOWERCASE_OT/$TITLE/g" $TMP_FILE >$TMP_DIR/lxrc/linuxrc -sed "s/$OLD_TITLE/$TITLE/g" $TMP_DIR/lxrc/linuxrc >$TMP_FILE -mv $TMP_FILE $TMP_DIR/lxrc/linuxrc +sed "s/$UPPERCASE_OT/$INTERIM_TITLE/g" $TMP_DIR/lxrc/linuxrc >$TMP_FILE +sed "s/$LOWERCASE_OT/$INTERIM_TITLE/g" $TMP_FILE >$TMP_DIR/lxrc/linuxrc +sed "s/$OLD_TITLE/$INTERIM_TITLE/g" $TMP_DIR/lxrc/linuxrc >$TMP_FILE +sed "s/$INTERIM_TITLE/$TITLE/g" $TMP_FILE >$TMP_DIR/lxrc/linuxrc +#mv $TMP_FILE $TMP_DIR/lxrc/linuxrc chmod a+x $TMP_DIR/lxrc/linuxrc ln -s /${OLD_TITLE}CD $TMP_DIR/lxrc/${TITLE}CD convert $GRAPHIC -quality 75 -resize 1024x768 -size 1024x768 xc:white +swap -gravity center -composite $TMP_DIR/silent-1024x768.jpg @@ -170,6 +181,7 @@ echo " This script Re-brands a Morphix CD image using the graphic file " echo " Any Graphic file will do. Rebrand.png, Rebrand.jpg or Rebrand.gif" echo " The name of the graphics file is important as the script takes Rebrand as the new title for the LiveCd." + echo " The name should not contain non-alpha-numeric characters" echo " Need to have be able to run the mount command, i.e. must be root" exit fi This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <bms...@us...> - 2006-07-11 21:17:00
|
Revision: 2348 Author: bmsleight Date: 2006-07-11 14:16:53 -0700 (Tue, 11 Jul 2006) ViewCVS: http://svn.sourceforge.net/morphix/?rev=2348&view=rev Log Message: ----------- Minor changes Modified Paths: -------------- trunk/morph-scripts/debian/morphmini.1 trunk/morph-scripts/morphix-rebrand.sh Modified: trunk/morph-scripts/debian/morphmini.1 =================================================================== --- trunk/morph-scripts/debian/morphmini.1 2006-07-11 21:14:29 UTC (rev 2347) +++ trunk/morph-scripts/debian/morphmini.1 2006-07-11 21:16:53 UTC (rev 2348) @@ -48,13 +48,35 @@ <local> <file>/home/morph/test\&.jpg</file> <file>/home/morph/test2\&.jpg</file> - <file>/home/morph/test3\&.jpg</file> - <file>/home/morph/test4\&.jpg</file> </local> <remote> <file>http://www\&.barwap\&.com/morphix/mmorphix/morphixsound2\&.wav</file> </remote> </filelist> + <root> <!\-\- Files or Packages to be overlaid on the rootfile system \- good for saving ramspace \-\-> + <files> + <local> + <from>/home/morph/test\&.jpg</from> + <to>/usr/share/misc/</to> + </local> + <local> + <from>/home/morph/test2\&.jpg</from> + <to>/usr/share/misc/</to> + </local> + <remote> + <from>http://www\&.barwap\&.com/morphix/mmorphix/morphixsound2\&.wav</from> + <to>/usr/share/misc/</to> + </remote> + </files> + <packages> + <local> + <targz>/home/morph/example\&.tar\&.gz</targz> + </local> + <remote> + <targz>http://www\&.barwap\&.com/morphix/rebrand/morphix\-rebrand\&.tar\&.gz</targz> + </remote> + </packages> + </root> <commandlist> <!\-\- Commands to be started from minimodule \-\-> <preX> <!\-\- Commands to run before X windows start \-\-> <command>echo "Hello"</command> @@ -69,11 +91,13 @@ <command>echo "Hello 6"</command> </postX> </commandlist> + <other> <!\-\- used to make a minimodule in another way \- command will be passed $1 for minimodule filesystem \-\-> + <buildcommand>echo "Hello World" > $1/morphix/hello\&.txt</buildcommand> + </other> </minimod> </group> </comps> - Most templates are much shorter\&. Sections version, bootoption, filelist, local, remote, commandlist, preX, X, postX are optional\&. .IP Modified: trunk/morph-scripts/morphix-rebrand.sh =================================================================== --- trunk/morph-scripts/morphix-rebrand.sh 2006-07-11 21:14:29 UTC (rev 2347) +++ trunk/morph-scripts/morphix-rebrand.sh 2006-07-11 21:16:53 UTC (rev 2348) @@ -22,7 +22,7 @@ mkdir -p $OLD_IMAGE_DIR TMP=$(basename "${GRAPHIC}") TITLE=${TMP%.*} -# TITLE=$(echo "$TITLE" | tr -cd '[:alnum:]') + TITLE=$(echo "$TITLE" | tr -cd '[:alnum:]') TITLE_LC=$(echo "$TITLE" | tr A-Z a-z) TITLE_UC=$(echo "$TITLE" | tr a-z A-Z) echo "New title: $TITLE $TITLE_LC $TITLE_UC" This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <bms...@us...> - 2006-08-10 20:37:40
|
Revision: 2383 Author: bmsleight Date: 2006-08-10 13:37:32 -0700 (Thu, 10 Aug 2006) ViewCVS: http://svn.sourceforge.net/morphix/?rev=2383&view=rev Log Message: ----------- morph-scripts (0.2-29) - morphix-rebrand minor update Modified Paths: -------------- trunk/morph-scripts/debian/changelog trunk/morph-scripts/debian/morphix-rebrand.1 trunk/morph-scripts/morphix-rebrand.sh Modified: trunk/morph-scripts/debian/changelog =================================================================== --- trunk/morph-scripts/debian/changelog 2006-08-09 22:02:44 UTC (rev 2382) +++ trunk/morph-scripts/debian/changelog 2006-08-10 20:37:32 UTC (rev 2383) @@ -1,3 +1,9 @@ +morph-scripts (0.2-30) unstable; urgency=low + + * morphix-rebrand minor update + + -- bmsleight <bms...@ba...> Thu, 10 Aug 2006 21:30:00 +0100 + morph-scripts (0.2-29) unstable; urgency=low * fixed recursive-list in isomorph Modified: trunk/morph-scripts/debian/morphix-rebrand.1 =================================================================== --- trunk/morph-scripts/debian/morphix-rebrand.1 2006-08-09 22:02:44 UTC (rev 2382) +++ trunk/morph-scripts/debian/morphix-rebrand.1 2006-08-10 20:37:32 UTC (rev 2383) @@ -28,7 +28,7 @@ .SH "DESCRIPTION" -This script Re\-brands a Morphix CD image using the graphic file\&. Any Graphic file will do\&. Rebrand\&.png, Rebrand\&.jpg or Rebrand\&.gif The name of the graphics file is importnat as the script takes Rebrand as the new title for the LiveCd\&. Need to have be able to run the mount command, i\&.e\&. must be root" +This script Re\-brands a Morphix CD image using a single graphics file\&. Any Graphic file will do\&. Rebrand\&.png, Rebrand\&.jpg or Rebrand\&.gif The name of the graphics file is important as the script takes Rebrand as the new title for the LiveCd\&. Need to have be able to run the mount command, i\&.e\&. must be root" .SH "EXAMPLES" Modified: trunk/morph-scripts/morphix-rebrand.sh =================================================================== --- trunk/morph-scripts/morphix-rebrand.sh 2006-08-09 22:02:44 UTC (rev 2382) +++ trunk/morph-scripts/morphix-rebrand.sh 2006-08-10 20:37:32 UTC (rev 2383) @@ -134,7 +134,8 @@ mkdir $TMP_DIR/lxrc sync mount $TMP_DIR/miniroot $TMP_DIR/lxrc -o loop -t ext2 -sed "s/DERIVATE=.*/DERIVATE=\"$TITLE\"/g" $TMP_DIR/lxrc/linuxrc >$TMP_FILE +sed "s/DERIVATE=.*/DERIVATE=\"$INTERIM_TITLE\"/g" $TMP_DIR/lxrc/linuxrc >$TMP_FILE +sed "s/DERIVATE=\"$INTERIM_TITLE\"/DERIVATE=\"$TITLE\"/g" $TMP_DIR/lxrc/linuxrc >$TMP_FILE mv $TMP_FILE $TMP_DIR/lxrc/linuxrc sed "s/$UPPERCASE_OT/$INTERIM_TITLE/g" $TMP_DIR/lxrc/linuxrc >$TMP_FILE sed "s/$LOWERCASE_OT/$INTERIM_TITLE/g" $TMP_FILE >$TMP_DIR/lxrc/linuxrc This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <bms...@us...> - 2006-08-15 21:26:59
|
Revision: 2384 Author: bmsleight Date: 2006-08-15 14:26:43 -0700 (Tue, 15 Aug 2006) ViewCVS: http://svn.sourceforge.net/morphix/?rev=2384&view=rev Log Message: ----------- Added morphix-chroot tool (And tested that the debina package actually builds) Modified Paths: -------------- trunk/morph-scripts/Makefile trunk/morph-scripts/debian/changelog trunk/morph-scripts/debian/control trunk/morph-scripts/debian/rules trunk/morph-scripts/mmorphix/morphing-morphix-gui.sh Added Paths: ----------- trunk/morph-scripts/debian/morphix-chroot.1 trunk/morph-scripts/morphix-chroot.sh Modified: trunk/morph-scripts/Makefile =================================================================== --- trunk/morph-scripts/Makefile 2006-08-10 20:37:32 UTC (rev 2383) +++ trunk/morph-scripts/Makefile 2006-08-15 21:26:43 UTC (rev 2384) @@ -1,7 +1,7 @@ all: install -install: i2mainmod isomorph modulebuilder changekernel minimodgen debget moduleextractor moduleloader add_to_iso convert_to_bootimg morphing-morphix morphix-morphmini morphix-rebrand +install: i2mainmod isomorph modulebuilder changekernel minimodgen debget moduleextractor moduleloader add_to_iso convert_to_bootimg morphing-morphix morphix-morphmini morphix-rebrand morphix-chroot build_minimod: mkdir -p $(DESTDIR)/usr/sbin @@ -74,6 +74,11 @@ cp ./mmorphix/morphing-morphix.messages $(DESTDIR)/usr/share/doc/morphing-morphix/morphing-morphix.messages chmod a+x $(DESTDIR)/usr/sbin/morphing-morphix +morphix-chroot: + mkdir -p $(DESTDIR)/usr/sbin + cp ./morphix-chroot.sh $(DESTDIR)/usr/sbin/morphix-chroot + chmod a+x $(DESTDIR)/usr/sbin/morphix-chroot + morphix-rebrand: mkdir -p $(DESTDIR)/usr/sbin mkdir -p $(DESTDIR)/usr/share/morphix-rebrand/ @@ -108,4 +113,5 @@ rm $(DESTDIR)/usr/share/doc/morphing-morphix/morphing-morphix.messages rm $(DESTDIR)/usr/sbin/morphmini rm $(DESTDIR)/usr/sbin/morphix-rebrand + rm $(DESTDIR)/usr/sbin/morphix-chroot rm $(DESTDIR)/usr/share/morphix-rebrand/morphix-iso-grubtheme_0.1-4.tar.gz Modified: trunk/morph-scripts/debian/changelog =================================================================== --- trunk/morph-scripts/debian/changelog 2006-08-10 20:37:32 UTC (rev 2383) +++ trunk/morph-scripts/debian/changelog 2006-08-15 21:26:43 UTC (rev 2384) @@ -1,8 +1,14 @@ +morph-scripts (0.2-31) unstable; urgency=low + + * added morphix-chroot + + -- bmsleight <bms...@ba...> Tue, 15 Aug 2006 22:00:00 +0100 + morph-scripts (0.2-30) unstable; urgency=low - * morphix-rebrand minor update + * morphix-rebrand minor update - -- bmsleight <bms...@ba...> Thu, 10 Aug 2006 21:30:00 +0100 + -- bmsleight <bms...@ba...> Thu, 10 Aug 2006 19:45:00 +0100 morph-scripts (0.2-29) unstable; urgency=low Modified: trunk/morph-scripts/debian/control =================================================================== --- trunk/morph-scripts/debian/control 2006-08-10 20:37:32 UTC (rev 2383) +++ trunk/morph-scripts/debian/control 2006-08-15 21:26:43 UTC (rev 2384) @@ -118,3 +118,8 @@ Architecture: any Depends: morphix-make-iso, make, imagemagick, gfxboot Description: Rebrands a Morphix LiveCD, using a single graphics file. + +Package: morphix-chroot +Architecture: any +Depends: coreutils, morphix-modulebuilder, morphix-moduleextractor +Description: chroot into a Morphix MainModule. Added: trunk/morph-scripts/debian/morphix-chroot.1 =================================================================== --- trunk/morph-scripts/debian/morphix-chroot.1 (rev 0) +++ trunk/morph-scripts/debian/morphix-chroot.1 2006-08-15 21:26:43 UTC (rev 2384) @@ -0,0 +1,69 @@ +.\"Generated by db2man.xsl. Don't modify this, modify the source. +.de Sh \" Subsection +.br +.if t .Sp +.ne 5 +.PP +\fB\\$1\fR +.PP +.. +.de Sp \" Vertical space (when we can't use .PP) +.if t .sp .5v +.if n .sp +.. +.de Ip \" List item +.br +.ie \\n(.$>=3 .ne \\$3 +.el .ne 3 +.IP "\\$1" \\$2 +.. +.TH "MORPHIX_CHROOT" 1 "" "" "" +.SH NAME +morphix-chroot \- chroot into a Morphix MainModule +.SH "SYNOPSIS" + + +\fImorphix\-chroot\fR MainModule\&.mod + +.SH "DESCRIPTION" + + +This script extracts a MainModule, then drops you into the root of the file system We can make any changes we need to the MainModule, it is just like you are running the compressed file system, rather than the current filesystem\&. Once finished we re\-compresses the MainModule + + +The MainModule must be on a partition that has been mounted with the option dev, (\-o dev) + +.SH "EXAMPLES" + +.TP +Rebrand +morphix\-rebrand /tmp/morphing\-morphix\&.mod + +.SH "SECURITY" + + +Needs to be run as root or via sudo\&. So has security implications\&. + +.SH "NOTES" + + +Morphix is a modular\-based liveCD, designed to be easy to modify\&. The package morphing\-tools and morphix\-mmaker contains tools to help modify and build morphix\-based LiveCDs\&. + +.SH "BUGS" + + +Dont panic\&. If you find one, report it to us, but please make sure you have read all of the documentation first\&. We have assumed that you have cloop device and have installed the packages morphing\-tools and morphix\-mmaker\&. + +.SH "AUTHORS" + + +Written by Alex de Landgraaf and other Morphix developers\&. Morphix web site: \fIhttp://www.morphix.org/\fR\&. Browse cvs repository[http://sourceforge\&.net/projects/morphix] and cvs mailing lists for full list of developers and patches submitted\&. + + +This man page was written by Brendan Sleight using asciidoc: \fIhttp://www.methods.co.nz/asciidoc/\fR + +.SH "SEE ALSO" + + +\fIaddtoiso, install2mainmod, isomaker, isomorph, make\-iso, make\-mini, minimod\-gen, mmaker, module\-builder, module\-extractor, morphmini\fR + Modified: trunk/morph-scripts/debian/rules =================================================================== --- trunk/morph-scripts/debian/rules 2006-08-10 20:37:32 UTC (rev 2383) +++ trunk/morph-scripts/debian/rules 2006-08-15 21:26:43 UTC (rev 2384) @@ -66,6 +66,7 @@ $(MAKE) morphing-morphix DESTDIR=$(CURDIR)/debian/morphing-morphix $(MAKE) morphmini DESTDIR=$(CURDIR)/debian/morphix-morphmini $(MAKE) morphix-rebrand DESTDIR=$(CURDIR)/debian/morphix-rebrand + $(MAKE) morphix-chroot DESTDIR=$(CURDIR)/debian/morphix-chroot dh_install -s # Must not depend on anything. This is to be called by Modified: trunk/morph-scripts/mmorphix/morphing-morphix-gui.sh =================================================================== --- trunk/morph-scripts/mmorphix/morphing-morphix-gui.sh 2006-08-10 20:37:32 UTC (rev 2383) +++ trunk/morph-scripts/mmorphix/morphing-morphix-gui.sh 2006-08-15 21:26:43 UTC (rev 2384) @@ -63,6 +63,7 @@ SETTING_LOG_FILE=~/mmorphix.log SETTING_LOG_COMMANDS=~/mmscript.sh SETTING_MYMORPH="MyMorph.iso" + SETTING_MYMORPH_MAIN="morphing-morphix.mod" TMP_FILE=/tmp/mmorphix.$$ TMP_FILE_2=/tmp/mmorphix_.$$ TMP_SCRIPT=/tmp/mmorphix.$$.sh @@ -354,7 +355,50 @@ mv ./tmp.iso ./MyMorph.iso " ########################################################### +MESSAGE_REBRAND="Rebrand an ISO +This script Re-brands a Morphix CD image using a graphic +file. + +The following will be changed:- + * Boot Menu + <insert from online manual> +" +MESSAGE_REBRAND_2="Rebrand an ISO + +Any Graphic file will do. Rebrand.png, Rebrand.jpg or +Rebrand.gif The name of the graphics file is important +as the script takes Rebrand as the new title for the +LiveCD. + +We will use these commands:- +morphix-rebrand ./MyMorph.iso ./tmp.iso Rebrand.jpg +mv ./tmp.iso ./MyMorph.iso + +Now we shall select the base graphics file to be used for +rebranding +" +MESSAGE_REBRAND_3="Select a Graphic for rebranding" +########################################################### +MESSAGE_QEMU="Testing an ISO using Qemu + +The next Morph is not really a Morph. It is used to test +other morphs. It is a common tool for Morphers to use. + +Qemu is a generic and open source processor emulator which +achieves a good emulation speed by using dynamic +translation. + +In short: Boot you LiveCD inside your current operating +system. A little slower but faster than burning a cd and +rebooting. Good for testing. +" +MESSAGE_QEMU_2="Testing an ISO using Qemu + +Do you want to use the local machine's network connection ? +(qemu -user-net) " +########################################################### + } @@ -814,7 +858,7 @@ 0) log_and_do_command_progress "sudo mmaker /usr/share/morphing-morphix/morphing-morphix.xml - /tmp/morphing-morphix.mod" + /tmp/$SETTING_MYMORPH_MAIN" log_and_do_command_progress "sudo isomorph --add main /tmp/morphing-morphix.mod $MNT_POINT/mmorphix/iso/$SETTING_MYMORPH /tmp/tmp.iso" @@ -844,6 +888,40 @@ if [ "$?" = "1" ] then log_file "inside_mainmodule" + #MESSAGE_CHROOT_ + xdialog_message "$MESSAGE_CHROOT" + xdialog_message "$MESSAGE_CHROOT_1" + SKIP=0 + if [ -e "$MNT_POINT/mmorphix/morphing/bin" ] + then + xdialog_yes_no "$MESSAGE_CHROOT_2" + case $? in + 0) + log_file "Skip extracting"; + SKIP=1;; + 1) + log_file "Do not skip extracting";; + 255) + closing_mmorphix "morphing_main_module";; + esac + fi + if [ "$SKIP" = "1" ] + then + log_and_do_not_do_command "sudo isomorph --get main + $MNT_POINT/mmorphix/iso/$SETTING_MYMORPH + $MNT_POINT/mmorphix/morphed/" + log_and_do_not_do_command "sudo module-extractor + $MNT_POINT/mmorphix/morphed/$SETTING_MYMORPH_MAIN + $MNT_POINT/mmorphix/morphing/" + else + log_and_do_command_progress "sudo isomorph --get main + $MNT_POINT/mmorphix/iso/$SETTING_MYMORPH + $MNT_POINT/mmorphix/morphed/" + log_and_do_command_progress "sudo module-extractor + $MNT_POINT/mmorphix/morphed/$SETTING_MYMORPH_MAIN + $MNT_POINT/mmorphix/morphing/" + fi + fi main_menu } @@ -861,6 +939,14 @@ if [ "$?" = "1" ] then log_file "inside_mainmodule" + xdialog_message "$MESSAGE_REBRAND" + xdialog_message "$MESSAGE_REBRAND_2" + xdialog_file_select "$MESSAGE_REBRAND_3" "$MNT_POINT" + log_and_do_command_progress "sudo morphix-rebrand + $MNT_POINT/mmorphix/iso/$SETTING_MYMORPH + /tmp/tmp.iso + $RETURN_VALUE" + log_and_do_command "mv -f /tmp/tmp.iso $MNT_POINT/mmorphix/iso/$SETTING_MYMORPH" fi main_menu } @@ -897,6 +983,18 @@ if [ "$?" = "1" ] then log_file "test_qemu" + xdialog_message "$MESSAGE_QEMU" + xdialog_yes_no "$MESSAGE_QEMU_2" + case $? in + 0) + TMP_NET="-user-net";; + 1) + TMP_NET="";; + 255) + closing_mmorphix "morphing_test_qemu";; + esac + log_and_do_command "sudo qemu -boot d $TMP_NET + -cdrom $MNT_POINT/mmorphix/iso/$SETTING_MYMORPH" fi main_menu } Added: trunk/morph-scripts/morphix-chroot.sh =================================================================== --- trunk/morph-scripts/morphix-chroot.sh (rev 0) +++ trunk/morph-scripts/morphix-chroot.sh 2006-08-15 21:26:43 UTC (rev 2384) @@ -0,0 +1,106 @@ +#!/bin/bash +# +# morphix-chroot +# +# I knocked it up very quickly heck it may even work...... +# +# Copyleft (c) 2006 Brendan M. Sleight # +# <bmsleight@barwap._REMOVE_SPAM_TRAP.com> # +# # +# This script is licensed under the GNU GPL v2 or later. # +# # +# On Debian systems, this license can be obtained via # +# /usr/share/common-licenses/GPL # +# + +get_global_variables () +{ + TMP_DIR=/tmp/morphix-chroot.$$ + TMP_FILE=/tmp/morphix-chroot.$$.tmp + mkdir -p $TMP_DIR + TMP=$(basename "${GRAPHIC}") +} + +am_i_root_exit_if_not () +{ +if [ `id -u` -ne 0 ]; then + echo "Need to have be able to run the mount command, i.e. must be root" + exit +fi +} + +full_path () +{ +BASENAME=$(basename "${1}") +DIRNAME=$(cd $(dirname "${1}") && pwd) +FULL_PATH="${DIRNAME}/${BASENAME}" +} + +cleanup () +{ +echo "Cleaning up ..." +rm $TMP_DIR -R 2>/dev/null +rm $TMP_FILE 2>/dev/null +} + +extract_mm () +{ +echo "Extracting the MainModule ..." +module-extractor $MAINMODULE $TMP_DIR +} + +prepare_chroot () +{ +echo "Preparing chroot ..." +cp /etc/resolv.conf $TMP_DIR/etc/resolv.conf +chroot $TMP_DIR/ mount -t proc /proc proc + +} + +chroot_mm () +{ +clear +echo "Entering root of MainModule filesystem. To exit type:-" +echo "exit" +chroot $TMP_DIR/ sh + +} + +unprepare_chroot () +{ +chroot $TMP_DIR/ umount -lf /proc +} + +build_mm () +{ +echo "Building the MainModule ..." +module-builder $TMP_DIR $MAINMODULE +} + + +#Main loop + +#Confirm parameters +if [ -z "$1" ]; then + echo "Usage: $0 MainModule.mod" + echo + echo " This script extracts a MainModule, then drops you into the root of the file system " + echo " We can make any changes we need to the MainModule, it is just like you are running the compressed file system, rather than the current filesystem. " + echo " Once finished we re-compresses the MainModule" + echo + echo " The MainModule must be on a partition that has been mounted with the option dev, (-o dev)" + exit +fi + +am_i_root_exit_if_not +full_path $1 +MAINMODULE=$FULL_PATH + +get_global_variables +extract_mm +prepare_chroot +chroot_mm +unprepare_chroot +build_mm + +cleanup Property changes on: trunk/morph-scripts/morphix-chroot.sh ___________________________________________________________________ Name: svn:executable + * This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <bms...@us...> - 2006-10-06 22:04:12
|
Revision: 2429 http://svn.sourceforge.net/morphix/?rev=2429&view=rev Author: bmsleight Date: 2006-10-06 15:03:54 -0700 (Fri, 06 Oct 2006) Log Message: ----------- Morphix-rebrand upgraded, tested, man page done - New packages please ? Modified Paths: -------------- trunk/morph-scripts/debian/add_to_iso.1 trunk/morph-scripts/debian/changelog trunk/morph-scripts/debian/isomorph.1 trunk/morph-scripts/debian/make-iso.1 trunk/morph-scripts/debian/minimod-gen.1 trunk/morph-scripts/debian/module-builder.1 trunk/morph-scripts/debian/module-extractor.1 trunk/morph-scripts/debian/morphix-chroot.1 trunk/morph-scripts/debian/morphix-rebrand.1 trunk/morph-scripts/debian/morphmini.1 trunk/morph-scripts/morphix-rebrand.sh Modified: trunk/morph-scripts/debian/add_to_iso.1 =================================================================== --- trunk/morph-scripts/debian/add_to_iso.1 2006-10-05 21:38:21 UTC (rev 2428) +++ trunk/morph-scripts/debian/add_to_iso.1 2006-10-06 22:03:54 UTC (rev 2429) @@ -54,10 +54,10 @@ .SH "AUTHORS" -Written by Alex de Landgraaf and other Morphix developers\&. Morphix web site: \fIhttp://www.morphix.org/\fR\&. Browse cvs repository[http://sourceforge\&.net/projects/morphix] and cvs mailing lists for full list of developers and patches submitted\&. +Written by Alex de Landgraaf and other Morphix developers\&. Morphix web site\&. Browse cvs repository[http://sourceforge\&.net/projects/morphix] and cvs mailing lists for full list of developers and patches submitted\&. -This man page was written by Brendan Sleight using asciidoc: \fIhttp://www.methods.co.nz/asciidoc/\fR +This man page was written by Brendan Sleight using asciidoc .SH "SEE ALSO" Modified: trunk/morph-scripts/debian/changelog =================================================================== --- trunk/morph-scripts/debian/changelog 2006-10-05 21:38:21 UTC (rev 2428) +++ trunk/morph-scripts/debian/changelog 2006-10-06 22:03:54 UTC (rev 2429) @@ -1,3 +1,9 @@ +morph-scripts (0.2-32) unstable; urgency=low + + * options for morphix-rebrand + + -- bmsleight <bms...@ba...> Fri, 06 Oct 2006 23:00:00 +0100 + morph-scripts (0.2-31) unstable; urgency=low * added morphix-chroot Modified: trunk/morph-scripts/debian/isomorph.1 =================================================================== --- trunk/morph-scripts/debian/isomorph.1 2006-10-05 21:38:21 UTC (rev 2428) +++ trunk/morph-scripts/debian/isomorph.1 2006-10-06 22:03:54 UTC (rev 2429) @@ -236,10 +236,10 @@ .SH "AUTHORS" -Written by Alex de Landgraaf and other Morphix developers\&. Morphix web site: \fIhttp://www.morphix.org/\fR\&. Browse cvs repository[http://sourceforge\&.net/projects/morphix] and cvs mailing lists for full list of developers and patches submitted\&. +Written by Alex de Landgraaf and other Morphix developers\&. Morphix web site\&. Browse cvs repository[http://sourceforge\&.net/projects/morphix] and cvs mailing lists for full list of developers and patches submitted\&. -This man page was written by Brendan Sleight using asciidoc: \fIhttp://www.methods.co.nz/asciidoc/\fR +This man page was written by Brendan Sleight using asciidoc .SH "SEE ALSO" Modified: trunk/morph-scripts/debian/make-iso.1 =================================================================== --- trunk/morph-scripts/debian/make-iso.1 2006-10-05 21:38:21 UTC (rev 2428) +++ trunk/morph-scripts/debian/make-iso.1 2006-10-06 22:03:54 UTC (rev 2429) @@ -54,10 +54,10 @@ .SH "AUTHORS" -Written by Alex de Landgraaf and other Morphix developers\&. Morphix web site: \fIhttp://www.morphix.org/\fR\&. Browse cvs repository[http://sourceforge\&.net/projects/morphix] and cvs mailing lists for full list of developers and patches submitted\&. +Written by Alex de Landgraaf and other Morphix developers\&. Morphix web site\&. Browse cvs repository[http://sourceforge\&.net/projects/morphix] and cvs mailing lists for full list of developers and patches submitted\&. -This man page was written by Brendan Sleight using asciidoc: \fIhttp://www.methods.co.nz/asciidoc/\fR +This man page was written by Brendan Sleight using asciidoc .SH "SEE ALSO" Modified: trunk/morph-scripts/debian/minimod-gen.1 =================================================================== --- trunk/morph-scripts/debian/minimod-gen.1 2006-10-05 21:38:21 UTC (rev 2428) +++ trunk/morph-scripts/debian/minimod-gen.1 2006-10-06 22:03:54 UTC (rev 2429) @@ -75,10 +75,10 @@ .SH "AUTHORS" -Written by Alex de Landgraaf and other Morphix developers\&. Morphix web site: \fIhttp://www.morphix.org/\fR\&. Browse cvs repository[http://sourceforge\&.net/projects/morphix] and cvs mailing lists for full list of developers and patches submitted\&. +Written by Alex de Landgraaf and other Morphix developers\&. Morphix web site\&. Browse cvs repository[http://sourceforge\&.net/projects/morphix] and cvs mailing lists for full list of developers and patches submitted\&. -This man page was written by Brendan Sleight using asciidoc: \fIhttp://www.methods.co.nz/asciidoc/\fR +This man page was written by Brendan Sleight using asciidoc .SH "SEE ALSO" Modified: trunk/morph-scripts/debian/module-builder.1 =================================================================== --- trunk/morph-scripts/debian/module-builder.1 2006-10-05 21:38:21 UTC (rev 2428) +++ trunk/morph-scripts/debian/module-builder.1 2006-10-06 22:03:54 UTC (rev 2429) @@ -81,10 +81,10 @@ .SH "AUTHORS" -Written by Alex de Landgraaf and other Morphix developers\&. Morphix web site: \fIhttp://www.morphix.org/\fR\&. Browse cvs repository[http://sourceforge\&.net/projects/morphix] and cvs mailing lists for full list of developers and patches submitted\&. +Written by Alex de Landgraaf and other Morphix developers\&. Morphix web site\&. Browse cvs repository[http://sourceforge\&.net/projects/morphix] and cvs mailing lists for full list of developers and patches submitted\&. -This man page was written by Brendan Sleight using asciidoc: \fIhttp://www.methods.co.nz/asciidoc/\fR +This man page was written by Brendan Sleight using asciidoc .SH "SEE ALSO" Modified: trunk/morph-scripts/debian/module-extractor.1 =================================================================== --- trunk/morph-scripts/debian/module-extractor.1 2006-10-05 21:38:21 UTC (rev 2428) +++ trunk/morph-scripts/debian/module-extractor.1 2006-10-06 22:03:54 UTC (rev 2429) @@ -54,10 +54,10 @@ .SH "AUTHORS" -Written by Alex de Landgraaf and other Morphix developers\&. Morphix web site: \fIhttp://www.morphix.org/\fR\&. Browse cvs repository[http://sourceforge\&.net/projects/morphix] and cvs mailing lists for full list of developers and patches submitted\&. +Written by Alex de Landgraaf and other Morphix developers\&. Morphix web site\&. Browse cvs repository[http://sourceforge\&.net/projects/morphix] and cvs mailing lists for full list of developers and patches submitted\&. -This man page was written by Brendan Sleight using asciidoc: \fIhttp://www.methods.co.nz/asciidoc/\fR +This man page was written by Brendan Sleight using asciidoc .SH "SEE ALSO" Modified: trunk/morph-scripts/debian/morphix-chroot.1 =================================================================== --- trunk/morph-scripts/debian/morphix-chroot.1 2006-10-05 21:38:21 UTC (rev 2428) +++ trunk/morph-scripts/debian/morphix-chroot.1 2006-10-06 22:03:54 UTC (rev 2429) @@ -57,10 +57,10 @@ .SH "AUTHORS" -Written by Alex de Landgraaf and other Morphix developers\&. Morphix web site: \fIhttp://www.morphix.org/\fR\&. Browse cvs repository[http://sourceforge\&.net/projects/morphix] and cvs mailing lists for full list of developers and patches submitted\&. +Written by Alex de Landgraaf and other Morphix developers\&. Morphix web site\&. Browse cvs repository[http://sourceforge\&.net/projects/morphix] and cvs mailing lists for full list of developers and patches submitted\&. -This man page was written by Brendan Sleight using asciidoc: \fIhttp://www.methods.co.nz/asciidoc/\fR +This man page was written by Brendan Sleight using asciidoc .SH "SEE ALSO" Modified: trunk/morph-scripts/debian/morphix-rebrand.1 =================================================================== --- trunk/morph-scripts/debian/morphix-rebrand.1 2006-10-05 21:38:21 UTC (rev 2428) +++ trunk/morph-scripts/debian/morphix-rebrand.1 2006-10-06 22:03:54 UTC (rev 2429) @@ -23,19 +23,79 @@ .SH "SYNOPSIS" -\fImorphix\-rebrand\fR old\&.iso new\&.iso Rebrand\&.png +\fImorphix\-rebrand\fR [\-T Master_Title] [\-b background_graphic] [\-g title_grub_menu] [\-h hostname] [\-u username] [\-w x_wallpaper_graphic] old\&.iso new\&.iso Rebrand\&.png .SH "DESCRIPTION" -This script Re\-brands a Morphix CD image using a single graphics file\&. Any Graphic file will do\&. Rebrand\&.png, Rebrand\&.jpg or Rebrand\&.gif The name of the graphics file is important as the script takes Rebrand as the new title for the LiveCd\&. Need to have be able to run the mount command, i\&.e\&. must be root" +This script Re\-brands a Morphix CD image using a single graphics file\&. Any Graphic file will do\&. Rebrand\&.png, Rebrand\&.jpg or Rebrand\&.gif The name of the graphics file is important as the script takes Rebrand as the new default title for the LiveCd\&. Need to have be able to run the mount command, i\&.e\&. must be root + +The following will be changed in the Morphix LiveCD : \- + +.TP 3 +\(bu +Grub Titles +.TP +\(bu +Grub Background +.TP +\(bu +Username, Hostname +.TP +\(bu +Boot\-up message +.TP +\(bu +Boot\-up background +.TP +\(bu +Window Manager Wallpaper +.LP + + +The graphic file will be converted to the Grub Background, boot\-up background and Window Manager wallpaper unless overridden by one of the options\&. The name of the graphics file will be used to set Grub titles, username, hostname and boot\-up messages unless overridden by one of the options\&. + +.SH "OPTIONS" + +.TP +\fI\-T Master_Title\fR +To override the default name obtained from the graphics file and use this for Grub title, username, hostname and boot\-up messages unless overridden by one of the other options\&. + +.TP +\fI\-b background_graphic\fR +Use background graphic as the Boot\-up slash, rather than default graphics file\&. + +.TP +\fI\-g title_grub_menu\fR +Use title_grub_menu in the Grub menu titles, rather than default title\&. + +.TP +\fI\-h hostname\fR +Use hostname as the hostname, rather than default title\&. + +.TP +\fI\-u username\fR +Use hostname as the username, rather than default title\&. + +.TP +\fI\-w x_wallpaper_graphic\fR +Use wallpaper graphic as the Window Manager wallpaper, rather than default graphics file\&. + .SH "EXAMPLES" .TP Rebrand morphix\-rebrand /tmp/Morphix\&.iso /tmp/FooBar\&.iso FooBar\&.png +.nf +morphix\-rebrand \-T BarBar /tmp/Morphix\&.iso /tmp/FooBar\&.iso FooBar\&.png +.fi + +.nf +morphix\-rebrand \-T BarBar \-b Slash\&.jpg \-u baruser /tmp/Morphix\&.iso /tmp/FooBar\&.iso FooBar\&.png +.fi + .SH "SECURITY" @@ -54,10 +114,10 @@ .SH "AUTHORS" -Written by Alex de Landgraaf and other Morphix developers\&. Morphix web site: \fIhttp://www.morphix.org/\fR\&. Browse cvs repository[http://sourceforge\&.net/projects/morphix] and cvs mailing lists for full list of developers and patches submitted\&. +Written by Alex de Landgraaf and other Morphix developers\&. Morphix web site\&. Browse cvs repository[http://sourceforge\&.net/projects/morphix] and cvs mailing lists for full list of developers and patches submitted\&. -This man page was written by Brendan Sleight using asciidoc: \fIhttp://www.methods.co.nz/asciidoc/\fR +This man page was written by Brendan Sleight using asciidoc .SH "SEE ALSO" Modified: trunk/morph-scripts/debian/morphmini.1 =================================================================== --- trunk/morph-scripts/debian/morphmini.1 2006-10-05 21:38:21 UTC (rev 2428) +++ trunk/morph-scripts/debian/morphmini.1 2006-10-06 22:03:54 UTC (rev 2429) @@ -140,10 +140,10 @@ .SH "AUTHORS" -Written by Alex de Landgraaf and other Morphix developers\&. Morphix web site: \fIhttp://www.morphix.org/\fR\&. Browse cvs repository[http://sourceforge\&.net/projects/morphix] and cvs mailing lists for full list of developers and patches submitted\&. +Written by Alex de Landgraaf and other Morphix developers\&. Morphix web site\&. Browse cvs repository[http://sourceforge\&.net/projects/morphix] and cvs mailing lists for full list of developers and patches submitted\&. -This man page was written by Brendan Sleight using asciidoc: \fIhttp://www.methods.co.nz/asciidoc/\fR +This man page was written by Brendan Sleight using asciidoc .SH "SEE ALSO" Modified: trunk/morph-scripts/morphix-rebrand.sh =================================================================== --- trunk/morph-scripts/morphix-rebrand.sh 2006-10-05 21:38:21 UTC (rev 2428) +++ trunk/morph-scripts/morphix-rebrand.sh 2006-10-06 22:03:54 UTC (rev 2429) @@ -231,7 +231,7 @@ echo " This script Re-brands a Morphix CD image using the graphic file " echo " Any Graphic file will do. Rebrand.png, Rebrand.jpg or Rebrand.gif" echo " The name of the graphics file is important as the script takes Rebrand as the new title for the LiveCd." - echo " To override the default name obtain from the graphics file use the option items such as -T ReBrand" + echo " To override the default name obtained from the graphics file use the option items such as -T ReBrand" echo " The names should not contain non-alpha-numeric characters" echo " Need to have be able to run the mount command, i.e. must be root" exit This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ale...@us...> - 2008-03-14 13:45:21
|
Revision: 2618 http://morphix.svn.sourceforge.net/morphix/?rev=2618&view=rev Author: alextreme Date: 2008-03-14 06:45:18 -0700 (Fri, 14 Mar 2008) Log Message: ----------- * adding make-mini-home Modified Paths: -------------- trunk/morph-scripts/Makefile trunk/morph-scripts/debian/changelog trunk/morph-scripts/debian/control trunk/morph-scripts/debian/rules Added Paths: ----------- trunk/morph-scripts/make-mini-home/ trunk/morph-scripts/make-mini-home/linux_devices.py trunk/morph-scripts/make-mini-home/make-mini-home.py trunk/morph-scripts/make-mini-home/zenity_wrapper.py Modified: trunk/morph-scripts/Makefile =================================================================== --- trunk/morph-scripts/Makefile 2008-02-26 19:59:44 UTC (rev 2617) +++ trunk/morph-scripts/Makefile 2008-03-14 13:45:18 UTC (rev 2618) @@ -98,6 +98,13 @@ cp ./morphmini/morphmini $(DESTDIR)/usr/sbin/morphmini chmod a+x $(DESTDIR)/usr/sbin/morphmini +morphix-make-mini-home: + mkdir -p $(DESTDIR)/usr/sbin + mkdir -p $(DESTDIR)/usr/lib/morphix-make-mini-home + cp ./make-mini-home/*.py $(DESTDIR)/usr/lib/morphix-make-mini-home/ + ln -s ../lib/morphix-make-mini-home/make-mini-home.py $(DESTDIR)/usr/sbin/make-mini-home + chmod a+x $(DESTDIR)/usr/sbin/make-mini-home + remove: rm $(DESTDIR)/usr/sbin/install2mainmod rm $(DESTDIR)/usr/sbin/isomorph.pl @@ -115,3 +122,5 @@ rm $(DESTDIR)/usr/sbin/morphix-rebrand rm $(DESTDIR)/usr/sbin/morphix-chroot rm $(DESTDIR)/usr/share/morphix-rebrand/morphix-iso-grubtheme_0.1-4.tar.gz + rm $(DESTDIR)/usr/sbin/make-mini-home + rm -r $(DESTDIR)/usr/lib/morphix-make-mini-home Modified: trunk/morph-scripts/debian/changelog =================================================================== --- trunk/morph-scripts/debian/changelog 2008-02-26 19:59:44 UTC (rev 2617) +++ trunk/morph-scripts/debian/changelog 2008-03-14 13:45:18 UTC (rev 2618) @@ -1,3 +1,9 @@ +morph-scripts (0.2-36) unstable; urgency=low + + * Adding morphix-make-mini-home (a GUI-tool for creating a homedir minimod and storing it on a USB storage device) + + -- Alex de Landgraaf <al...@de...> Fri, 14 Mar 2008 14:34:16 +0100 + morph-scripts (0.2-35) unstable; urgency=low * Workround for transparent poxy servers that cache stale/old files. Modified: trunk/morph-scripts/debian/control =================================================================== --- trunk/morph-scripts/debian/control 2008-02-26 19:59:44 UTC (rev 2617) +++ trunk/morph-scripts/debian/control 2008-03-14 13:45:18 UTC (rev 2618) @@ -8,7 +8,7 @@ Package: morphing-tools Provides: morphix-tools, morph-scripts Architecture: any -Depends: morphix-moduleloader, morphix-isomorph, morphix-install2mainmod, morphix-changekernel, morphix-make-iso, morphix-modulebuilder, morphix-moduleextractor, morphix-minimodgen, morphix-deb-get, morphix-addtoiso, morphix-converttobootimg, morphix-buildminimod, morphix-mmaker, morphix-morphmini, morphix-rebrand, morphix-chroot +Depends: morphix-moduleloader, morphix-isomorph, morphix-install2mainmod, morphix-changekernel, morphix-make-iso, morphix-modulebuilder, morphix-moduleextractor, morphix-minimodgen, morphix-deb-get, morphix-addtoiso, morphix-converttobootimg, morphix-buildminimod, morphix-mmaker, morphix-morphmini, morphix-rebrand, morphix-chroot, morphix-make-mini-home Description: Metapackage for all Morphix commandline tools Metapackage for all Morphix commandline tools that handle modules. See separate packages for descriptions @@ -121,3 +121,14 @@ Architecture: any Depends: coreutils, morphix-modulebuilder, morphix-moduleextractor Description: chroot into a Morphix MainModule. + +Package: morphix-make-mini-home +Architecture: any +Depends: morphix-mmaker, morphix-modulebuilder, zenity, python +Description: Stores the current home-directory on to a USB storage device. + This interactive zenity-based script gives the user a few questions, + after which a Morphix minimodule is stored upon a selected USB storage device. + . + The point of this tool is to allow a user to save his current home directory + without having to touch the command-line. Also an excuse to play around + with zenity. Modified: trunk/morph-scripts/debian/rules =================================================================== --- trunk/morph-scripts/debian/rules 2008-02-26 19:59:44 UTC (rev 2617) +++ trunk/morph-scripts/debian/rules 2008-03-14 13:45:18 UTC (rev 2618) @@ -67,6 +67,7 @@ $(MAKE) morphmini DESTDIR=$(CURDIR)/debian/morphix-morphmini $(MAKE) morphix-rebrand DESTDIR=$(CURDIR)/debian/morphix-rebrand $(MAKE) morphix-chroot DESTDIR=$(CURDIR)/debian/morphix-chroot + $(MAKE) morphix-make-mini-home DESTDIR=$(CURDIR)/debian/morphix-make-mini-home dh_install -s # Must not depend on anything. This is to be called by Added: trunk/morph-scripts/make-mini-home/linux_devices.py =================================================================== --- trunk/morph-scripts/make-mini-home/linux_devices.py (rev 0) +++ trunk/morph-scripts/make-mini-home/linux_devices.py 2008-03-14 13:45:18 UTC (rev 2618) @@ -0,0 +1,42 @@ +import os + +def get_usb_devices(): + """ + Assume: udev is enabled + """ + + udev_usb = "/dev/disk/by-id" + files = os.listdir(udev_usb) + usb_devices = [] + for file in files: + if not file.startswith("usb-") or file.find("-part") == -1: + continue + + file_str = file[4:] + parts = file_str.split("_") + if len(parts) < 2: + continue + dest = os.readlink(udev_usb + "/" + file) + dest_dev = dest[-4:] + if len(dest_dev) != 4: + continue + + usb_devices += [[file, parts[0] + " " + parts[1] + " " + parts[2], dest_dev]] + + return usb_devices + +def get_partition_size(partition): + proc_partitions = "/proc/partitions" + + fd = open(proc_partitions, "r") + data = fd.read() + fd.close() + + data = data.split("\n") + for line in data[2:]: + line_data = line.split() + if len(line_data) != 4: + continue + if line_data[3] == partition: + return line_data[2] + return -1 Added: trunk/morph-scripts/make-mini-home/make-mini-home.py =================================================================== --- trunk/morph-scripts/make-mini-home/make-mini-home.py (rev 0) +++ trunk/morph-scripts/make-mini-home/make-mini-home.py 2008-03-14 13:45:18 UTC (rev 2618) @@ -0,0 +1,79 @@ +#!/usr/bin/python + +import sys, os, time, zenity_wrapper + +import linux_devices + +mount_directory = "/tmp/morphix-make-mini-home" +minimod_directory = mount_directory + "/minimod" +minimod_name = "MorphixHomedirMini.mod" + +if os.getuid() != 0: + zenity_wrapper.zenity_info("Unable to continue", "'USB home-dir' requires you to be root in order to proceed. Please start this tool as root or via sudo and try again") + sys.exit(1) + +ret = zenity_wrapper.zenity_question("Save changes", "'USB home-dir' will let you save any changes you made within your home directory to any USB storage device with enough free space. If you have this device inserted before you boot this Live CD/DVD all changes will be restored.\n\nPlease connect your USB storage device before continuing.") + +if ret != 0: + sys.exit(1) + +time.sleep(2) + +# find devices: ls -l /dev/disk/by-id/usb-* +# or /proc/partitions + +usb_devices = linux_devices.get_usb_devices() +print usb_devices +storage_list = [] +for device in usb_devices: + size = linux_devices.get_partition_size(device[2]) + storage_list += [[ device[1] + ", " + str(int(size) / 1024) + "MB (" + device[2] + ")", usb_devices]] + +selected = zenity_wrapper.zenity_list("Select USB storage device", "Select the inserted device", "Devices found", storage_list) + +selected_device = [] +for item in storage_list: + if selected.strip() == item[0].strip(): + selected_device = item[1][0] + +if selected_device == []: + zenity_wrapper.zenity_info("No device selected, aborting", "No USB device was selected upon which to store the files from the current home directory, unable to continue") + sys.exit(1) + +### We have a USB device upon which to store our mini-module ### + + + +# Just to be sure... +os.system("umount " + mount_directory) +try: + os.mkdir(mount_directory) +except: # Ignore if already exists + pass +print selected_device +os.system("mount /dev/" + selected_device[2] + " " + mount_directory) + +# FIXME: We'll just assume that mounting worked, for now... + +try: + os.mkdir(minimod_directory) +except: # Again, ignore if exists + pass + +if os.access(minimod_directory + "/" + minimod_name, os.F_OK): + ret = zenity_wrapper.zenity_question("Replace exisiting home directory files?", "An existing home directory file has been found on the selected USB storage device. Do you want to replace it?") + if ret != 0: + zenity_wrapper.zenity_info("Unable to continue", "As you have selected not to replace the current home directory file 'USB home-dir' will now exit. Please select a different USB storage device, or make sure the existing home directory file can be replaced.") + sys.exit(1) + +cmd = "make-mini --homedir-all " + minimod_directory + "/" + minimod_name +print cmd +os.system(cmd) + +# Flush filesystem buffers and umount +os.system('sync') +time.sleep(2) +os.system("umount " + mount_directory) + +zenity_wrapper.zenity_info("Completed", "All files in your home directory have been stored to the USB storage device (" + selected_device[1] + ", in the file /minimod/" + minimod_name + "). \n\nUpon reboot all stored files will be available in your home directory") + Added: trunk/morph-scripts/make-mini-home/zenity_wrapper.py =================================================================== --- trunk/morph-scripts/make-mini-home/zenity_wrapper.py (rev 0) +++ trunk/morph-scripts/make-mini-home/zenity_wrapper.py 2008-03-14 13:45:18 UTC (rev 2618) @@ -0,0 +1,28 @@ +import os, subprocess + +def zenity_info(title, text): + """ + Assume: title and text are strings + """ + + return os.system('zenity --title="' + title + '" --info --text="' + text + '"') + +def zenity_question(title, text): + """ + Assume: title and text are strings + """ + + return os.system('zenity --title="' + title + '" --question --text="' + text + '"') + +def zenity_list(title, text, header, choices): + """ + Assume: title, text, header are strings + """ + + choices_str = "" + for choice in choices: + choices_str += choice[0] + " " + + p = subprocess.Popen(['zenity', '--title="' + title + '"', '--list', '--text="' + text + '"', '--column="' + header + '"', choices_str], stdout = subprocess.PIPE) + return p.communicate()[0] + This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |