From b1d76a5171ec1e10d3a6f0f09aac8f7bdeeab453 Mon Sep 17 00:00:00 2001 From: toby Date: Thu, 27 Sep 2018 12:47:26 +0000 Subject: [PATCH] adding a temp script till drone disk space issue is fixed --- .gitignore | 1 + drone-not-working.sh | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) mode change 100644 => 100755 drone-not-working.sh diff --git a/.gitignore b/.gitignore index 4566bdb..f1c414c 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ +debian/changelog initramfs/* newroot/* files/vmlinuz diff --git a/drone-not-working.sh b/drone-not-working.sh old mode 100644 new mode 100755 index d610370..acae60b --- a/drone-not-working.sh +++ b/drone-not-working.sh @@ -1,8 +1,9 @@ #!/bin/bash set -Eeuxo pipefail -TMP_DIR=$(mktemp -d) +export TMP_DIR=$(mktemp -d) cp -r debian $TMP_DIR +cp -r files $TMP_DIR echo -e "wit-pxeboot (1.0.$(date +%Y.%m.%d.%H.%M)) unstable; urgency=low\n\n$(git log --format=" * %s")\n\n -- wit $(date -R)" >$TMP_DIR/debian/changelog sudo ./create_pxeinitrd.sh cd $TMP_DIR