Skip to content

Commit

Permalink
fix: add coreos pool repo to mitigate dependancy build issue (#163)
Browse files Browse the repository at this point in the history
  • Loading branch information
bsherman authored May 20, 2024
1 parent daf8bd6 commit 0d69adb
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions ucore/install-ucore-hci.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,15 @@

set -ouex pipefail

# add the coreos pool repo for package versions which can't be found elswehere
curl -L https://raw.githubusercontent.com/coreos/fedora-coreos-config/testing-devel/fedora-coreos-pool.repo -o /etc/yum.repos.d/fedora-coreos-pool.repo

# install packages.json stuffs
export IMAGE_NAME=ucore-hci
/tmp/packages.sh

# remove coreos pool repo
rm -f /etc/yum.repos.d/fedora-coreos-pool.repo

# tweak os-release
sed -i '/^PRETTY_NAME/s/(uCore.*$/(uCore HCI)"/' /usr/lib/os-release

0 comments on commit 0d69adb

Please sign in to comment.