Skip to content

Commit

Permalink
fix: add and cleanup ublue-os/staging repo
Browse files Browse the repository at this point in the history
  • Loading branch information
p5 authored Aug 18, 2024
1 parent a088616 commit 277a277
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
13 changes: 13 additions & 0 deletions scripts/_base/002-repos.sh
Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,16 @@ repo_gpgcheck=0
enabled=1
enabled_metadata=1
EOF

cat << EOF > /etc/yum.repos.d/ublue-os-staging.repo
[copr:copr.fedorainfracloud.org:ublue-os:staging]
name=Copr repo for staging owned by ublue-os
baseurl=https://download.copr.fedorainfracloud.org/results/ublue-os/staging/fedora-\$releasever-\$basearch/
type=rpm-md
skip_if_unavailable=True
gpgcheck=1
gpgkey=https://download.copr.fedorainfracloud.org/results/ublue-os/staging/pubkey.gpg
repo_gpgcheck=0
enabled=1
enabled_metadata=1
EOF
2 changes: 1 addition & 1 deletion scripts/cleanup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@ dracut --kver "$QUALIFIED_KERNEL" --reproducible -vf "/lib/modules/$QUALIFIED_KE

# Disable RPM repos
sed -i 's/enabled=1/enabled=0/g' /etc/yum.repos.d/rpmfusion-{free,nonfree}{,-updates,-updates-testing}.repo
sed -i 's/enabled=1/enabled=0/g' /etc/yum.repos.d/kylegospo-oversteer.repo
sed -i 's/enabled=1/enabled=0/g' /etc/yum.repos.d/{kylegospo-oversteer,ublue-os-staging}.repo

0 comments on commit 277a277

Please sign in to comment.