Skip to content
This repository has been archived by the owner on Jul 22, 2024. It is now read-only.

Commit

Permalink
fix: add coreos-pool repo to resolve kernel-devel packages (#18)
Browse files Browse the repository at this point in the history
  • Loading branch information
bsherman authored Jun 27, 2024
1 parent 6f22d5a commit 835f3e4
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions build-prep.sh
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,9 @@ find /tmp/
rpm-ostree install \
fedora-repos-archive

# required for some kernel-devel packages
curl -L -o /etc/yum.repos.d/fedora-coreos-pool.repo \
https://raw.githubusercontent.com/coreos/fedora-coreos-config/testing-devel/fedora-coreos-pool.repo

### PREPARE BUILD ENV
# stuff for akmods
Expand All @@ -49,6 +52,9 @@ rpm-ostree install \
libtool \
ncompress

# remove after installing kernel-devel packages
rm -f /etc/yum.repos.d/fedora-coreos-pool.repo

if [[ ! -s "/tmp/certs/private_key.priv" ]]; then
echo "WARNING: Using test signing key. Run './generate-akmods-key' for production builds."
cp /tmp/certs/private_key.priv{.test,}
Expand Down

0 comments on commit 835f3e4

Please sign in to comment.