package/libfuse: only install udev rules if (e)udev is enabled
PATCH 1/2 package/libfuse: only install udev rules if (e)udev is enabled
No point in installing udev rules if nothing will use it.
--- package/libfuse/libfuse.mk | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-)
package/libfuse/libfuse.mk +9 -2
@@ -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
Signature · 1 line
2.11.0
PATCH 1/2 package/libfuse: only install udev rules if (e)udev is enabled
Quoted 4 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Peter" == Peter Korsgaard <[email protected]> writes:
No point in installing udev rules if nothing will use it.
Signed-off-by Peter Korsgaard <[email protected]>
Committed to 2019.02.x, thanks.
Signature · 1 line
Bye, Peter Korsgaard
PATCH 1/2 package/libfuse: only install udev rules if (e)udev is enabled
In reply to Peter KorsgaardQuoted 6 lines · On Tue, 2 Apr 2019 22:56:01 +0200 Peter Korsgaard <[email protected]> wrote:
No point in installing udev rules if nothing will use it.
Signed-off-by Peter Korsgaard <[email protected]>--- package/libfuse/libfuse.mk | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-)
Both applied. Thanks!
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin Embedded Linux and Kernel engineering https://bootlin.com
PATCH 2/2 package/libfuse: bump version to 2.9.9
In reply to Peter KorsgaardContains 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
--- package/libfuse/libfuse.hash | 2 +- package/libfuse/libfuse.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
package/libfuse/libfuse.hash +1 -1
@@ -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
package/libfuse/libfuse.mk +1 -1
@@ -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
Signature · 1 line
2.11.0
PATCH 2/2 package/libfuse: bump version to 2.9.9
Quoted 5 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Peter" == Peter Korsgaard <[email protected]> writes:
Contains a number of fixes for issues discovered post-2.9.8. From the release notes:
Quoted 7 lines
- 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 <[email protected]>
Committed to 2019.02.x, thanks.
Signature · 1 line
Bye, Peter Korsgaard