summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/e2fsprogs/e2fsprogs-1.42/remove.ldconfig.call.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-devtools/e2fsprogs/e2fsprogs-1.42/remove.ldconfig.call.patch')
-rw-r--r--meta/recipes-devtools/e2fsprogs/e2fsprogs-1.42/remove.ldconfig.call.patch28
1 files changed, 28 insertions, 0 deletions
diff --git a/meta/recipes-devtools/e2fsprogs/e2fsprogs-1.42/remove.ldconfig.call.patch b/meta/recipes-devtools/e2fsprogs/e2fsprogs-1.42/remove.ldconfig.call.patch
new file mode 100644
index 0000000000..0e5fd7d3fb
--- /dev/null
+++ b/meta/recipes-devtools/e2fsprogs/e2fsprogs-1.42/remove.ldconfig.call.patch
@@ -0,0 +1,28 @@
1When /etc/ld.so.cache is writeable by user running bitbake then it creates invalid cache
2(in my case libstdc++.so cannot be found after building zlib(-native) and I have to call
3touch */libstdc++.so && /sbin/ldconfig to fix it.
4
5So remove ldconfig call from make install-libs
6
7Upstream-Status: Inappropriate [disable feature]
8
9diff -uNr e2fsprogs-1.42.orig/lib/Makefile.elf-lib e2fsprogs-1.42/lib/Makefile.elf-lib
10--- e2fsprogs-1.42.orig/lib/Makefile.elf-lib 2010-06-14 05:07:36.000000000 +0200
11+++ e2fsprogs-1.42/lib/Makefile.elf-lib 2012-02-23 14:26:07.021272275 +0100
12@@ -52,8 +52,6 @@
13 $(LN_S) -f $(ELF_INSTALL_DIR)/$(ELF_SONAME) \
14 $(DESTDIR)$(libdir)/$(ELF_IMAGE).so; \
15 fi
16- $(E) " LDCONFIG"
17- $(Q) -$(LDCONFIG)
18
19 install-strip: install
20 $(E) " STRIP-LIB $(ELF_INSTALL_DIR)/$(ELF_LIB)"
21@@ -69,7 +67,6 @@
22 $(RM) -f $(DESTDIR)$(ELF_INSTALL_DIR)/$(ELF_LIB) \
23 $(DESTDIR)$(ELF_INSTALL_DIR)/$(ELF_SONAME) \
24 $(DESTDIR)$(libdir)/$(ELF_IMAGE).so
25- -$(LDCONFIG)
26
27 clean::
28 $(RM) -rf elfshared