Skip to content

Commit

Permalink
fix: use fedora release for mergerfs install (#166)
Browse files Browse the repository at this point in the history
  • Loading branch information
bsherman authored Jun 17, 2024
1 parent 0d69adb commit 7e2464f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion ucore/install-ucore.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

set -ouex pipefail

RELEASE="$(rpm -E %fedora)"

## CONDITIONAL: install sanoid if ZFS
if [[ "-zfs" == "${ZFS_TAG}" ]]; then
rpm-ostree install sanoid
Expand All @@ -12,7 +14,7 @@ export IMAGE_NAME=ucore
/tmp/packages.sh

# install packages direct from github
/tmp/github-release-install.sh trapexit/mergerfs fc.x86_64
/tmp/github-release-install.sh trapexit/mergerfs fc${RELEASE}.x86_64

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

0 comments on commit 7e2464f

Please sign in to comment.