* [Buildroot] [PATCH 1/1] package/libostree: libfuse is optional, not mandatory
@ 2021-02-09 20:07 Fabrice Fontaine
2021-02-09 20:31 ` Marcus Folkesson
2021-02-09 21:32 ` Peter Korsgaard
0 siblings, 2 replies; 3+ messages in thread
From: Fabrice Fontaine @ 2021-02-09 20:07 UTC (permalink / raw)
To: buildroot
libfuse is optional since its addition in version 2016.2 with
https://github.com/ostreedev/ostree/commit/e9ccdd2d007801ef25cc7283188942d791889c27
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
---
package/libostree/Config.in | 4 +---
package/libostree/libostree.mk | 9 ++++++++-
2 files changed, 9 insertions(+), 4 deletions(-)
diff --git a/package/libostree/Config.in b/package/libostree/Config.in
index 4a6ab5464f..14ae4da4c8 100644
--- a/package/libostree/Config.in
+++ b/package/libostree/Config.in
@@ -1,14 +1,12 @@
config BR2_PACKAGE_LIBOSTREE
bool "libostree"
depends on BR2_PACKAGE_LIBGPG_ERROR_ARCH_SUPPORTS # libgpgme, libgpg-error
- depends on !BR2_STATIC_LIBS # libfuse
depends on BR2_TOOLCHAIN_HAS_THREADS # libglib2
depends on BR2_USE_WCHAR # libglib2
- depends on BR2_USE_MMU # e2fsprogs, libfuse, libglib2, libgpgme
+ depends on BR2_USE_MMU # e2fsprogs, libglib2, libgpgme
# doesn't build with musl due to lack of TEMP_FAILURE_RETRY()
depends on !BR2_TOOLCHAIN_USES_MUSL
select BR2_PACKAGE_E2FSPROGS
- select BR2_PACKAGE_LIBFUSE
select BR2_PACKAGE_LIBGLIB2
select BR2_PACKAGE_LIBGPG_ERROR
select BR2_PACKAGE_LIBGPGME
diff --git a/package/libostree/libostree.mk b/package/libostree/libostree.mk
index 9406e023bd..7c887ebee8 100644
--- a/package/libostree/libostree.mk
+++ b/package/libostree/libostree.mk
@@ -10,7 +10,7 @@ LIBOSTREE_SITE = https://github.com/ostreedev/ostree/releases/download/v$(LIBOST
LIBOSTREE_LICENSE = LGPL-2.0+
LIBOSTREE_LICENSE_FILES = COPYING
-LIBOSTREE_DEPENDENCIES = e2fsprogs host-bison host-pkgconf libfuse libglib2 libgpg-error libgpgme xz
+LIBOSTREE_DEPENDENCIES = e2fsprogs host-bison host-pkgconf libglib2 libgpg-error libgpgme xz
LIBOSTREE_INSTALL_STAGING = YES
LIBOSTREE_CONF_ENV = \
@@ -69,6 +69,13 @@ else
LIBOSTREE_CONF_OPTS += --without-libarchive
endif
+ifeq ($(BR2_PACKAGE_LIBFUSE),y)
+LIBOSTREE_CONF_OPTS += --enable-rofiles-fuse
+LIBOSTREE_DEPENDENCIES += libfuse
+else
+LIBOSTREE_CONF_OPTS += --disable-rofiles-fuse
+endif
+
ifeq ($(BR2_PACKAGE_LIBSELINUX),y)
LIBOSTREE_CONF_OPTS += --with-selinux
LIBOSTREE_DEPENDENCIES += libselinux
--
2.29.2
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [Buildroot] [PATCH 1/1] package/libostree: libfuse is optional, not mandatory
2021-02-09 20:07 [Buildroot] [PATCH 1/1] package/libostree: libfuse is optional, not mandatory Fabrice Fontaine
@ 2021-02-09 20:31 ` Marcus Folkesson
2021-02-09 21:32 ` Peter Korsgaard
1 sibling, 0 replies; 3+ messages in thread
From: Marcus Folkesson @ 2021-02-09 20:31 UTC (permalink / raw)
To: buildroot
On Tue, Feb 09, 2021 at 09:07:57PM +0100, Fabrice Fontaine wrote:
> libfuse is optional since its addition in version 2016.2 with
> https://github.com/ostreedev/ostree/commit/e9ccdd2d007801ef25cc7283188942d791889c27
>
> Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Reviewed-by: Marcus Folkesson <marcus.folkesson@gmail.com>
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Buildroot] [PATCH 1/1] package/libostree: libfuse is optional, not mandatory
2021-02-09 20:07 [Buildroot] [PATCH 1/1] package/libostree: libfuse is optional, not mandatory Fabrice Fontaine
2021-02-09 20:31 ` Marcus Folkesson
@ 2021-02-09 21:32 ` Peter Korsgaard
1 sibling, 0 replies; 3+ messages in thread
From: Peter Korsgaard @ 2021-02-09 21:32 UTC (permalink / raw)
To: buildroot
>>>>> "Fabrice" == Fabrice Fontaine <fontaine.fabrice@gmail.com> writes:
> libfuse is optional since its addition in version 2016.2 with
> https://github.com/ostreedev/ostree/commit/e9ccdd2d007801ef25cc7283188942d791889c27
> Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Committed, thanks.
--
Bye, Peter Korsgaard
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2021-02-09 21:32 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-02-09 20:07 [Buildroot] [PATCH 1/1] package/libostree: libfuse is optional, not mandatory Fabrice Fontaine
2021-02-09 20:31 ` Marcus Folkesson
2021-02-09 21:32 ` Peter Korsgaard
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.