From c2194e4cbc7e18f79284f48abe3da7f57b1b6c0f Mon Sep 17 00:00:00 2001 From: Maxim Cournoyer <maxim.cournoyer@savoirfairelinux.com> Date: Thu, 29 Jul 2021 22:38:54 -0400 Subject: [PATCH] scripts: deploy: Upgrade to newer createrepo_c. The old 'createrepo' has been deprecated and is no longer offered in current distributions. Its replacement should be mostly backward compatible. * scripts/deploy-packages.sh: List requirements. (enabled)<createrepo>: Adjust to use createrepo_c'. Change-Id: Ie3e658dd1ea685558b07d6c9b969be7ad3a98050 --- scripts/deploy-packages.sh | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/scripts/deploy-packages.sh b/scripts/deploy-packages.sh index ca3e413d..3847840b 100755 --- a/scripts/deploy-packages.sh +++ b/scripts/deploy-packages.sh @@ -23,6 +23,13 @@ # This script syncs and deploys packages from packages/distro. # It should be run from the project root directory. # +# Requirements +# - createrepo-c +# - dpkg +# - reprepro +# - rpm +# - rsync +# - snapcraft # Exit immediately if a command exits with a non-zero status set -e @@ -183,7 +190,7 @@ EOF done # Create the repo - createrepo --update ${DISTRIBUTION_REPOSITORY_FOLDER} + createrepo_c --update ${DISTRIBUTION_REPOSITORY_FOLDER} ####################################### ## create the manual download folder ## -- GitLab