temp local script to build till dron can handle the size
This commit is contained in:
parent
48e440c20d
commit
e95e641bbf
|
@ -0,0 +1,12 @@
|
||||||
|
#!/bin/bash
|
||||||
|
set -Eeuxo pipefail
|
||||||
|
|
||||||
|
TMP_DIR=$(mktemp -d)
|
||||||
|
cp -r debian $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
|
||||||
|
sudo ./create_pxeinitrd.sh
|
||||||
|
cd $TMP_DIR
|
||||||
|
dpkg-buildpackage --no-sign
|
||||||
|
scp -i ~/.ssh/pacakger -o StrictHostKeyChecking=no -P 22022 ../wit-pxeboot_*_all.deb root@cloud-api.v1.cloud.wit.com:/data/incoming
|
||||||
|
cd -
|
||||||
|
rm -r $TMP_DIR
|
Loading…
Reference in New Issue