diff --git a/debian/wit-pxeboot.install b/debian/wit-pxeboot.install index 8fe0e7b..0fb286d 100644 --- a/debian/wit-pxeboot.install +++ b/debian/wit-pxeboot.install @@ -1,5 +1 @@ -files/vmlinuz /srv/tftp/wit-pxeboot/ -files/initramfs.gz /srv/tftp/wit-pxeboot/ -files/debcore /srv/tftp/wit-pxeconfig/ -files/install /srv/tftp/wit-pxeconfig/ -files/localboot /srv/tftp/wit-pxeconfig/ +files/* /srv/tftp/wit-pxeboot/ diff --git a/drone-not-working.sh b/drone-not-working.sh index acae60b..8ef391e 100755 --- a/drone-not-working.sh +++ b/drone-not-working.sh @@ -5,9 +5,9 @@ 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 +sudo TMP_DIR=$TMP_DIR ./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 +sudo dpkg-buildpackage --no-sign +scp -i ~/.ssh/packager -o StrictHostKeyChecking=no -P 22022 ../wit-pxeboot_*_all.deb root@cloud-api.v1.cloud.wit.com:/data/incoming cd - rm -r $TMP_DIR