Add Copr xlibre-xserver repo to mock chroot for build deps
sonic-win.spec requires xlibre-xserver-devel which is only available in the xlibre Copr repository. Download and inject this alongside the existing Forgejo package registry repo before mock --rebuild.
This commit is contained in:
parent
de70b9ccc0
commit
b868b75011
1 changed files with 3 additions and 2 deletions
|
|
@ -53,10 +53,11 @@ jobs:
|
|||
mock \
|
||||
--root alma+epel-10-x86_64 \
|
||||
--init
|
||||
REPO_CONTENT=$(curl -fsSL https://pc-rytteren.dk/forge/api/packages/anders/rpm.repo)
|
||||
FORGEJO_REPO=$(curl -fsSL https://pc-rytteren.dk/forge/api/packages/anders/rpm.repo)
|
||||
COPR_REPO=$(curl -fsSL "https://copr.fedorainfracloud.org/coprs/g/xlibre/xlibre-xserver/repo/rhel+epel-10/group_xlibre-xlibre-xserver-rhel+epel-10.repo")
|
||||
mock \
|
||||
--root alma+epel-10-x86_64 \
|
||||
--shell "mkdir -p /etc/yum.repos.d && echo '${REPO_CONTENT}' > /etc/yum.repos.d/sonicde.repo"
|
||||
--shell "mkdir -p /etc/yum.repos.d && echo '${FORGEJO_REPO}' > /etc/yum.repos.d/sonicde.repo && echo '${COPR_REPO}' > /etc/yum.repos.d/xlibre-xserver.repo"
|
||||
mock \
|
||||
--root alma+epel-10-x86_64 \
|
||||
--resultdir "${HOME}/mock-results" \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue