Skip to content

Commit 99f0dba

Browse files
committed
brl-fetch: centos: specify releasedir
1 parent 7abe8f9 commit 99f0dba

File tree

1 file changed

+1
-1
lines changed
  • src/slash-bedrock/share/brl-fetch/distros

1 file changed

+1
-1
lines changed

src/slash-bedrock/share/brl-fetch/distros/centos

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ fetch() {
188188
if [ "$(echo "${target_release}" | sed 's/-[a-z]*$//')" -lt 8 ]; then
189189
LC_ALL=C chroot "${bootstrap_dir}" "${package_manager}" --installroot=/target-root install -y rpm-build "${package_manager}"
190190
else
191-
LC_ALL=C chroot "${bootstrap_dir}" "${package_manager}" --installroot=/target-root install -y rpm-build "${package_manager}" centos-repos
191+
LC_ALL=C chroot "${bootstrap_dir}" "${package_manager}" --installroot=/target-root --releasever="${target_release}" install -y rpm-build "${package_manager}" centos-repos
192192
fi
193193
# Need to set database timestamps for pmm due to `dnf -C` usage
194194
umount -l "${bootstrap_dir}/var/cache/dnf" >/dev/null 2>&1 || true

0 commit comments

Comments
 (0)