mirror of
https://github.com/optim-enterprises-bv/coreos.git
synced 2025-11-02 19:07:52 +00:00
fix: use fedora release for mergerfs install (#166)
This commit is contained in:
@@ -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
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user