From: Thomas Glanzmann Date: Wed, 16 Feb 2022 20:42:47 +0000 (+0100) Subject: increas publish speed even more X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/m1-debian/commitdiff_plain/3b4d866fc81f612c73a64c74ea70715d89c7daeb?ds=inline increas publish speed even more --- diff --git a/bootstrap.sh b/bootstrap.sh index 3939863..387f661 100644 --- a/bootstrap.sh +++ b/bootstrap.sh @@ -156,11 +156,11 @@ build_di_stick() (cd di-stick; tar cf ../m1-d-i.tar .) } -upload_artefacts() +publish_artefacts() { export KERNEL=`ls -1rt linux-image*.deb | grep -v dbg | tail -1` cp ${KERNEL} k.deb - scp m1-d-i.tar m1.tgz asahi-debian-live.tar u-boot.bin u-boot.macho di-stick/vmlinuz k.deb root@tg.st:/u/ + sudo mv m1-d-i.tar m1.tgz asahi-debian-live.tar u-boot.bin u-boot.macho di-stick/vmlinuz k.deb /u/ } mkdir -p build @@ -175,4 +175,4 @@ build_rootfs build_live_stick build_di_stick build_dd -upload_artefacts +publish_artefacts