summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended/mdadm
Commit message (Collapse)AuthorAgeFilesLines
* recipes: Replace "cp -a" with "cp -R --no-dereference --preserve=mode, links"Martin Jansa2017-06-061-1/+1
| | | | | | | | | | | | * Using "cp -a" leaks UID of user running the builds, causing many QA warnings. * See this thread for details: http://lists.openembedded.org/pipermail/openembedded-core/2015-November/112904.html (From OE-Core rev: 2fcb9bee2487ba8c5e7b2c1fda2fdffcf7fb7f78) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mdadm: Backport and make fixes for building with gcc7Khem Raj2017-05-116-0/+337
| | | | | | | | (From OE-Core rev: c901af4574693ede5f1dcbccccc7c5a820b3d659) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mdadm: update criteria to build with corosyncKai Kang2017-03-271-1/+12
| | | | | | | | | | | | | | | | | | | mdadm only works with corosync 2.x which provides header file corosync/cmap.h. If build mdadm with corosync 1.x, it fails with: | member.c:12:27: fatal error: corosync/cmap.h: No such file or directory | #include <corosync/cmap.h> | ^ Build with corosync only header file corosync/cmap.h exists. Ref: https://github.com/neilbrown/mdadm/blob/master/mdadm.h#L63 (From OE-Core rev: b2a785f19fe25d244179b8672c846925da6d455a) Signed-off-by: Kai Kang <kai.kang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mdadm: Avoid using hardocded sbin pathAmarnath Valluri2017-03-221-1/+3
| | | | | | | | | | Use appropriate bitbake variable inplace of hardcoded sbin path in Makefile (From OE-Core rev: 9e01148176341916b1fcfebe46d70b75b42777d5) Signed-off-by: Amarnath Valluri <amarnath.valluri@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mdadm: upgrade to version 4.0Maxin B. John2017-01-197-304/+2
| | | | | | | | | | | | | | | | | | | 3.4 -> 4.0 Removed the following upstreamed or backported patches: a) 0001-Fix-some-type-comparison-problems.patch b) 0001-Fix-typo-in-comparision.patch c) 0001-mdadm.h-bswap-is-already-defined-in-uclibc.patch d) 0001-raid6check-Fix-if-else-indentation.patch e) 0001-util.c-include-poll.h-instead-of-sys-poll.h.patch f) mdadm-3.2.2_fix_for_x32.patch (From OE-Core rev: b32f5098fc06c96d9331abe0f4ff9cc7c7c08c76) Signed-off-by: Maxin B. John <maxin.john@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mdadm: Fix build with glibc 2.25Khem Raj2016-12-202-0/+49
| | | | | | | (From OE-Core rev: 32643ed355c94035d6fabbd0cd9e4c6f3b18ab56) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mdadm: Reduce duplication in MIPS variants.Zubair Lutfullah Kakakhel2016-11-151-2/+2
| | | | | | | | | | | Reduce duplication in MIPS variants now that the MACHINEOVERRIDES variable is defined (From OE-Core rev: 714e747c6134414b4f3ada266a3d94a1136e5737) Signed-off-by: Zubair Lutfullah Kakakhel <Zubair.Kakakhel@imgtec.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mdadm: remove duplicated udev setting from FILES_${PN}Robert Yang2016-09-241-2/+0
| | | | | | | | | bitbake.conf already sets it. (From OE-Core rev: 79b38adb3cac86ac24aa8c13fa0403105f17d494) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meta: update patch metadataRoss Burton2016-07-082-2/+2
| | | | | | | | | Enforce the correct tag names across all of oe-core for consistency. (From OE-Core rev: 606a43dc38a00cc243f933722db657aea4129f8e) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mdadm: Fix build with clangKhem Raj2016-05-132-0/+44
| | | | | | | (From OE-Core rev: d701293b9de2e23cac2f1b57af5b3d44f489c404) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mdadm: Fix gcc 6 warningsKhem Raj2016-05-132-1/+39
| | | | | | | (From OE-Core rev: aa20503a8f93a134db5124e5a6b1ac5fff08cc87) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mdadm: update to version 3.4Maxin B. John2016-02-118-107/+229
| | | | | | | | | | | | | | | | | | | 3.3.4 -> 3.4 a) Removed the following upstreamed patch: 1. 0001-Define-_POSIX_C_SOURCE-if-undefined.patch b) Added following patches to fix uclibc,musl and x32 build failures 1. 0001-mdadm.h-bswap-is-already-defined-in-uclibc.patch 2. 0001-util.c-include-poll.h-instead-of-sys-poll.h.patch 3. 0001-Fix-some-type-comparison-problems.patch 4. 0001-Fix-the-path-of-corosync-and-dlm-header-files-check.patch (From OE-Core rev: e1ae012388e4321b95cd79c014af135cf6c419ad) Signed-off-by: Maxin B. John <maxin.john@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mdadm: Fix build with muslKhem Raj2016-01-242-1/+60
| | | | | | | | | | Define _POSIX_C_SOURCE if not defined Add sockaddr_un* to sockaddr* typecast to make compiler happy (From OE-Core rev: cdb858caadd81d3bdc9ea3fd596e3eab84ec2d81) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mdadm: fix CFLAGS and ptest issuesWenzong Fan2015-11-252-1/+52
| | | | | | | | | | | | | | | | | | | | | | | | | * Pass global CFLAGS to build: The CFLAGS does not pass to build at all since it was redefined by mdadm Makefile: CFLAGS = $(CWFLAGS) $(CXFLAGS) ... This could be done by setting 'CXFLAGS="${CFLAGS}"'. * Also fix ptest build errors caused by global CFLAGS: raid6check.c:352:2: error: ignoring return value of posix_memalign, \ declared with attribute warn_unused_result [-Werror=unused-result] raid6check.c:315:8: error: 'stripe_buf' may be used uninitialized \ in this function [-Werror=maybe-uninitialized] (From OE-Core rev: 60f71fa4da86ca4c7c37115c343db194a3b7b47b) Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mdadm: Fix bugs exposed by clangKhem Raj2015-09-122-0/+87
| | | | | | | | | clang points to coding errors which otherwise go unnoticed (From OE-Core rev: 3738dbf4d204e1c4f1dd2fad6a76291ffbbc414e) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mdadm: Upgrade mdadm_3.3.2.bb -> mdadm_3.3.4.bbKhem Raj2015-08-303-55/+13
| | | | | | | | | | | | | Drop upstreamed patch for gcc5 compatibility Forward port x32 patch (From OE-Core rev: 2782ae4dfb417ba377f861283792d7d9929f2ae3) (From OE-Core rev: 0d0a591fca9fadd786f0ccda05cd68c295d6bb21) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mdadm: remove do_configure_prependRobert Yang2015-07-121-5/+0
| | | | | | | | | There is no '.*ansidecl.h.*/d' in sha1.h any more. (From OE-Core rev: c9d1e257deceef4f99486b78f4a76d55dca758f3) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mdadm: Fix inline semanticsKhem Raj2015-04-272-0/+40
| | | | | | | | | | | With gcc-5 defaulting to gnu11 C we need to follow c99 inline semantics Change-Id: I397520c36c81634556b3f3782aebc532e4a79aed (From OE-Core rev: 944f94a32577969ee1fc197ab285b0abd9e541fa) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mdadm: add ptestDmitry Eremin-Solenikov2015-04-192-0/+39
| | | | | | | | | Enable ptest for mdadm, by reusing internal testsuite. (From OE-Core rev: 313a6ee224831d842af8ca95d827bf17230540dc) Signed-off-by: Dmitry Eremin-Solenikov <dmitry_eremin@mentor.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mdadm: Fix build in x32 ABIAníbal Limón2015-03-202-0/+27
| | | | | | | | | | | | Add a patch for fix build in x32 ABI, the fail is cause by time_t printf because time_t is long int in x64 and long long int in x32. [YOCTO #7422] (From OE-Core rev: 753994a2016758ec058822d727b05ef9532b97c8) Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* arch-mips.inc: Change definition of TRANSLATED_TARGET_ARCHMark Hatle2015-01-291-0/+1
| | | | | | | | | | | | | | | | | | | | | | | [YOCTO #7230] In certain system configurations TRANSLATED_TARGET_ARCH will not expand in the right order for gcc-cross-candian-mips64n32 to be generated properly. This will cause SDKs to fail to generate properly. Changing the global definition of TRANSLATED_TARGET_ARCH always expands the ABIEXTENSION, which causes the OVERRIDES to pick it up as well. This effectively defines a new class of overrides for the 'n32'. The side effect is that we need to duplicate some mips64 overrides, and redefine others that were previously 'n32' or 'mips64' exclusive to have the correct semantics. (From OE-Core rev: 4b3a2b703b20583bd107f00a297d972e9bfb514a) Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mdadm: 3.3.1 -> 3.3.2Richard Purdie2014-11-061-2/+2
| | | | | | (From OE-Core rev: cfd25d00575a88acc6739e12077ca593d7436436) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mdadm: Upgrade 3.3 -> 3.3.1Richard Purdie2014-07-171-3/+3
| | | | | | (From OE-Core rev: b0d95d6a449c979eac76b72872bde49bc2204223) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mdadm: Fix build on gcc 4.9Khem Raj2014-05-062-1/+24
| | | | | | | | | | | | | | Fix error: right-hand operand of comma expression has no effect [-Werror=unused-value] (From OE-Core rev: 9e1aac485175d29951f7ad23cd7515c8f7580271) (From OE-Core rev: 58da3355522736b93bb6d164739c795068d2a1e8) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* autotools-brokensep: Mark recipes with broken separate build dir supportRichard Purdie2014-02-281-1/+1
| | | | | | | | | | | | This patch goes through the OE-Core recipes and marks those which use autotools but don't support a separate build directory (${S} != ${B}). A new class, autotools-brokensep is used for this purpose. This doesn't introduce any change in behaviour in its own right. (From OE-Core rev: 006b8a7808a58713af16c326dc37d07765334b12) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mdadm: fix build on qemumips64Robert Yang2014-02-021-1/+2
| | | | | | | | | | | | | | | | | The mips64 uses long long for u64 in the kernel, but powerpc's asm/types.h prevents 64-bit userland from seeing this definition, instead defaulting to u64 == long in userspace. Define __SANE_USERSPACE_TYPES__ to get int-ll64.h included. We had a similar fix on ppc64, use it for mips64 will fix the problem. [YOCTO #5758] (From OE-Core rev: 97bc0d1575b08830e3953933cbbc5732b1a82b31) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Replace one-line DESCRIPTION with SUMMARYPaul Eggleton2014-01-021-1/+1
| | | | | | | | | | | | | | A lot of our recipes had short one-line DESCRIPTION values and no SUMMARY value set. In this case it's much better to just set SUMMARY since DESCRIPTION is defaulted from SUMMARY anyway and then the SUMMARY is at least useful. I also took the opportunity to fix up a lot of the new SUMMARY values, making them concisely explain the function of the recipe / package where possible. (From OE-Core rev: b8feee3cf21f70ba4ec3b822d2f596d4fc02a292) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Drop empty/invalid BUGTRACKER valuesPaul Eggleton2014-01-021-1/+0
| | | | | | | | | | Setting this value to blank or "n/a" in just a few recipes accomplishes nothing. (From OE-Core rev: 2d6f11d6bae8b03a00086f1dd43ca1853ac667d5) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mdadm: flag __SANE_USERSPACE_TYPES__ to include int-ll64.h for powerpc64Chunrong Guo2013-11-201-0/+5
| | | | | | | | | | | | | | | | | *PPC64 uses long long for u64 in the kernel, but powerpc's asm/types.h prevents 64-bit userland from seeing this definition, instead defaulting to u64 == long in userspace. *fix the below error |super-ddf.c:4542:5: error: format '%llu' expects argument of type 'long long unsigned int', |but argument 5 has type '__u64' [-Werror=format=] |dprintf("BVD %u has %08x at %llu\n", 0, (From OE-Core rev: d3caab6eb03264b4f4d744f914598022299011ba) Signed-off-by: Chunrong Guo <B40290@freescale.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mdadm: Disable the RUN_DIR checkSaul Wold2013-11-051-0/+2
| | | | | | | | | | | This check was looking for /run/mdadm on the host system, this check is optional so disable it. [YOCTO #5447] (From OE-Core rev: d62882794890eeee8e8d5c9ba4837ec77a58d787) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mdadm: upgrade to 3.3Laurentiu Palcu2013-10-262-9/+7
| | | | | | | | | | Refreshed mdadm-3.2.2_fix_for_x32.patch to apply correctly. (From OE-Core rev: dd125fc30042524079e32027f8be0784f140e379) Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mdadm: upgrade to 3.2.6Laurentiu Palcu2012-11-181-3/+3
| | | | | | | (From OE-Core rev: c7aacc09c4d3d68bdd6fa7419a7ea1c2b2a007ae) Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mdadm: Don't depend on ansidecl.h headerSaul Wold2012-06-181-1/+6
| | | | | | | | | | | | | | | | | We don't DEPEND on binutils for ansidecl.h so ensure we should never use the header. This makes builds determinstic and means something like: bitbake binutils bitbake mdadm -c compile bitbake binutils -c clean bitbake libxml2 doen't fail to build. (From OE-Core rev: 5b51872ec4c2400ae60f434478f04e9aca3ccb7d) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mdadm: upgrade to 3.2.5Laurentiu Palcu2012-05-241-2/+2
| | | | | | | (From OE-Core rev: 511b25110a5c0948f2be289daf0bf25f32466487) Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mdadm: upgrade to the latest version 3.2.3Dexuan Cui2012-01-032-59/+6
| | | | | | | | | | | | deleted 1 patch since it's in new version now. made LICENSE field more accurate. updated chksum of COPYING: only working change; no actual license change. (From OE-Core rev: f01f6764a744fcb6c5c342ab06a52f97fe362f1a) Signed-off-by: Dexuan Cui <dexuan.cui@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* misc patches: fix patch headersNitin A Kamble2012-01-031-1/+1
| | | | | | | | | | These patches were marked by "UpstreamStatus:" line, fix it to use "Upstream-Status:" instead. (From OE-Core rev: b33b373c9a33fe0ff51104c96d1e5b105efc63ed) Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Patch Upstream Status UpdatesSaul Wold2011-12-151-0/+2
| | | | | | | (From OE-Core rev: 0eb139619301d0efee330932eba3617dcb39284e) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mdadm: Make custom CC definition conditionalNitin A Kamble2011-12-122-2/+26
| | | | | | | | | | | | | | | By hardcoding CC's definition in the Makefile, all the gcc parameters set by tune settings are lost. Causing compile failure with x32 toolchain As the bitbake defined CC is good, there is no need to redfine CC in the make file, hence making the CC definition in the Makefile conditional. This fixes bug: [YOCTO #1414] (From OE-Core rev: c877ec8ff1dfbf0123f94711f44cea043815a9c1) Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mdadm: fix QA Packaging issuesSaul Wold2011-10-311-1/+2
| | | | | | | (From OE-Core rev: b3840f88f004c9ef371a075f1800052c66c91759) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Fix mdadm for powerpc64Matthew McClintock2011-10-102-2/+54
| | | | | | | | | This takes an upstream fix for compiling on powerpc64 (From OE-Core rev: 1325f506972555d4c218c15090bfa3f63fb13473) Signed-off-by: Matthew McClintock <msm@freescale.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mdadm: upgrade mdadm from 3.2.1 to 3.2.2Dexuan Cui2011-08-172-179/+4
| | | | | | | | | Remove the patch since 3.2.2 has integrated it. (From OE-Core rev: a39c0c022090ba078ba6132ff69f9587fea592be) Signed-off-by: Dexuan Cui <dexuan.cui@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mdadm: compilation fix for gcc 4.6.0Nitin A Kamble2011-05-112-2/+177
| | | | | | | (From OE-Core rev: 74fd7ecef8887c66607726d285bf8f49cee11e67) Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mdadm: upgrade from 3.1.4 to the latest version 3.2.1Dexuan Cui2011-04-242-20/+4
| | | | | | | | | removed fix-z-now.patch since 3.2.1 has integrated it. (From OE-Core rev: 818b71e7f4190d9fafbbbfa1b68ae1cc99de7c2d) Signed-off-by: Dexuan Cui <dexuan.cui@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Various: Update KERNELORG_MIRROR for consistencyTom Rini2011-03-231-1/+1
| | | | | | | | | | | In mirrors.bbclass we point into /pub but we don't in bitbake.conf. All uses of KERNELORG_MIRROR look into /pub anyhow, so lets make use of that. (From OE-Core rev: 67a0c8f48b5ef2ae5fc712c9204e4e99818c8134) Signed-off-by: Tom Rini <tom_rini@mentor.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Update SRC_URIs to use BPN instead of PNRichard Purdie2011-03-141-1/+1
| | | | | | | | [YOCTO #860] (From OE-Core rev: 09ed5de9624be38c0fa5cb3f943691c3b4a50686) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* SRC_URI Checksums AdditionalsSaul Wold2010-12-091-0/+3
| | | | Signed-off-by: Saul Wold <sgw@linux.intel.com>
* mdadm: add patch to fix passing linker options to ccSaul Wold2010-09-022-2/+18
| | | | Signed-off-by: Saul Wold <Saul.Wold@intel.com>
* mdadm: add the latest version 3.1.4Dexuan Cui2010-09-021-0/+28
The recipe is borrowed from OE, with the following changes: - upgrade the version from 2.5 to 3.1.4 - simplify DESCRIPTION - add HOMEPAGE, BUGTRACKER, LICENSE and LIC_FILES_CHKSUM, PR - remove INHIBIT_AUTO_STAGE - fixing coding style issue: 4 SPACES --> 1 TAB mdadm: move to recipes-extended Signed-off-by: Dexuan Cui <dexuan.cui@intel.com> Signed-off-by: Saul Wold <Saul.Wold@intel.com>