From fad8c4da1bb740f86fa785a261f3b173bdf18228 Mon Sep 17 00:00:00 2001 From: Benjamin Sherman Date: Sun, 24 Nov 2024 16:15:18 -0600 Subject: [PATCH] fix: restore mergerfs RPM install (#220) --- ucore/install-ucore.sh | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/ucore/install-ucore.sh b/ucore/install-ucore.sh index cfe6a43..c210bb6 100755 --- a/ucore/install-ucore.sh +++ b/ucore/install-ucore.sh @@ -14,15 +14,7 @@ export IMAGE_NAME=ucore /ctx/packages.sh # install packages direct from github -# Fedora 41 packages missing for mergerfs -#/ctx/github-release-install.sh trapexit/mergerfs fc${RELEASE}.x86_64 -curl --fail --retry 5 --retry-delay 5 --retry-all-errors -sSL -o /tmp/mfs-api.json \ - "https://api.github.com/repos/trapexit/mergerfs/releases/latest" -MFS_TGZ_URL=$(cat /tmp/mfs-api.json | \ - jq -r --arg arch_filter "linux_amd64" \ - '.assets | sort_by(.created_at) | reverse | .[] | select(.name|test($arch_filter)) | select (.name|test("tar.gz$")) | .browser_download_url') -curl -sSL -o /tmp/mergerfs.tar.gz "${MFS_TGZ_URL}" -tar -zxvf /tmp/mergerfs.tar.gz -C /usr --strip-components=2 +/ctx/github-release-install.sh trapexit/mergerfs "fc${RELEASE}.x86_64" # tweak os-release sed -i '/^PRETTY_NAME/s/(uCore.*$/(uCore)"/' /usr/lib/os-release