summaryrefslogtreecommitdiff
path: root/ci/gh-install.sh
diff options
context:
space:
mode:
authorLuca Bruno <luca.bruno@coreos.com>2022-01-04 10:27:14 +0000
committerGitHub <noreply@github.com>2022-01-04 10:27:14 +0000
commita3555f4d1239c1c1aab356a5979e15665fef6ad6 (patch)
treefd89ec82bd474ba7e997950e435ed57801621552 /ci/gh-install.sh
parent4d47733f98f98d14a5e60d8015b90d0921602df5 (diff)
parent43859b58f6b76e958e54ec5d3d1250d906ce12bf (diff)
downloadostree-a3555f4d1239c1c1aab356a5979e15665fef6ad6.tar.gz
Merge pull request #2376 from smcv/fuse3
rofiles-fuse: Build using FUSE 3 if possible, falling back to FUSE 2
Diffstat (limited to 'ci/gh-install.sh')
-rwxr-xr-xci/gh-install.sh13
1 files changed, 13 insertions, 0 deletions
diff --git a/ci/gh-install.sh b/ci/gh-install.sh
index 9902a94e..f39331b1 100755
--- a/ci/gh-install.sh
+++ b/ci/gh-install.sh
@@ -43,6 +43,19 @@ case "$ID" in
# Ubuntu package data:
# https://packages.ubuntu.com/source/impish/ostree
#
+ # Use libfuse3-dev unless otherwise specified
+ case " $* " in
+ (*\ libfuse-dev\ *)
+ ;;
+
+ (*\ libfuse3-dev\ *)
+ ;;
+
+ (*)
+ set -- "$@" libfuse3-dev
+ ;;
+ esac
+
# TODO: fetch this list from the Debian packaging git repository?
# First construct a list of Build-Depends common to all