summaryrefslogtreecommitdiff
path: root/meta/recipes-extended/mdadm
AgeCommit message (Collapse)AuthorFiles
2017-03-26mdadm: update criteria to build with corosyncKai Kang1
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 Signed-off-by: Kai Kang <kai.kang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-03-21mdadm: Avoid using hardocded sbin pathAmarnath Valluri1
Use appropriate bitbake variable inplace of hardcoded sbin path in Makefile Signed-off-by: Amarnath Valluri <amarnath.valluri@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2017-01-19mdadm: upgrade to version 4.0Maxin B. John7
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 Signed-off-by: Maxin B. John <maxin.john@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2016-12-19mdadm: Fix build with glibc 2.25Khem Raj2
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2016-11-15mdadm: Reduce duplication in MIPS variants.Zubair Lutfullah Kakakhel1
Reduce duplication in MIPS variants now that the MACHINEOVERRIDES variable is defined Signed-off-by: Zubair Lutfullah Kakakhel <Zubair.Kakakhel@imgtec.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2016-09-23mdadm: remove duplicated udev setting from FILES_${PN}Robert Yang1
bitbake.conf already sets it. Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
2016-07-08meta: update patch metadataRoss Burton2
Enforce the correct tag names across all of oe-core for consistency. Signed-off-by: Ross Burton <ross.burton@intel.com>
2016-05-13mdadm: Fix build with clangKhem Raj2
Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-05-13mdadm: Fix gcc 6 warningsKhem Raj2
Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-02-11mdadm: update to version 3.4Maxin B. John8
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 Signed-off-by: Maxin B. John <maxin.john@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2016-01-22mdadm: Fix build with muslKhem Raj2
Define _POSIX_C_SOURCE if not defined Add sockaddr_un* to sockaddr* typecast to make compiler happy Signed-off-by: Khem Raj <raj.khem@gmail.com>
2015-11-25mdadm: fix CFLAGS and ptest issuesWenzong Fan2
* 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] Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2015-09-12mdadm: Fix bugs exposed by clangKhem Raj2
clang points to coding errors which otherwise go unnoticed Signed-off-by: Khem Raj <raj.khem@gmail.com>
2015-08-30mdadm: Upgrade mdadm_3.3.2.bb -> mdadm_3.3.4.bbKhem Raj3
Drop upstreamed patch for gcc5 compatibility Forward port x32 patch (From OE-Core rev: 2782ae4dfb417ba377f861283792d7d9929f2ae3) 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>
2015-07-12mdadm: remove do_configure_prependRobert Yang1
There is no '.*ansidecl.h.*/d' in sha1.h any more. Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-04-27mdadm: Fix inline semanticsKhem Raj2
With gcc-5 defaulting to gnu11 C we need to follow c99 inline semantics Change-Id: I397520c36c81634556b3f3782aebc532e4a79aed Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-04-19mdadm: add ptestDmitry Eremin-Solenikov2
Enable ptest for mdadm, by reusing internal testsuite. Signed-off-by: Dmitry Eremin-Solenikov <dmitry_eremin@mentor.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-03-20mdadm: Fix build in x32 ABIAníbal Limón2
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] Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
2015-01-29arch-mips.inc: Change definition of TRANSLATED_TARGET_ARCHMark Hatle1
[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. Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
2014-11-06mdadm: 3.3.1 -> 3.3.2Richard Purdie1
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-07-17mdadm: Upgrade 3.3 -> 3.3.1Richard Purdie1
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-05-06mdadm: Fix build on gcc 4.9Khem Raj2
Fix error: right-hand operand of comma expression has no effect [-Werror=unused-value] (From OE-Core rev: 9e1aac485175d29951f7ad23cd7515c8f7580271) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-02-28autotools-brokensep: Mark recipes with broken separate build dir supportRichard Purdie1
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. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-02-02mdadm: fix build on qemumips64Robert Yang1
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] Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2014-01-02Replace one-line DESCRIPTION with SUMMARYPaul Eggleton1
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. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2014-01-02Drop empty/invalid BUGTRACKER valuesPaul Eggleton1
Setting this value to blank or "n/a" in just a few recipes accomplishes nothing. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2013-11-20mdadm: flag __SANE_USERSPACE_TYPES__ to include int-ll64.h for powerpc64Chunrong Guo1
*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, Signed-off-by: Chunrong Guo <B40290@freescale.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2013-11-05mdadm: Disable the RUN_DIR checkSaul Wold1
This check was looking for /run/mdadm on the host system, this check is optional so disable it. [YOCTO #5447] Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-10-26mdadm: upgrade to 3.3Laurentiu Palcu2
Refreshed mdadm-3.2.2_fix_for_x32.patch to apply correctly. Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-11-18mdadm: upgrade to 3.2.6Laurentiu Palcu1
Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
2012-06-18mdadm: Don't depend on ansidecl.h headerSaul Wold1
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. Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-05-24mdadm: upgrade to 3.2.5Laurentiu Palcu1
Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
2012-01-03mdadm: upgrade to the latest version 3.2.3Dexuan Cui2
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. Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
2012-01-03misc patches: fix patch headersNitin A Kamble1
These patches were marked by "UpstreamStatus:" line, fix it to use "Upstream-Status:" instead. Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
2011-12-15Patch Upstream Status UpdatesSaul Wold1
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2011-12-12mdadm: Make custom CC definition conditionalNitin A Kamble2
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] Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
2011-10-31mdadm: fix QA Packaging issuesSaul Wold1
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2011-10-10Fix mdadm for powerpc64Matthew McClintock2
This takes an upstream fix for compiling on powerpc64 Signed-off-by: Matthew McClintock <msm@freescale.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-08-16mdadm: upgrade mdadm from 3.2.1 to 3.2.2Dexuan Cui2
Remove the patch since 3.2.2 has integrated it. Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
2011-05-11mdadm: compilation fix for gcc 4.6.0Nitin A Kamble2
Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
2011-04-22mdadm: upgrade from 3.1.4 to the latest version 3.2.1Dexuan Cui2
removed fix-z-now.patch since 3.2.1 has integrated it. Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
2011-03-23Various: Update KERNELORG_MIRROR for consistencyTom Rini1
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. Signed-off-by: Tom Rini <tom_rini@mentor.com>
2011-03-14Update SRC_URIs to use BPN instead of PNRichard Purdie1
[YOCTO #860] Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2010-12-09SRC_URI Checksums AdditionalsSaul Wold1
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2010-09-02mdadm: add patch to fix passing linker options to ccSaul Wold2
Signed-off-by: Saul Wold <Saul.Wold@intel.com>
2010-09-02mdadm: add the latest version 3.1.4Dexuan Cui1
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>