Getting started with morph

  • Install cliapp. You need version 0.21.
  • Check out morph and morphs from https://gitorious.org/baserock.
  • Check out fhs-dirs, eglibc, and busybox from https://gitorious.org/baserock-morphs.
  • Create a cache directory in a suitable place.
  • Adapt the following command to your directories, and run it in the morph checkout: ./morph build ../morphs/base.morph --log=morph.log --verbose --git-base-url=file://$HOME/baserock/gits/ --cachedir=$HOME/baserock/cache
  • Run the resulting system image: kvm -hda $HOME/baserock/cache/*.system -kernel ../bzImage -append 'root=/dev/sda1 init=/bin/sh quiet'

This will all become easier.