1
0
mirror of git://git.2f30.org/morpheus.git synced 2024-06-24 12:48:34 +00:00

Clean up the build system a bit

This commit is contained in:
sin 2013-09-25 17:04:00 +01:00
parent d1982aa16c
commit 3d5b332b01
4 changed files with 4 additions and 6 deletions

@ -2,4 +2,4 @@
. ./prepare-env
pushd $root && find . | cpio --quiet -H newc -o | gzip -9 -n > ../morpheus.img && popd
pushd $root && find . | cpio --quiet -H newc -o | gzip -9 -n > ../morpheus-initrd.img && popd

@ -5,8 +5,6 @@ if test -z "$1"; then
exit 1
fi
set -e -x
. ./prepare-env
if [ $(uname -m) != $arch ]; then

@ -1,5 +1,7 @@
#!/bin/sh
. ./prepare-env
vdesock="/tmp/morpheus-vde"
ps -ef | grep vde_switch | grep "sock $vdesock" | grep -v grep > /dev/null || {
@ -8,4 +10,4 @@ ps -ef | grep vde_switch | grep "sock $vdesock" | grep -v grep > /dev/null || {
}
qemu-system-x86_64 -enable-kvm -smp 2 -m 1024 -net nic,model=ne2k_pci \
-net vde,sock="${vdesock}" -kernel root/boot/bzImage -initrd morpheus.img -append "quiet"
-net vde,sock="${vdesock}" -kernel $root/boot/bzImage -initrd morpheus-initrd.img -append "quiet"

2
stage0

@ -3,8 +3,6 @@
# This is the stage0 script, it prepares a basic usable system
# in $root.
set -e -x
. ./prepare-env
if [ $(uname -m) != $arch ]; then