#!/bin/bash

dpkg-scanpackages -m --arch amd64 debs/jammy/ > dists/jammy/calltek/binary-amd64/Packages
cat dists/jammy/calltek/binary-amd64/Packages  | gzip -9 > dists/jammy/calltek/binary-amd64/Packages.gz

dpkg-scanpackages -m --arch all debs/jammy/ > dists/jammy/calltek/binary-all/Packages
cat dists/jammy/calltek/binary-all/Packages  | gzip -9 > dists/jammy/calltek/binary-all/Packages.gz
dpkg-scanpackages -m --arch arm64 debs/jammy/ > dists/jammy/calltek/binary-arm64/Packages
cat dists/jammy/calltek/binary-arm64/Packages  | gzip -9 > dists/jammy/calltek/binary-arm64/Packages.gz


cd dists/jammy
bash ../../generate-releaseUbi22.sh > Release
bash ../../genGpg.sh 
