* [Buildroot] [PATCH 1/2] package/libfuse: only install udev rules if (e)udev is enabled
@ 2019-04-02 20:56 Peter Korsgaard
2019-04-02 20:56 ` [Buildroot] [PATCH 2/2] package/libfuse: bump version to 2.9.9 Peter Korsgaard
` (2 more replies)
0 siblings, 3 replies; 5+ messages in thread
From: Peter Korsgaard @ 2019-04-02 20:56 UTC (permalink / raw)
To: buildroot
No point in installing udev rules if nothing will use it.
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
---
package/libfuse/libfuse.mk | 11 +++++++++--
1 file changed, 9 insertions(+), 2 deletions(-)
diff --git a/package/libfuse/libfuse.mk b/package/libfuse/libfuse.mk
index 84027ebedb..ab0131b057 100644
--- a/package/libfuse/libfuse.mk
+++ b/package/libfuse/libfuse.mk
@@ -17,11 +17,18 @@ LIBFUSE_CONF_OPTS = \
--enable-util \
UDEV_RULES_PATH=/lib/udev/rules.d
+ifeq ($(BR2_PACKAGE_HAS_UDEV),y)
+define LIBFUSE_INSTALL_UDEV
+ mkdir -p $(TARGET_DIR)/lib/udev/rules.d
+ cp $(STAGING_DIR)/lib/udev/rules.d/*-fuse.rules $(TARGET_DIR)/lib/udev/rules.d
+endef
+
+LIBFUSE_POST_INSTALL_TARGET_HOOKS += LIBFUSE_INSTALL_UDEV
+endif
+
define LIBFUSE_INSTALL_TARGET_CMDS
cp -dpf $(STAGING_DIR)/usr/bin/fusermount $(TARGET_DIR)/usr/bin/
cp -dpf $(STAGING_DIR)/usr/lib/libfuse.so* $(TARGET_DIR)/usr/lib/
- mkdir -p $(TARGET_DIR)/lib/udev/rules.d
- cp $(STAGING_DIR)/lib/udev/rules.d/*-fuse.rules $(TARGET_DIR)/lib/udev/rules.d
endef
define LIBFUSE_DEVICES
--
2.11.0
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [Buildroot] [PATCH 2/2] package/libfuse: bump version to 2.9.9
2019-04-02 20:56 [Buildroot] [PATCH 1/2] package/libfuse: only install udev rules if (e)udev is enabled Peter Korsgaard
@ 2019-04-02 20:56 ` Peter Korsgaard
2019-04-05 20:34 ` Peter Korsgaard
2019-04-03 19:40 ` [Buildroot] [PATCH 1/2] package/libfuse: only install udev rules if (e)udev is enabled Thomas Petazzoni
2019-04-05 20:34 ` Peter Korsgaard
2 siblings, 1 reply; 5+ messages in thread
From: Peter Korsgaard @ 2019-04-02 20:56 UTC (permalink / raw)
To: buildroot
Contains a number of fixes for issues discovered post-2.9.8. From the
release notes:
- Fixed readdir bug when non-zero offsets are given to filler and the
filesystem client, after reading a whole directory, re-reads it from a
non-zero offset e.g. by calling seekdir followed by readdir.
https://github.com/libfuse/libfuse/releases/tag/fuse-2.9.9
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
---
package/libfuse/libfuse.hash | 2 +-
package/libfuse/libfuse.mk | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/package/libfuse/libfuse.hash b/package/libfuse/libfuse.hash
index 3d1b973071..f522325945 100644
--- a/package/libfuse/libfuse.hash
+++ b/package/libfuse/libfuse.hash
@@ -1,5 +1,5 @@
# Locally calculated after checking pgp signature
-sha256 5e84f81d8dd527ea74f39b6bc001c874c02bad6871d7a9b0c14efb57430eafe3 fuse-2.9.8.tar.gz
+sha256 d0e69d5d608cc22ff4843791ad097f554dd32540ddc9bed7638cc6fea7c1b4b5 fuse-2.9.9.tar.gz
# Hash for license files:
sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING
diff --git a/package/libfuse/libfuse.mk b/package/libfuse/libfuse.mk
index ab0131b057..074dc59886 100644
--- a/package/libfuse/libfuse.mk
+++ b/package/libfuse/libfuse.mk
@@ -4,7 +4,7 @@
#
################################################################################
-LIBFUSE_VERSION = 2.9.8
+LIBFUSE_VERSION = 2.9.9
LIBFUSE_SOURCE = fuse-$(LIBFUSE_VERSION).tar.gz
LIBFUSE_SITE = https://github.com/libfuse/libfuse/releases/download/fuse-$(LIBFUSE_VERSION)
LIBFUSE_LICENSE = GPL-2.0, LGPL-2.1
--
2.11.0
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [Buildroot] [PATCH 1/2] package/libfuse: only install udev rules if (e)udev is enabled
2019-04-02 20:56 [Buildroot] [PATCH 1/2] package/libfuse: only install udev rules if (e)udev is enabled Peter Korsgaard
2019-04-02 20:56 ` [Buildroot] [PATCH 2/2] package/libfuse: bump version to 2.9.9 Peter Korsgaard
@ 2019-04-03 19:40 ` Thomas Petazzoni
2019-04-05 20:34 ` Peter Korsgaard
2 siblings, 0 replies; 5+ messages in thread
From: Thomas Petazzoni @ 2019-04-03 19:40 UTC (permalink / raw)
To: buildroot
On Tue, 2 Apr 2019 22:56:01 +0200
Peter Korsgaard <peter@korsgaard.com> wrote:
> No point in installing udev rules if nothing will use it.
>
> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
> ---
> package/libfuse/libfuse.mk | 11 +++++++++--
> 1 file changed, 9 insertions(+), 2 deletions(-)
Both applied. Thanks!
Thomas
--
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Buildroot] [PATCH 1/2] package/libfuse: only install udev rules if (e)udev is enabled
2019-04-02 20:56 [Buildroot] [PATCH 1/2] package/libfuse: only install udev rules if (e)udev is enabled Peter Korsgaard
2019-04-02 20:56 ` [Buildroot] [PATCH 2/2] package/libfuse: bump version to 2.9.9 Peter Korsgaard
2019-04-03 19:40 ` [Buildroot] [PATCH 1/2] package/libfuse: only install udev rules if (e)udev is enabled Thomas Petazzoni
@ 2019-04-05 20:34 ` Peter Korsgaard
2 siblings, 0 replies; 5+ messages in thread
From: Peter Korsgaard @ 2019-04-05 20:34 UTC (permalink / raw)
To: buildroot
>>>>> "Peter" == Peter Korsgaard <peter@korsgaard.com> writes:
> No point in installing udev rules if nothing will use it.
> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Committed to 2019.02.x, thanks.
--
Bye, Peter Korsgaard
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Buildroot] [PATCH 2/2] package/libfuse: bump version to 2.9.9
2019-04-02 20:56 ` [Buildroot] [PATCH 2/2] package/libfuse: bump version to 2.9.9 Peter Korsgaard
@ 2019-04-05 20:34 ` Peter Korsgaard
0 siblings, 0 replies; 5+ messages in thread
From: Peter Korsgaard @ 2019-04-05 20:34 UTC (permalink / raw)
To: buildroot
>>>>> "Peter" == Peter Korsgaard <peter@korsgaard.com> writes:
> Contains a number of fixes for issues discovered post-2.9.8. From the
> release notes:
> - Fixed readdir bug when non-zero offsets are given to filler and the
> filesystem client, after reading a whole directory, re-reads it from a
> non-zero offset e.g. by calling seekdir followed by readdir.
> https://github.com/libfuse/libfuse/releases/tag/fuse-2.9.9
> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Committed to 2019.02.x, thanks.
--
Bye, Peter Korsgaard
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2019-04-05 20:34 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-04-02 20:56 [Buildroot] [PATCH 1/2] package/libfuse: only install udev rules if (e)udev is enabled Peter Korsgaard
2019-04-02 20:56 ` [Buildroot] [PATCH 2/2] package/libfuse: bump version to 2.9.9 Peter Korsgaard
2019-04-05 20:34 ` Peter Korsgaard
2019-04-03 19:40 ` [Buildroot] [PATCH 1/2] package/libfuse: only install udev rules if (e)udev is enabled Thomas Petazzoni
2019-04-05 20:34 ` 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.