1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
\r
2 "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
\r
3 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
\r
5 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
\r
6 <meta name="generator" content="AsciiDoc 8.2.7" />
\r
7 <style type="text/css">
\r
9 p, li, dt, dd, div, pre, h1, h2, h3, h4, h5, h6 {
\r
11 border: 1px solid red;
\r
16 margin: 1em 5% 1em 5%;
\r
21 text-decoration: underline;
\r
41 h1, h2, h3, h4, h5, h6 {
\r
43 font-family: sans-serif;
\r
45 margin-bottom: 0.5em;
\r
50 border-bottom: 2px solid silver;
\r
68 border: 1px solid silver;
\r
73 margin-bottom: 0.5em;
\r
87 font-family: sans-serif;
\r
94 font-family: sans-serif;
\r
98 font-family: sans-serif;
\r
100 border-top: 2px solid silver;
\r
101 padding-top: 0.5em;
\r
106 padding-bottom: 0.5em;
\r
108 div#footer-badges {
\r
110 padding-bottom: 0.5em;
\r
114 div.tableblock, div.imageblock, div.exampleblock, div.verseblock,
\r
115 div.quoteblock, div.literalblock, div.listingblock, div.sidebarblock,
\r
116 div.admonitionblock {
\r
119 margin-bottom: 1.5em;
\r
121 div.admonitionblock {
\r
123 margin-bottom: 2.5em;
\r
126 div.content { /* Block element content. */
\r
130 /* Block element titles. */
\r
131 div.title, caption.title {
\r
133 font-family: sans-serif;
\r
137 margin-bottom: 0.5em;
\r
143 td div.title:first-child {
\r
146 div.content div.title:first-child {
\r
149 div.content + div.title {
\r
153 div.sidebarblock > div.content {
\r
154 background: #ffffee;
\r
155 border: 1px solid silver;
\r
162 div.listingblock > div.content {
\r
163 border: 1px solid silver;
\r
164 background: #f4f4f4;
\r
169 padding-left: 2.0em;
\r
171 div.quoteblock > div.attribution {
\r
172 padding-top: 0.5em;
\r
177 padding-left: 2.0em;
\r
179 div.verseblock > div.content {
\r
182 div.verseblock > div.attribution {
\r
183 padding-top: 0.75em;
\r
186 /* DEPRECATED: Pre version 8.2.7 verse style literal block. */
\r
187 div.verseblock + div.attribution {
\r
191 div.admonitionblock .icon {
\r
192 vertical-align: top;
\r
195 text-decoration: underline;
\r
197 padding-right: 0.5em;
\r
199 div.admonitionblock td.content {
\r
200 padding-left: 0.5em;
\r
201 border-left: 2px solid silver;
\r
204 div.exampleblock > div.content {
\r
205 border-left: 2px solid silver;
\r
209 div.imageblock div.content { padding-left: 0; }
\r
210 div.imageblock img { border: 1px solid silver; }
\r
211 span.image img { border-style: none; }
\r
215 margin-bottom: 0.8em;
\r
220 font-style: normal;
\r
222 dd > *:first-child {
\r
227 list-style-position: outside;
\r
230 list-style-type: decimal;
\r
233 list-style-type: lower-alpha;
\r
236 div.tableblock > table {
\r
237 border: 3px solid #527bbd;
\r
240 font-family: sans-serif;
\r
249 margin-bottom: 0.8em;
\r
252 padding-bottom: 15px;
\r
255 vertical-align: top;
\r
256 font-style: normal;
\r
257 padding-right: 0.8em;
\r
260 vertical-align: top;
\r
264 div#footer-badges { display: none; }
\r
269 font-family: sans-serif;
\r
273 margin-bottom: 0.1em;
\r
276 div.toclevel1, div.toclevel2, div.toclevel3, div.toclevel4 {
\r
292 /* Workarounds for IE6's broken and incomplete CSS2. */
\r
294 div.sidebar-content {
\r
295 background: #ffffee;
\r
296 border: 1px solid silver;
\r
299 div.sidebar-title, div.image-title {
\r
301 font-family: sans-serif;
\r
304 margin-bottom: 0.5em;
\r
307 div.listingblock div.content {
\r
308 border: 1px solid silver;
\r
309 background: #f4f4f4;
\r
313 div.quoteblock-attribution {
\r
314 padding-top: 0.5em;
\r
318 div.verseblock-content {
\r
321 div.verseblock-attribution {
\r
322 padding-top: 0.75em;
\r
326 div.exampleblock-content {
\r
327 border-left: 2px solid silver;
\r
328 padding-left: 0.5em;
\r
331 /* IE6 sets dynamically generated links as visited. */
\r
332 div#toc a:visited { color: blue; }
\r
334 /* Because IE6 child selector is broken. */
\r
336 list-style-type: lower-alpha;
\r
338 div.olist2 div.olist ol {
\r
339 list-style-type: decimal;
\r
342 <title>Redesign of grml-live(8)</title>
\r
346 <h1>Redesign of grml-live(8)</h1>
\r
348 <h2 id="_name">Name</h2>
\r
349 <div class="sectionbody">
\r
350 <div class="para"><p>(Re-)Design of grml-live</p></div>
\r
352 <h2 id="_synopsis">Synopsis</h2>
\r
353 <div class="sectionbody">
\r
354 <div class="para"><p>None.</p></div>
\r
356 <h2 id="_description">Description</h2>
\r
357 <div class="sectionbody">
\r
358 <div class="para"><p>grml-live mainly executes the following main stages:</p></div>
\r
359 <div class="ilist"><ul>
\r
362 fai dirinstall: <a href="http://fai-project.org/">FAI</a> (Fully
\r
363 Automatic Installation) does the chroot related work
\r
368 mksquashfs: generate the compressed squashfs file which provides the chroot in
\r
374 mkisofs: generates the ISO itself, based on the output by mksquashfs and some
\r
375 further bootmanger related stuff
\r
379 <div class="para"><p>This document describes the planned design for a re-implementation of
\r
380 grml-live in Python.</p></div>
\r
381 <div class="admonitionblock">
\r
384 <img src="./images/icons/note.png" alt="Note" />
\r
386 <td class="content">This document is work in progress. Seriously.</td>
\r
390 <h2 id="_grml_live_interface">grml-live interface</h2>
\r
391 <div class="sectionbody">
\r
392 <div class="para"><p>The grml-live interface itself (no matter whether text based or a graphical
\r
393 interface) uses the provided mechanisms by lib-grml-live.</p></div>
\r
395 <h2 id="_lib_grml_live">lib-grml-live</h2>
\r
396 <div class="sectionbody">
\r
397 <div class="para"><p>Helper Functions:</p></div>
\r
398 <div class="ilist"><ul>
\r
401 log(): log into syslog, /var/log/grml-live.log
\r
406 console_info(): display information on plain console
\r
411 usage(): display usage information
\r
415 <div class="para"><p>Validation:</p></div>
\r
416 <div class="ilist"><ul>
\r
419 check_permissions(): check for id == 0
\r
424 check_diskspace(): check for enough free space(?)
\r
429 check_programms(): check for all the necessary tools
\r
433 <div class="para"><p>Configuration handling:</p></div>
\r
434 <div class="ilist"><ul>
\r
437 parse_config_files(mainconfig=/etc/grml/grml-live.conf, localconfig=/etc/grml/grml-live.local): read /etc/grml/grml-live.local and /etc/grml/grml-live.conf
\r
442 cmdline_opts(): parse commandline, overrides configuration from parse_config()
\r
447 update_config_files(): write active configuration to configuration files (like /etc/grml/fai/apt/sources.list)
\r
451 <div class="para"><p>Installation of files:</p></div>
\r
452 <div class="ilist"><ul>
\r
455 install_chroot(): execute <em>fai dirinstall</em>
\r
460 install_bootmanager(): install bootmanager (grub and/or isolinux)
\r
465 install_initrd(): install initrd from chroot into booting area
\r
470 install_kernel(): install kernel from chroot into booting area
\r
475 install_addons(): install addons into booting area
\r
480 install_bootsplash(): install bootsplash (image)
\r
485 install_bootmessages(): install bootmessages
\r
490 install_windows_binaries(): install windows (related) binaries
\r
494 <div class="para"><p>Create ISO:</p></div>
\r
495 <div class="ilist"><ul>
\r
498 create_squashfs(): execute mksquashfs
\r
503 create_md5sums(): create md5sums
\r
508 create_iso(): execute mkisofs
\r
514 <div id="footer-text">
\r
515 Last updated 2008-11-19 23:24:01 CEST
\r