Skip to content
Snippets Groups Projects
Commit c2194e4c authored by Maxim Cournoyer's avatar Maxim Cournoyer
Browse files

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
parent e3315a75
No related branches found
No related tags found
No related merge requests found
......@@ -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 ##
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment