Patchwork [7/8] mdadm: upgrade to 3.3

login
register
mail settings
Submitter Laurentiu Palcu
Date Oct. 17, 2013, 10:34 a.m.
Message ID <dc1ccf53ffa120569c1a9f72219b1064ec45919b.1382005791.git.laurentiu.palcu@intel.com>
Download mbox | patch
Permalink /patch/60081/
State Accepted
Commit 4525157d979867a4e834568180d8f05b46398bea
Headers show

Comments

Laurentiu Palcu - Oct. 17, 2013, 10:34 a.m.
Refreshed mdadm-3.2.2_fix_for_x32.patch to apply correctly.

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
---
 .../mdadm/files/mdadm-3.2.2_fix_for_x32.patch      |   11 +++++------
 .../mdadm/{mdadm_3.2.6.bb => mdadm_3.3.bb}         |    5 ++---
 2 files changed, 7 insertions(+), 9 deletions(-)
 rename meta/recipes-extended/mdadm/{mdadm_3.2.6.bb => mdadm_3.3.bb} (86%)

Patch

diff --git a/meta/recipes-extended/mdadm/files/mdadm-3.2.2_fix_for_x32.patch b/meta/recipes-extended/mdadm/files/mdadm-3.2.2_fix_for_x32.patch
index 58d54f9..3b3db0a 100644
--- a/meta/recipes-extended/mdadm/files/mdadm-3.2.2_fix_for_x32.patch
+++ b/meta/recipes-extended/mdadm/files/mdadm-3.2.2_fix_for_x32.patch
@@ -8,17 +8,16 @@  make file, hence making the CC definition in the Makefile conditional.
 
 Signed-Off-By: Nitin A Kamble <nitin.a.kamble@intel.com> 2011/12/07
 
-Index: mdadm-3.2.2/Makefile
+Index: mdadm-3.3/Makefile
 ===================================================================
---- mdadm-3.2.2.orig/Makefile
-+++ mdadm-3.2.2/Makefile
-@@ -40,7 +40,8 @@ KLIBC=/home/src/klibc/klibc-0.77
+--- mdadm-3.3.orig/Makefile	2013-09-03 07:47:47.000000000 +0300
++++ mdadm-3.3/Makefile	2013-10-16 16:44:23.542295487 +0300
+@@ -41,7 +41,7 @@
  
  KLIBC_GCC = gcc -nostdinc -iwithprefix include -I$(KLIBC)/klibc/include -I$(KLIBC)/linux/include -I$(KLIBC)/klibc/arch/i386/include -I$(KLIBC)/klibc/include/bits32
  
 -CC = $(CROSS_COMPILE)gcc
 +CC ?= $(CROSS_COMPILE)gcc
-+
- CXFLAGS = -ggdb
+ CXFLAGS ?= -ggdb
  CWFLAGS = -Wall -Werror -Wstrict-prototypes -Wextra -Wno-unused-parameter
  ifdef WARN_UNUSED
diff --git a/meta/recipes-extended/mdadm/mdadm_3.2.6.bb b/meta/recipes-extended/mdadm/mdadm_3.3.bb
similarity index 86%
rename from meta/recipes-extended/mdadm/mdadm_3.2.6.bb
rename to meta/recipes-extended/mdadm/mdadm_3.3.bb
index 7b6a6c7..23c9408 100644
--- a/meta/recipes-extended/mdadm/mdadm_3.2.6.bb
+++ b/meta/recipes-extended/mdadm/mdadm_3.3.bb
@@ -8,14 +8,13 @@  LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263 \
                     file://mdmon.c;beginline=4;endline=18;md5=af7d8444d9c4d3e5c7caac0d9d34039d \
                     file://mdadm.h;beglinlne=4;endline=22;md5=462bc9936ac0d3da110191a3f9994161"
 
-PR = "r0"
 
 SRC_URI = "${KERNELORG_MIRROR}/linux/utils/raid/mdadm/${BPN}-${PV}.tar.bz2 \
 	    file://mdadm-3.2.2_fix_for_x32.patch \
 	  "
 
-SRC_URI[md5sum] = "3e255dc71e5144bbcb872788ca647267"
-SRC_URI[sha256sum] = "c44ed3b31238b41cffe67caffaf45067d01e095de94988889ea8a94e22dc6c38"
+SRC_URI[md5sum] = "8ac04259cdd74b4566c3b6dea9414b57"
+SRC_URI[sha256sum] = "9c07e518bdf3392ebac8874eb686258e10ea3ae0ff7a8acb6d014718a9c3ed45"
 
 CFLAGS += "-fno-strict-aliasing"