mirror of
https://github.com/KDE/kde-linux.git
synced 2026-04-18 13:40:01 -04:00
generate a desync index for the erofs
allows to desync... in theory anyway
This commit is contained in:
3
build.sh
3
build.sh
@@ -148,6 +148,9 @@ systemd-repart --no-pager --empty=allow --size=auto --dry-run=no --root=kde-linu
|
||||
# Create a torrent for the image
|
||||
./torrent-create.rb "$VERSION" "$OUTPUT" "$IMG"
|
||||
|
||||
go install -v github.com/folbricht/desync/cmd/desync@latest
|
||||
~/go/bin/desync make "$ROOTFS_EROFS.caibx" "$ROOTFS_EROFS"
|
||||
|
||||
# TODO before accepting new uploads perform sanity checks on the artifacts (e.g. the tar being well formed)
|
||||
|
||||
# efi images and torrents are 700, make them readable so the server can serve them
|
||||
|
||||
@@ -33,8 +33,9 @@ sha256sum -- *.raw >> SHA256SUMS
|
||||
sha256sum -- *.tar.zst >> SHA256SUMS
|
||||
sha256sum -- *.torrent >> SHA256SUMS
|
||||
sha256sum -- *.erofs >> SHA256SUMS
|
||||
sha256sum -- *.caibx >> SHA256SUMS
|
||||
|
||||
gpg --homedir="$GNUPGHOME" --output SHA256SUMS.gpg --detach-sign SHA256SUMS
|
||||
|
||||
scp -i "$SSH_IDENTITY" ./*.efi ./*.raw ./*.tar.zst ./*.torrent ./*.erofs "$REMOTE"
|
||||
scp -i "$SSH_IDENTITY" ./*.efi ./*.raw ./*.tar.zst ./*.torrent ./*.erofs ./*.caibx "$REMOTE"
|
||||
scp -i "$SSH_IDENTITY" SHA256SUMS SHA256SUMS.gpg "$REMOTE" # upload as last artifact to finalize the upload
|
||||
|
||||
Reference in New Issue
Block a user