Go to file
2016-06-28 13:18:31 -04:00
.gitignore gitignore 2013-08-18 21:30:54 -04:00
buildiso.sh Documentation 2016-06-27 16:55:40 -04:00
cleanup.sh Fix some deficiencies in enter.sh 2016-06-25 18:46:02 -04:00
config Default to 16.04 config if none specified 2016-06-27 16:52:26 -04:00
config-16.04 Start reworking things for systemd-based 16.04 2016-06-25 16:39:02 -04:00
customize-inner.sh Customize background and browser homepage 2016-06-28 13:18:31 -04:00
customize.sh Start reworking things for systemd-based 16.04 2016-06-25 16:39:02 -04:00
enter.sh Fix hacky networking setup 2016-06-28 11:48:13 -04:00
extractiso.sh Start reworking things for systemd-based 16.04 2016-06-25 16:39:02 -04:00
full-rebuild.sh Fix full-rebuild.sh 2016-06-27 16:52:34 -04:00
nilmbuntu.png Start reworking things for systemd-based 16.04 2016-06-25 16:39:02 -04:00
README Update documentation 2016-06-27 17:01:49 -04:00
run.sh Change back to vmware for qemu 2016-06-28 13:18:21 -04:00
splash.png Start reworking things for systemd-based 16.04 2016-06-25 16:39:02 -04:00

Tools to customize an Ubuntu Live CD.  Many parts of this will end up
being version-specific.  The host machine must be running systemd,
since the image is executed inside a systemd-nspawn container.

Set up host machine, which must be running a recent systemd:

  sudo apt-get install squashfs-tools xorriso isolinux systemd-container iptables
  sudo systemctl start systemd-networkd

Choose a config:

  export BUILD_CONFIG=16.04

Download and extract the original ISO:

  ./extractiso.sh

Apply customizations, both to the outer ISO and the inner image.
This will also run customizer-inner.sh inside a container:

  ./customize.sh

(Optional) Run and enter a shell in the container, for manual customization:

  ./enter.sh

Build the new ISO:

  ./buildiso.sh

Boot the ISO in QEMU with a blank HDD, to test and install:

  ./run.sh -c

Boot QEMU with the same HDD image as above, to test an "installed" system:

  ./run.sh -d

Remove everything but the ISOs:

  ./cleanup.sh