LiveCD Notes: Difference between revisions

From IHRIS Wiki
m (start)
 
m (edits)
Line 9: Line 9:
I've written a few simple scripts to automate some of the tedious steps.  These are located directly under ihris-live:
I've written a few simple scripts to automate some of the tedious steps.  These are located directly under ihris-live:


<tt>edit-chroot</tt>::
<tt>edit-chroot</tt>
:: This will drop you into a properly configured chroot that is, for all intents and purposes, the filesystem that the LiveCD will use.  After you exit, you'll be returned to your command prompt.
:: This will drop you into a properly configured chroot that is, for all intents and purposes, the filesystem that the LiveCD will use.  After you exit, you'll be returned to your command prompt.
<tt>make-iso</tt>::
<tt>make-iso</tt>
:: After running <tt>edit-chroot</tt>, use this script to create the ISO.
:: After running <tt>edit-chroot</tt>, use this script to create the ISO.


Line 20: Line 20:
A user is created from the contents of <tt>/etc/skel</tt> when the LiveCD begins running.  Anything you put in here will be in the LiveCD user's environment.  Here is a list of notable modifications to this environment:
A user is created from the contents of <tt>/etc/skel</tt> when the LiveCD begins running.  Anything you put in here will be in the LiveCD user's environment.  Here is a list of notable modifications to this environment:


[https://addons.mozilla.org/en-US/firefox/addon/1659 R-Kiosk plugin]::
[https://addons.mozilla.org/en-US/firefox/addon/1659 R-Kiosk plugin]
::A <tt>.mozilla</tt> directory is set up with the R-Kiosk plugin installed.  I had to edit the <tt>.mozilla/firefox/d0i2gqoj.default/extensions/{4D498D0A-05AD-4fdb-97B5-8A0AABC1FC5B}/install.rdf</tt> file and change <tt>em:maxVersion</tt> from “3.0” to “3.0.*” to get the kiosk plugin to work on boot-up
::A <tt>.mozilla</tt> directory is set up with the R-Kiosk plugin installed.  I had to edit the <tt>.mozilla/firefox/d0i2gqoj.default/extensions/{4D498D0A-05AD-4fdb-97B5-8A0AABC1FC5B}/install.rdf</tt> file and change <tt>em:maxVersion</tt> from “3.0” to “3.0.*” to get the kiosk plugin to work on boot-up


<tt>.xsession</tt> file::
<tt>.xsession</tt> file
::Firefox is started without a window manager running.  When it exits, the user is (currently) returned to the GDM login screen.
::Firefox is started without a window manager running.  When it exits, the user is (currently) returned to the GDM login screen.


[[Category:HowTo]]
[[Category:HowTo]]

Revision as of 15:07, 20 August 2009

See the Ubuntu LiveCD page for details. This page just outlines the steps particular to the iHRIS LiveCD

Source

The image used to create this CD is stored on ihrisdev under /home/mah/ihris-live. Use rsync to copy the structure there to your work area.

Scripts

I've written a few simple scripts to automate some of the tedious steps. These are located directly under ihris-live:

edit-chroot

This will drop you into a properly configured chroot that is, for all intents and purposes, the filesystem that the LiveCD will use. After you exit, you'll be returned to your command prompt.

make-iso

After running edit-chroot, use this script to create the ISO.

The other scripts should not be necessary for regular use.

Of Note

A user is created from the contents of /etc/skel when the LiveCD begins running. Anything you put in here will be in the LiveCD user's environment. Here is a list of notable modifications to this environment:

R-Kiosk plugin

A .mozilla directory is set up with the R-Kiosk plugin installed. I had to edit the .mozilla/firefox/d0i2gqoj.default/extensions/{4D498D0A-05AD-4fdb-97B5-8A0AABC1FC5B}/install.rdf file and change em:maxVersion from “3.0” to “3.0.*” to get the kiosk plugin to work on boot-up

.xsession file

Firefox is started without a window manager running. When it exits, the user is (currently) returned to the GDM login screen.