ci: disable Fedora OpenH264 repo in cross build
This commit is contained in:
@@ -25,6 +25,9 @@ jobs:
|
|||||||
sed -e 's|^metalink=|#metalink=|g' \
|
sed -e 's|^metalink=|#metalink=|g' \
|
||||||
-e 's|^#baseurl=http://download.example/pub/fedora/linux|baseurl=https://mirrors.tuna.tsinghua.edu.cn/fedora|g' \
|
-e 's|^#baseurl=http://download.example/pub/fedora/linux|baseurl=https://mirrors.tuna.tsinghua.edu.cn/fedora|g' \
|
||||||
-i /etc/yum.repos.d/fedora*.repo
|
-i /etc/yum.repos.d/fedora*.repo
|
||||||
|
if [ -f /etc/yum.repos.d/fedora-cisco-openh264.repo ]; then
|
||||||
|
sed -i 's|^enabled=1|enabled=0|g' /etc/yum.repos.d/fedora-cisco-openh264.repo
|
||||||
|
fi
|
||||||
dnf makecache --refresh -y
|
dnf makecache --refresh -y
|
||||||
|
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
|
|||||||
Reference in New Issue
Block a user