X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/m1-debian/blobdiff_plain/36d068ea86533b1fd4eae14df2dc245ba61071a8..6de0ead9233df8d28b0d2c580aee7597f2349c4c:/bootstrap.sh?ds=sidebyside diff --git a/bootstrap.sh b/bootstrap.sh index 210a0b9..931d5fe 100644 --- a/bootstrap.sh +++ b/bootstrap.sh @@ -142,8 +142,8 @@ build_di_stick() sudo rm -rf initrd; mkdir initrd; (cd initrd; gzip -cd ../initrd.gz | sudo cpio -imd --quiet) sudo rm -rf initrd/lib/modules/* sudo cp -a testing/lib/modules/* initrd/lib/modules/ - sudo cp ../files/preseed.cfg initrd/ - sudo cp ../files/wpa.conf initrd/etc/ + sudo cp ../files/wifi.sh initrd/ + sudo cp ../files/boot.sh initrd/ (cd initrd; find . | cpio --quiet -H newc -o | pigz > ../di-stick/initrd.gz) sudo rm -rf initrd cp testing/usr/lib/grub/arm64-efi/monolithic/grubaa64.efi di-stick/efi/boot/bootaa64.efi @@ -160,7 +160,7 @@ upload() for FILE in "$@"; do MYCURLARGS="$MYCURLARGS -F file=@${FILE}"; done; - curl -n -D - $MYCURLARGS https://upload.glanzmann.de/ | grep ^x-location | awk '{print $2}' + curl -4 -n -D - $MYCURLARGS https://upload.glanzmann.de/ | grep ^x-location | awk '{print $2}' } upload_artefacts()