From 7b2dd51f8649f930790427cbd2638d2bb4ce66e5 Mon Sep 17 00:00:00 2001 From: Igor Pecovnik Date: Thu, 18 Jun 2020 17:39:09 +0200 Subject: [PATCH] Repository management fixes Let's leave DEV kernels as is Signed-off-by: Igor Pecovnik --- lib/general.sh | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/lib/general.sh b/lib/general.sh index 28148f969e..7bed061baa 100644 --- a/lib/general.sh +++ b/lib/general.sh @@ -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