21774: Add libfuse2 dependency to FUSE package 21774-package-dependencies
authorBrett Smith <brett.smith@curii.com>
Wed, 15 May 2024 14:53:27 +0000 (10:53 -0400)
committerBrett Smith <brett.smith@curii.com>
Wed, 15 May 2024 14:53:27 +0000 (10:53 -0400)
Otherwise the `fuse` dependency can be satisfied entirely by
libfuse3. arv-mount doesn't work if you happen to install this way.

Arvados-DCO-1.1-Signed-off-by: Brett Smith <brett.smith@curii.com>

services/fuse/fpm-info.sh

index 4d98172f8db647ddbd5f40a49315d001a1c96065..8ede312d86a1f44cf44654732ae4e4c9c081f145 100644 (file)
@@ -2,13 +2,19 @@
 #
 # SPDX-License-Identifier: AGPL-3.0
 
+# We depend on the fuse package because arv-mount may run the `fusermount` tool.
 fpm_depends+=(fuse)
 
 case "$TARGET" in
     centos*|rocky*)
+        # We depend on libfuse for llfuse.
+        # We should declare a libcurl dependency, but it's a little academic
+        # because rpm itself depends on it, so we can be pretty sure it's installed.
         fpm_depends+=(fuse-libs)
         ;;
     debian* | ubuntu*)
-        fpm_depends+=(libcurl3-gnutls)
+        # We depend on libfuse2 for llfuse.
+        # We depend on libcurl because the Python SDK does for its Keep client.
+        fpm_depends+=(libfuse2 libcurl3-gnutls)
         ;;
 esac