Skip to content

Commit 14cf0ef

Browse files
committed
TUN-8795: update createrepo to createrepo_c to fix the release_pkgs.py script
## Summary The default-flavour of cfsetup changed from bullseye to bookworm and in the latter the createrepo package was renamed to createrepo_c. Closes TUN-8795
1 parent a00c80f commit 14cf0ef

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

cfsetup.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,7 @@ bullseye: &bullseye
243243
- python3-setuptools
244244
- python3-pip
245245
- reprepro
246-
- createrepo
246+
- createrepo-c
247247
- python3-venv
248248
post-cache:
249249
- python3 -m venv env

release_pkgs.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ def create_deb_pkgs(self, release, deb_file):
113113

114114
def create_rpm_pkgs(self, artifacts_path, gpg_key_name):
115115
self._setup_rpm_pkg_directories(artifacts_path, gpg_key_name)
116-
p = Popen(["createrepo", "./rpm"], stdout=PIPE, stderr=PIPE)
116+
p = Popen(["createrepo_c", "./rpm"], stdout=PIPE, stderr=PIPE)
117117
out, err = p.communicate()
118118
if p.returncode != 0:
119119
print(f"create rpm_pkgs result => {out}, {err}")

0 commit comments

Comments
 (0)