build-from-source: use non-beta buildroot repo for RHEL10

Otherwise the script tries to install packages from both beta and
non-beta repositories, which causes conflicts:

 Problem: conflicting requests
  - nothing provides libndp = 1.9-1.el10 needed by libndp-devel-1.9-1.el10.x86_64 from buildroot
This commit is contained in:
Beniamino Galvani 2025-03-05 20:45:50 +01:00
parent f82e5ccdcf
commit 6f3c2b2cd9

View file

@ -33,7 +33,7 @@ if grep -q --quiet Coughlan /etc/redhat-release; then
# And for RHEL10
else
rpmkeys --import /etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release
YUM_ARGS+=('--repofrompath=buildroot,http://download.devel.redhat.com/rhel-$releasever/nightly/BUILDROOT-$releasever-Public-Beta/latest-BUILDROOT-$releasever-RHEL-$releasever/compose/Buildroot/$basearch/os')
YUM_ARGS+=('--repofrompath=buildroot,http://download.devel.redhat.com/rhel-$releasever/nightly/BUILDROOT-$releasever/latest-BUILDROOT-$releasever-RHEL-$releasever/compose/Buildroot/$basearch/os')
fi
YUM_ARGS+=('--nogpg')
fi