Go to file
sin 1dc25793db Do not embed sinit.c - use our git repo 2014-02-06 11:35:43 +00:00
cross-scripts Remove useless packages 2014-02-05 14:23:57 +00:00
pkgs Do not embed sinit.c - use our git repo 2014-02-06 11:35:43 +00:00
stuff Do not embed sinit.c - use our git repo 2014-02-06 11:35:43 +00:00
DEPS Add irc from http://c9x.me/irc/ 2013-09-27 13:47:31 +01:00
README Add info about binary images 2014-02-03 10:37:28 +00:00
build Use set -e -x in ./build 2013-09-25 19:42:13 +01:00
clean Do not use cross/ just put everything inside the rootfs 2013-09-26 20:38:43 +01:00
create-bootable Don't follow symlinks in source 2014-02-03 11:13:32 +00:00
mkinitrd Clean up the build system a bit 2013-09-25 19:53:05 +01:00
pkgbuild Do not use cross/ just put everything inside the rootfs 2013-09-26 20:38:43 +01:00
prepare-env Add optldflags optcflags 2013-09-27 12:16:40 +01:00
prepare-root Do not use cross/ just put everything inside the rootfs 2013-09-26 20:38:43 +01:00
qemu-run-initrd Clean up the build system a bit 2013-09-25 19:53:05 +01:00
stage0 Hardcode the pkgs/ path only on the upper level 2014-02-05 16:08:52 +02:00

Morpheus is a statically linked musl based toy distro.

The base system includes  sbase[1], ubase[2], sdhcp[3], smdev[4], mksh
as well as other tools.

To build the  world use `./stage0'.  You need an  x86_64 host to build
morpheus.  Please review the  `prepare-env' script and adjust anything
needed.

Morpheus has been build-tested on Debian 7.0, Archlinux, Slackware and
Ubuntu 13.04.  It does *not* build with dash.

To build specific packages:

  ./pkgbuild pkgpath1 pkgpath2 ...

After you've built stage0 you can create a bootable image:

  sudo modprobe -r loop
  sudo modprobe loop max_part=15 # to be done only once
  sudo ./create-bootable

This creates a 512MB  image.  You can dd this image to  a USB stick if
you want to.  Make sure to change  the kernel command line to point it
to your root device.

Login with root and an empty password.

To obtain binary images go to http://dl.2f30.org/morpheus-img/

Enjoy!

[1] http://git.suckless.org/sbase
[2] http://git.suckless.org/ubase
[3] http://galos.no-ip.org/sdhcp
[4] http://git.2f30.org/smdev