diff options
author | Lars Wirzenius <lars.wirzenius@codethink.co.uk> | 2011-12-01 11:38:28 +0000 |
---|---|---|
committer | Lars Wirzenius <lars.wirzenius@codethink.co.uk> | 2011-12-01 11:38:28 +0000 |
commit | 618a2595b6a657ab9d7d48ea3634d8533c563dcf (patch) | |
tree | fde690b2c1a4f272eb5f1d6f45646d46e6e431e4 /tests/setup_once | |
parent | 209e86022f4ced8bfe05cd87af0cd7649e547ca2 (diff) | |
download | morph-618a2595b6a657ab9d7d48ea3634d8533c563dcf.tar.gz |
add simple system image build test
Diffstat (limited to 'tests/setup_once')
-rwxr-xr-x | tests/setup_once | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/tests/setup_once b/tests/setup_once index 41ef09f3..e969c1a3 100755 --- a/tests/setup_once +++ b/tests/setup_once @@ -56,6 +56,7 @@ cat <<EOF > hello.morph "gcc -o hello hello.c" ], "install-commands": [ + "install -d \\"\$DESTDIR\\"/etc", "install -d \\"\$DESTDIR\\"/bin", "install hello \\"\$DESTDIR\\"/bin/hello" ] @@ -78,6 +79,18 @@ cat <<EOF > hello-stratum.morph EOF git add hello-stratum.morph +cat <<EOF > hello-system.morph +{ + "name": "hello-system", + "kind": "system", + "disk-size": "1G", + "strata": [ + "hello-stratum" + ] +} +EOF +git add hello-system.morph + git commit --quiet -m "add a hello world program and morphs" git checkout --quiet master |