From 32184bc4ca655f8d5cd8757ecdc74c42d5ed3efa Mon Sep 17 00:00:00 2001 From: sin Date: Wed, 18 Sep 2013 21:22:59 +0100 Subject: [PATCH] Don't pack ramdisk by default --- README | 5 +---- repack => mkinitrd | 0 qemu-run => qemu-run-initrd | 0 stage0 | 5 ----- 4 files changed, 1 insertion(+), 9 deletions(-) rename repack => mkinitrd (100%) rename qemu-run => qemu-run-initrd (100%) diff --git a/README b/README index 51bad8c..5e85d6e 100644 --- a/README +++ b/README @@ -6,15 +6,12 @@ as well as other tools. To build the world use `fakeroot ./stage0'. You need an x86_64 host to build morpheus. -To build a particular package use `fakeroot ./pkgbuild pkgpath'. You -might then need to repack the ramdisk with `fakeroot ./repack'. +To build a particular package use `fakeroot ./pkgbuild pkgpath'. After you've created the ramdisk you can build a bootable image with `sudo ./create-bootable'. You can dd this image to a USB stick if you need to. -Execute `qemu-run' (you will need vde_switch and slirpvde). - Login with `root' and an empty password. Enjoy! diff --git a/repack b/mkinitrd similarity index 100% rename from repack rename to mkinitrd diff --git a/qemu-run b/qemu-run-initrd similarity index 100% rename from qemu-run rename to qemu-run-initrd diff --git a/stage0 b/stage0 index 0853cbc..6381e1a 100755 --- a/stage0 +++ b/stage0 @@ -18,9 +18,4 @@ for pkg in $pkglist; do ./build pkgs/$pkg done -pushd $root -echo Creating ramdisk -find . | cpio --quiet -H newc -o | gzip -9 -n > ../morpheus.img -popd - echo OK!