mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-05-05 09:58:07 +02:00
build-from-source: use buildroot repo on RHEL 10
The buildroot package repositories are not present on RHEL 10 installs, so we can't build-from-source there. Drag in whichever latest buildroot is there. Hopefully that's good enough, it's roughly analogous to what we do for RHEL 8. https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/merge_requests/1994
This commit is contained in:
parent
126bfa29f8
commit
0b6c3af237
1 changed files with 4 additions and 0 deletions
|
|
@ -26,6 +26,10 @@ YUM_ARGS=()
|
|||
if grep -q --quiet Ootpa /etc/redhat-release; then
|
||||
YUM_ARGS+=("--enablerepo=rhel-8-buildroot")
|
||||
fi
|
||||
if grep -q --quiet Coughlan /etc/redhat-release; then
|
||||
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')
|
||||
fi
|
||||
|
||||
if [[ "$INSTALL_DEPENDENCIES" == yes ]]; then
|
||||
$SUDO yum install \
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue