0001-nilfs_cleanerd-link-dynamically.patch 1.1 KB

1234567891011121314151617181920212223242526272829303132
  1. From 7888f8f24ec08cdfd51929cde4e177396d7504e7 Mon Sep 17 00:00:00 2001
  2. From: Kurt Van Dijck <dev.kurt@vandijck-laurijssen.be>
  3. Date: Thu, 28 Dec 2017 20:22:00 +0100
  4. Subject: [PATCH] nilfs_cleanerd: link dynamically
  5. When nilfs_cleanerd does not run due to shared object problems,
  6. nilfs2 filesystems may run out of space soon.
  7. This logic that justified linking nilfs_cleanerd statically
  8. does IMO not apply to embedded systems built by buildroot.
  9. This commit therefore drops the static linking.
  10. Signed-off-by: Kurt Van Dijck <dev.kurt@vandijck-laurijssen.be>
  11. ---
  12. sbin/cleanerd/Makefile.am | 2 --
  13. 1 file changed, 2 deletions(-)
  14. diff --git a/sbin/cleanerd/Makefile.am b/sbin/cleanerd/Makefile.am
  15. index 3a5335d..06f0847 100644
  16. --- a/sbin/cleanerd/Makefile.am
  17. +++ b/sbin/cleanerd/Makefile.am
  18. @@ -9,8 +9,6 @@ nilfs_cleanerd_SOURCES = cleanerd.c cldconfig.c \
  19. nilfs_cleanerd_CFLAGS = -Wall
  20. nilfs_cleanerd_CPPFLAGS = -I$(top_srcdir)/include \
  21. -DSYSCONFDIR=\"$(sysconfdir)\"
  22. -# Use -static option to make nilfs_cleanerd self-contained.
  23. -nilfs_cleanerd_LDFLAGS = -static
  24. dist_sysconf_DATA = nilfs_cleanerd.conf
  25. --
  26. 1.8.5.rc3