e2fsprogs : upgrade to 1.42.6
authorAndrei Dinu <andrei.adrianx.dinu@intel.com>
Wed, 30 Jan 2013 14:47:56 +0000 (16:47 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 1 Feb 2013 15:54:31 +0000 (15:54 +0000)
 - removed the usage of the patches already contained in the new version
 - adapted patch remove.ldconfig.call.patch so that it applies on new version

(From OE-Core rev: 7ceba1eb102b3f855f561764833f8a7a407b7785)

Signed-off-by: Andrei Dinu <andrei.adrianx.dinu@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-devtools/e2fsprogs/e2fsprogs-1.42.1/remove.ldconfig.call.patch [deleted file]
meta/recipes-devtools/e2fsprogs/e2fsprogs-1.42.6/acinclude.m4 [moved from meta/recipes-devtools/e2fsprogs/e2fsprogs-1.42.1/acinclude.m4 with 100% similarity]
meta/recipes-devtools/e2fsprogs/e2fsprogs-1.42.6/fallocate.patch [moved from meta/recipes-devtools/e2fsprogs/e2fsprogs-1.42.1/fallocate.patch with 100% similarity]
meta/recipes-devtools/e2fsprogs/e2fsprogs-1.42.6/mkdir.patch [moved from meta/recipes-devtools/e2fsprogs/e2fsprogs-1.42.1/mkdir.patch with 100% similarity]
meta/recipes-devtools/e2fsprogs/e2fsprogs-1.42.6/remove.ldconfig.call.patch [new file with mode: 0644]
meta/recipes-devtools/e2fsprogs/e2fsprogs_1.42.6.bb [moved from meta/recipes-devtools/e2fsprogs/e2fsprogs_1.42.1.bb with 90% similarity]

diff --git a/meta/recipes-devtools/e2fsprogs/e2fsprogs-1.42.1/remove.ldconfig.call.patch b/meta/recipes-devtools/e2fsprogs/e2fsprogs-1.42.1/remove.ldconfig.call.patch
deleted file mode 100644 (file)
index 7be4c3e..0000000
+++ /dev/null
@@ -1,33 +0,0 @@
-When /etc/ld.so.cache is writeable by user running bitbake then it
-creates invalid cache (in my case libstdc++.so cannot be found after
-building zlib(-native) and I have to call touch */libstdc++.so &&
-/sbin/ldconfig to fix it.
-
-So remove ldconfig call from make install-libs
-
-Patch authored by Martin Jansa.
-
-Upstream-Status: Inappropriate [disable feature]
-
-Signed-off-by: Scott Garman <scott.a.garman@intel.com>
-
-diff -uNr e2fsprogs-1.42.orig/lib/Makefile.elf-lib e2fsprogs-1.42/lib/Makefile.elf-lib
---- e2fsprogs-1.42.orig/lib/Makefile.elf-lib   2010-06-14 05:07:36.000000000 +0200
-+++ e2fsprogs-1.42/lib/Makefile.elf-lib        2012-02-23 14:26:07.021272275 +0100
-@@ -52,8 +52,6 @@
-               $(LN_S) -f $(ELF_INSTALL_DIR)/$(ELF_SONAME) \
-                       $(DESTDIR)$(libdir)/$(ELF_IMAGE).so; \
-       fi                      
--      $(E) "  LDCONFIG"
--      $(Q) -$(LDCONFIG)
- install-strip: install
-       $(E) "  STRIP-LIB $(ELF_INSTALL_DIR)/$(ELF_LIB)"
-@@ -69,7 +67,6 @@
-       $(RM) -f $(DESTDIR)$(ELF_INSTALL_DIR)/$(ELF_LIB) \
-               $(DESTDIR)$(ELF_INSTALL_DIR)/$(ELF_SONAME) \
-               $(DESTDIR)$(libdir)/$(ELF_IMAGE).so
--      -$(LDCONFIG)
- clean::
-       $(RM) -rf elfshared
diff --git a/meta/recipes-devtools/e2fsprogs/e2fsprogs-1.42.6/remove.ldconfig.call.patch b/meta/recipes-devtools/e2fsprogs/e2fsprogs-1.42.6/remove.ldconfig.call.patch
new file mode 100644 (file)
index 0000000..f3e6eb7
--- /dev/null
@@ -0,0 +1,44 @@
+From b139e03ac2f72e644e547c7ee9b1514383af4d97 Mon Sep 17 00:00:00 2001
+From: Andrei Dinu <andrei.adrianx.dinu@intel.com>
+Date: Wed, 30 Jan 2013 15:22:04 +0200
+Subject: [PATCH] When /etc/ld.so.cache is writeable by user running bitbake
+ then it creates invalid cache (in my case libstdc++.so
+ cannot be found after building zlib(-native) and I have to
+ call touch */libstdc++.so && /sbin/ldconfig to fix it.
+
+So remove ldconfig call from make install-libs
+
+Patch authored by Martin Jansa.
+
+Upstream-Status: Inappropriate [disable feature]
+
+Signed-off-by: Scott Garman <scott.a.garman@intel.com>
+Signed-off-by: Andrei Dinu <andrei.adrianx.dinu@intel.com>
+---
+ lib/Makefile.elf-lib |    3 ---
+ 1 file changed, 3 deletions(-)
+
+diff --git a/lib/Makefile.elf-lib b/lib/Makefile.elf-lib
+index 78479d3..4a4a5ac 100644
+--- a/lib/Makefile.elf-lib
++++ b/lib/Makefile.elf-lib
+@@ -50,8 +50,6 @@ install-shlibs install:: $(ELF_LIB) installdirs-elf-lib $(DEP_INSTALL_SYMLINK)
+       $(E) "  SYMLINK $(libdir)/$(ELF_IMAGE).so"
+       $(Q) $(INSTALL_SYMLINK) $(ELF_INSTALL_DIR)/$(ELF_SONAME) \
+               $(libdir)/$(ELF_IMAGE).so $(DESTDIR)
+-      $(E) "  LDCONFIG"
+-      $(Q) -$(LDCONFIG)
+ install-strip: install
+       $(E) "  STRIP-LIB $(ELF_INSTALL_DIR)/$(ELF_LIB)"
+@@ -67,7 +65,6 @@ uninstall-shlibs uninstall::
+       $(RM) -f $(DESTDIR)$(ELF_INSTALL_DIR)/$(ELF_LIB) \
+               $(DESTDIR)$(ELF_INSTALL_DIR)/$(ELF_SONAME) \
+               $(DESTDIR)$(libdir)/$(ELF_IMAGE).so
+-      -$(LDCONFIG)
+ clean::
+       $(RM) -rf elfshared
+-- 
+1.7.9.5
+
@@ -1,14 +1,13 @@
 require e2fsprogs.inc
 
-PR = "r4"
+PR = "r0"
 
-SRC_URI += "file://fallocate.patch \
-            file://acinclude.m4 \
+SRC_URI += "file://acinclude.m4 \
             file://remove.ldconfig.call.patch \
 "
 
-SRC_URI[md5sum] = "8ed1501ae6746e2e735bdd1407211dc9"
-SRC_URI[sha256sum] = "0f1fdc10c6289b6750714490837df9aab691f352d33f5ecb64507704df6ff991"
+SRC_URI[md5sum] = "9e444c240c1001b3292d108fbad0f49c"
+SRC_URI[sha256sum] = "726b5919edeaee5b077d7a5b602284f1453ea31cf499efa433af26c679b667a5"
 
 EXTRA_OECONF += "--libdir=${base_libdir} --sbindir=${base_sbindir} --enable-elf-shlibs --disable-libuuid --disable-uuidd"
 EXTRA_OECONF_darwin = "--libdir=${base_libdir} --sbindir=${base_sbindir} --enable-bsd-shlibs"