12.6 Building an Ubuntu distro

  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 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
  12. New iso is in /home/remastersys/remastersys/
  13. Test iso by installing in VM and repeating steps above for getting source files and building lp and docs

LilyPond — Contributor’s Guide