adding a temp script till drone disk space issue is fixed
This commit is contained in:
parent
e95e641bbf
commit
b1d76a5171
|
@ -1,3 +1,4 @@
|
||||||
|
debian/changelog
|
||||||
initramfs/*
|
initramfs/*
|
||||||
newroot/*
|
newroot/*
|
||||||
files/vmlinuz
|
files/vmlinuz
|
||||||
|
|
|
@ -1,8 +1,9 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
set -Eeuxo pipefail
|
set -Eeuxo pipefail
|
||||||
|
|
||||||
TMP_DIR=$(mktemp -d)
|
export TMP_DIR=$(mktemp -d)
|
||||||
cp -r debian $TMP_DIR
|
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 <netops@wit.com> $(date -R)" >$TMP_DIR/debian/changelog
|
echo -e "wit-pxeboot (1.0.$(date +%Y.%m.%d.%H.%M)) unstable; urgency=low\n\n$(git log --format=" * %s")\n\n -- wit <netops@wit.com> $(date -R)" >$TMP_DIR/debian/changelog
|
||||||
sudo ./create_pxeinitrd.sh
|
sudo ./create_pxeinitrd.sh
|
||||||
cd $TMP_DIR
|
cd $TMP_DIR
|
||||||
|
|
Loading…
Reference in New Issue