1
0
mirror of git://git.2f30.org/morpheus.git synced 2024-06-16 08:48:34 +00:00
Go to file
2014-02-28 12:16:21 +00:00
pkgs Don't create $root/emul/* at build time 2014-02-28 11:19:26 +00:00
stuff Bump up kernel to 3.10.32 2014-02-28 11:08:39 +00:00
build Simplify build script 2014-02-21 16:26:54 +00:00
clean Clean stuff/ as well 2014-02-20 14:41:46 +00:00
create-bootable Fix cp 2014-02-20 16:29:21 +00:00
LICENSE Add Daniel Bainton to LICENSE 2014-02-26 09:46:46 +00:00
mkinitrd Don't use pushd/popd in mkinitrd 2014-02-17 16:45:05 +00:00
pkgbuild Add sample usage to pkgbuild 2014-02-20 16:14:52 +00:00
prepare-env $top/stuff/bin does not exist anymore so don't add it to the PATH 2014-02-28 12:16:21 +00:00
prepare-root Create /mnt as well 2014-02-20 16:39:35 +00:00
qemu-mk-overlay Creates overlay images and boot scripts 2014-02-13 19:41:47 +02:00
qemu-run-initrd Clean up the build system a bit 2013-09-25 19:53:05 +01:00
README Builds on CRUX as well 2014-02-25 14:10:18 +00:00
stage0 Don't create $root/emul/* at build time 2014-02-28 11:19:26 +00:00
TODO Update TODO 2014-02-28 12:06:37 +00: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 CRUX,  Debian, Archlinux, Slackware
and Ubuntu 13.04.

To build specific packages:

  ./pkgbuild pkg1 pkg2 ...

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 4GB 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.  You can either do this before creating the image or
at the boot prompt as follows:

  bzImage root=/dev/sd[X]1 rootwait init=/init ro

To experiment with the image in qemu:

  qemu-system-x86_64 -hda morpheus-x86_64-0.0.img -enable-kvm -vga cirrus

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