12.6 Building an Ubuntu distro

Here’s the short instruction on how to create lilybuntu iso image (Jonathan Kulp did this on a spare drive, but he supposes it can be done in a VM too):

  1. Install ubuntu, reboot.
  2. Run all updates, reboot if asked.
  3. Enable src repos, refresh package lists.
  4. Install LilyPond build deps:
    sudo apt-get build-dep lilypond
  5. Install git and autoconf:
    sudo apt-get install git-core gitk autoconf
  6. Test to see whether everything works fine now:
    1. use lily-git.tcl to grab source files
    2. go to source dir and do
      "./autogen.sh" ; make ; make doc
    3. if all compiles, move on to iso creation...
  7. Download & install "remastersys": http://sourceforge.net/projects/remastersys/
  8. Copy lily-git.tcl script file into ‘/etc/skel/’.
  9. Modify ‘/etc/remastersys.conf’ as desired (change .iso name, default live session username, etc).
  10. Remove non-essential desktop software as desired.
  11. Create iso:
    sudo remastersys dist

    New iso is in ‘/home/remastersys/remastersys/’.

  12. Test iso by installing in VM and repeating steps above for getting source files and building lp and docs.

LilyPond — Contributor’s Guide v2.19.26 (development-branch).