Repository management fixes

Let's leave DEV kernels as is

Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>
This commit is contained in:
Igor Pecovnik 2020-06-18 17:39:09 +02:00
parent 273fb7dea4
commit 7b2dd51f86
No known key found for this signature in database
GPG Key ID: 93D6889F9F0E78D5

View File

@ -706,10 +706,9 @@ repo-manipulate() {
;;
purge)
for release in "${DISTROS[@]}"; do
aptly repo remove -config=${BLTPATH}config/aptly.conf "${release}" 'Name (% linux-*dev*)'
repo-remove-old-packages "$release" "armhf" "3"
repo-remove-old-packages "$release" "arm64" "3"
repo-remove-old-packages "$release" "all" "3"
repo-remove-old-packages "$release" "armhf" "5"
repo-remove-old-packages "$release" "arm64" "5"
repo-remove-old-packages "$release" "all" "5"
aptly -config="${SCRIPTPATH}"config/${REPO_CONFIG} -passphrase="${GPG_PASS}" publish update "${release}" > /dev/null 2>&1
done
exit 0