mirror of
git://git.2f30.org/morpheus.git
synced 2024-06-30 18:31:20 +00:00
Clean up the build system a bit
This commit is contained in:
parent
d1982aa16c
commit
3d5b332b01
2
mkinitrd
2
mkinitrd
@ -2,4 +2,4 @@
|
|||||||
|
|
||||||
. ./prepare-env
|
. ./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
|
||||||
|
2
pkgbuild
2
pkgbuild
@ -5,8 +5,6 @@ if test -z "$1"; then
|
|||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
set -e -x
|
|
||||||
|
|
||||||
. ./prepare-env
|
. ./prepare-env
|
||||||
|
|
||||||
if [ $(uname -m) != $arch ]; then
|
if [ $(uname -m) != $arch ]; then
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
|
. ./prepare-env
|
||||||
|
|
||||||
vdesock="/tmp/morpheus-vde"
|
vdesock="/tmp/morpheus-vde"
|
||||||
|
|
||||||
ps -ef | grep vde_switch | grep "sock $vdesock" | grep -v grep > /dev/null || {
|
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 \
|
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
2
stage0
@ -3,8 +3,6 @@
|
|||||||
# This is the stage0 script, it prepares a basic usable system
|
# This is the stage0 script, it prepares a basic usable system
|
||||||
# in $root.
|
# in $root.
|
||||||
|
|
||||||
set -e -x
|
|
||||||
|
|
||||||
. ./prepare-env
|
. ./prepare-env
|
||||||
|
|
||||||
if [ $(uname -m) != $arch ]; then
|
if [ $(uname -m) != $arch ]; then
|
||||||
|
Loading…
Reference in New Issue
Block a user