2013-09-27 09:23:50 +00:00
|
|
|
Morpheus is a statically linked musl based toy distro.
|
2013-09-06 11:05:08 +00:00
|
|
|
|
2013-09-19 15:22:07 +00:00
|
|
|
The base system includes sbase[1], ubase[2], sdhcp[3], smdev[4], mksh
|
2013-09-17 16:25:48 +00:00
|
|
|
as well as other tools.
|
|
|
|
|
2013-09-25 09:15:02 +00:00
|
|
|
To build the world use `./stage0'. You need an x86_64 host to build
|
2013-09-27 09:23:50 +00:00
|
|
|
morpheus. Please review the `prepare-env' script and adjust anything
|
|
|
|
needed.
|
2013-09-05 13:31:38 +00:00
|
|
|
|
2013-09-29 21:09:30 +00:00
|
|
|
Morpheus has been build-tested on Debian 7.0, Archlinux, Slackware and
|
2014-02-14 12:17:26 +00:00
|
|
|
Ubuntu 13.04.
|
2013-09-06 11:47:53 +00:00
|
|
|
|
2013-09-27 09:23:50 +00:00
|
|
|
To build specific packages:
|
2013-09-25 09:15:02 +00:00
|
|
|
|
2014-02-18 20:01:35 +00:00
|
|
|
./pkgbuild pkg1 pkg2 ...
|
2013-09-25 09:15:02 +00:00
|
|
|
|
2013-09-27 09:23:50 +00:00
|
|
|
After you've built stage0 you can create a bootable image:
|
2013-09-25 09:15:02 +00:00
|
|
|
|
2013-09-27 09:23:50 +00:00
|
|
|
sudo modprobe -r loop
|
|
|
|
sudo modprobe loop max_part=15 # to be done only once
|
|
|
|
sudo ./create-bootable
|
2013-09-17 15:16:00 +00:00
|
|
|
|
2014-02-18 20:08:58 +00:00
|
|
|
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
|
2014-02-20 14:57:45 +00:00
|
|
|
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
|
2013-09-27 09:23:50 +00:00
|
|
|
|
|
|
|
Login with root and an empty password.
|
2013-09-05 13:31:38 +00:00
|
|
|
|
2013-12-12 14:23:58 +00:00
|
|
|
To obtain binary images go to http://dl.2f30.org/morpheus-img/
|
|
|
|
|
2013-09-05 13:31:38 +00:00
|
|
|
Enjoy!
|
2013-09-17 16:25:48 +00:00
|
|
|
|
|
|
|
[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
|