Skip to contentSkip to conversation

e2fsprogs streamlining

PATCH Applied Scott Garman 2 participants 4 messages Jan 31, 2012 – Feb 2, 2012

lore
Share & tools
lore
#0 lore raw

cover e2fsprogs streamlining

Hello,

Koen Kooi suggested that the quotefix patch was not needed, and the build of the recipe should now be multithread-safe. My testing has confirmed this.

The following changes since commit d7b13cd42ab8d5f44f97e119b73ec2e363677d26:

useradd.bbclass: Fix missing quote (2012-01-27 23:57:33 +0000)

are available in the git repository at:
git://git.pokylinux.org/poky-contrib sgarman/e2fsprogs-final
http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=sgarman/e2fsprogs-final

Scott Garman (1):
e2fsprogs: remove unneeded patch and re-enable PARALLEL_MAKE

 .../e2fsprogs/e2fsprogs-1.42/quotefix.patch        |   44 --------------------
 meta/recipes-devtools/e2fsprogs/e2fsprogs_1.42.bb  |    5 +--
 2 files changed, 1 insertions(+), 48 deletions(-)
 delete mode 100644 meta/recipes-devtools/e2fsprogs/e2fsprogs-1.42/quotefix.patch
Signature · 1 line
1.7.5.4
#1 lore raw

PATCH 1/1 e2fsprogs: remove unneeded patch and re-enable PARALLEL_MAKE

From: Scott Garman <[email protected]>

Koen Kooi suggested that the quotefix patch was not needed, and the build of the recipe should now be multithread-safe. My testing has confirmed this.

---
 .../e2fsprogs/e2fsprogs-1.42/quotefix.patch        |   44 --------------------
 meta/recipes-devtools/e2fsprogs/e2fsprogs_1.42.bb  |    5 +--
 2 files changed, 1 insertions(+), 48 deletions(-)
 delete mode 100644 meta/recipes-devtools/e2fsprogs/e2fsprogs-1.42/quotefix.patch
meta/recipes-devtools/e2fsprogs/e2fsprogs-1.42/quotefix.patch deleted +0 -44
deleted file mode 100644
index e576f35..0000000
@@ -1,44 +0,0 @@
-Upstream-Status: Pending
-
-These macros are underquoted and break with recent autoconf+automake
-combinations. - RP 2010-01-02
-
-Signed-off-by: Scott Garman <[email protected]>
-
-diff -urN e2fsprogs-1.42.orig//configure.in e2fsprogs-1.42/configure.in
---- e2fsprogs-1.42.orig//configure.in	2011-11-28 09:28:22.000000000 -0800
-+++ e2fsprogs-1.42/configure.in	2012-01-12 14:42:54.820531407 -0800
-@@ -439,11 +439,11 @@
- 		AC_MSG_ERROR([pkg-config not installed; please install it.])
- 	fi
- 
--	AC_CHECK_LIB(uuid, uuid_generate,
-+	[AC_CHECK_LIB(uuid, uuid_generate,
- 		[LIBUUID=`$PKG_CONFIG --libs uuid`;
- 		 STATIC_LIBUUID=`$PKG_CONFIG --static --libs uuid`],
- 		[AC_MSG_ERROR([external uuid library not found])],
--		[$LIBUUID])
-+		[$LIBUUID])]
- 	UUID_CMT=#
- 	AC_MSG_RESULT([Disabling private uuid library])
- else
-@@ -939,15 +939,15 @@
- AH_TEMPLATE([HAVE_SEM_INIT], [Define to 1 if sem_init() exists])
- SEM_INIT_LIB=''
- AC_CHECK_FUNC(sem_init, ,
--  AC_CHECK_LIB(pthread, sem_init,
-+  [AC_CHECK_LIB(pthread, sem_init,
-   	AC_DEFINE(HAVE_SEM_INIT, 1)
-   	SEM_INIT_LIB=-lpthread,
--  AC_CHECK_LIB(rt, sem_init,
-+  [AC_CHECK_LIB(rt, sem_init,
-   	AC_DEFINE(HAVE_SEM_INIT, 1)
-   	SEM_INIT_LIB=-lrt,
--  AC_CHECK_LIB(posix4, sem_init,
-+  [AC_CHECK_LIB(posix4, sem_init,
-   	AC_DEFINE(HAVE_SEM_INIT, 1)
--  	SEM_INIT_LIB=-lposix4))))dnl
-+  	SEM_INIT_LIB=-lposix4)])])])dnl
- AC_SUBST(SEM_INIT_LIB)
- dnl
- dnl Check for unified diff
meta/recipes-devtools/e2fsprogs/e2fsprogs_1.42.bb +1 -4
index f6759aa7..29e757d 100644
@@ -2,15 +2,12 @@ require e2fsprogs.inc
 
 PR = "r1"
 
-SRC_URI += "file://quotefix.patch \
-            file://fallocate.patch \
+SRC_URI += "file://fallocate.patch \
             file://acinclude.m4"
 
 SRC_URI[md5sum] = "a3c4ffd7352310ab5e9412965d575610"
 SRC_URI[sha256sum] = "55b46db0cec3e2eb0e5de14494a88b01ff6c0500edf8ca8927cad6da7b5e4a46"
 
-PARALLEL_MAKE = ""
-
 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"
 EXTRA_OECONF_darwin8 = "--libdir=${base_libdir} --sbindir=${base_sbindir} --enable-bsd-shlibs"
Signature · 1 line
1.7.5.4
#2 lore raw
In reply to Scott Garman
Quoted 5 lines · Scott Garman

Hello,

Koen Kooi suggested that the quotefix patch was not needed, and the build of the recipe should now be multithread-safe. My testing has confirmed this.

Sorry, I forgot a PR bump - my branch will be updated with this momentarily.

Scott

Signature · 3 lines
Scott Garman
Embedded Linux Engineer - Yocto Project
Intel Open Source Technology Center
Applied
#3 lore raw
In reply to Scott Garman
Quoted 14 lines · Scott Garman

Hello,

Koen Kooi suggested that the quotefix patch was not needed, and the build of the recipe should now be multithread-safe. My testing has confirmed this.

The following changes since commit d7b13cd42ab8d5f44f97e119b73ec2e363677d26:

   useradd.bbclass: Fix missing quote (2012-01-27 23:57:33 +0000)

are available in the git repository at:
git://git.pokylinux.org/poky-contrib sgarman/e2fsprogs-final
http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=sgarman/e2fsprogs-final

Quoted 8 lines

Scott Garman (1):
e2fsprogs: remove unneeded patch and re-enable PARALLEL_MAKE

  .../e2fsprogs/e2fsprogs-1.42/quotefix.patch        |   44 --------------------
  meta/recipes-devtools/e2fsprogs/e2fsprogs_1.42.bb  |    5 +--
  2 files changed, 1 insertions(+), 48 deletions(-)

delete mode 100644 meta/recipes-devtools/e2fsprogs/e2fsprogs-1.42/quotefix.patch

Merged into OE-core

Thanks
Sau!