diff options
author | Richard Maw <richard.maw@codethink.co.uk> | 2012-05-14 14:37:52 +0100 |
---|---|---|
committer | Richard Maw <richard.maw@codethink.co.uk> | 2012-05-14 16:35:51 +0100 |
commit | 68d045c68b51d1675b3aeb72c301b00a6af10021 (patch) | |
tree | 29ef68637dd47e2ba77a29491939453a34cb4463 /tests.as-root/setup | |
parent | bc69a6e4f9eb6c9e317134aa6515349ae3ed9691 (diff) | |
download | morph-68d045c68b51d1675b3aeb72c301b00a6af10021.tar.gz |
builder: log to warnings when artifacts overlap
It may be better to print it to the console, but that requires
getting self.msg set
Diffstat (limited to 'tests.as-root/setup')
-rwxr-xr-x | tests.as-root/setup | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/tests.as-root/setup b/tests.as-root/setup index 0b78ef9f..59e4a944 100755 --- a/tests.as-root/setup +++ b/tests.as-root/setup @@ -115,6 +115,24 @@ git add hello-system.morph git commit --quiet -m "add morphs" +# Make a dummy kernel chunk. +mkdir "$DATADIR/kernel-repo" +cat <<EOF > "$DATADIR/kernel-repo/linux.morph" +{ + "name": "linux", + "kind": "chunk", + "install-commands": [ + "mkdir -p \"\$DESTDIR/boot\"", + "touch \"\$DESTDIR\"/extlinux.conf", + "touch \"\$DESTDIR\"/boot/vmlinuz", + "touch \"\$DESTDIR\"/boot/System.map" + ] +} +EOF +"$SRCDIR/scripts/run-git-in" "$DATADIR/kernel-repo" init --quiet +"$SRCDIR/scripts/run-git-in" "$DATADIR/kernel-repo" add . +"$SRCDIR/scripts/run-git-in" "$DATADIR/kernel-repo" commit --quiet -m foo \ + > /dev/null # Create a morph configuration file. cat <<EOF > "$DATADIR/morph.conf" |