E.3. Rebuilding the Laddie Appliance

As a quick illustration of the CD's filesystem structure, let's modify and reinstall a portion of the Laddie appliance. This won't be permanent; we won't create a new CD. We'll just add a line to a .c file in the alarm daemon, recompile it at the Linux shell prompt, reinstall it, and run it.

If you'd like to follow along, boot up an x86 PC using the Laddie CD and bring up a shell console. See "Section E.1.1" on page 338 for instructions.

Note:

This exercise assumes you can use the vi editor. If you're not familiar with vi, you can get up to speed quickly with vimtutor, which is also provided on the CD.

  1. Since the alarm daemon will already be running, kill it with this command:

    laddie:˜# laddie stop
    
  2. Then use the ...

Get Linux Appliance Design now with the O’Reilly learning platform.

O’Reilly members experience live online training, plus books, videos, and digital content from nearly 200 publishers.