summaryrefslogtreecommitdiff
path: root/tests.as-root/make-patch.script
diff options
context:
space:
mode:
authorRichard Maw <richard.maw@codethink.co.uk>2012-05-14 14:37:52 +0100
committerRichard Maw <richard.maw@codethink.co.uk>2012-05-14 16:35:51 +0100
commit68d045c68b51d1675b3aeb72c301b00a6af10021 (patch)
tree29ef68637dd47e2ba77a29491939453a34cb4463 /tests.as-root/make-patch.script
parentbc69a6e4f9eb6c9e317134aa6515349ae3ed9691 (diff)
downloadmorph-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/make-patch.script')
-rwxr-xr-xtests.as-root/make-patch.script19
1 files changed, 0 insertions, 19 deletions
diff --git a/tests.as-root/make-patch.script b/tests.as-root/make-patch.script
index 0151ef6c..172f3e07 100755
--- a/tests.as-root/make-patch.script
+++ b/tests.as-root/make-patch.script
@@ -19,25 +19,6 @@
set -eu
-# 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
-
# Make a stratum that include hello and kernel chunks.
cat <<EOF > "$DATADIR/morphs-repo/hello-stratum.morph"
{