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