summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended/mdadm
Commit message (Collapse)AuthorAgeFilesLines
* mdadm: fix do_package failed when changed local.conf but not cleanedChangqing Li2019-11-131-3/+2
| | | | | | | | | | | | | | | | | | | reproduce steps: 1. add DISTRO_FEATURE_append = 'usrmerge' in local.conf 2. bitbake mdadm --success 3. remove DISTRO_FEATURE_append = 'usrmerge' from local.conf 4. bitbake mdadm -- failed when do_package it is not proper to change source Makefile during do_install by sed, fix by pass correct config to EXTRA_OEMAKE [YOCTO #13493] (From OE-Core rev: d0f285bd7d066e752b93e57b7f5468819016586f) Signed-off-by: Changqing Li <changqing.li@windriver.com> Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mdadm: skip timeout testcase 11spare-migrationChangqing Li2019-09-072-0/+45
| | | | | | | | | [YOCTO #13368] (From OE-Core rev: 47c4ad9bd43d3b0539a19691bd4deb19ea63c3a7) Signed-off-by: Changqing Li <changqing.li@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mdadm: Include sys/sysmacros.h for major/minor definitionsKhem Raj2019-07-232-0/+15
| | | | | | | | | | | | Fixes implicit declaration of function 'minor' is invalid in C99 [-Wimplicit-function-declaration] which eventually ends up with a linker error (From OE-Core rev: 5841e52e79274b2da17bf7dbd1224d0a3dca2d6f) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mdadm: make ptest output format align with common styleChangqing Li2019-07-172-16/+9
| | | | | | | (From OE-Core rev: 99176bce7a185c996ef892b4f9b2617825a607fb) Signed-off-by: Changqing Li <changqing.li@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mdadm: fix ptest hangMingli Yu2019-07-162-0/+54
| | | | | | | | | | | | | | | | | | | | | | | | | Before commit[80d17497b7 mdadm: improve the run-ptest], the mdadm ptest just run some tests without "--keep-going" option. After the option added in commit 80d17497b7, all test cases have chance to be called. But the logic in mdadm upstream commit [e2a8e9d tests: wait for complete rebuild in integrity checks] will make the test enter infinite loop especially in qemu env as commit e2a8e9d update the logic from "check wait" to "check state 'U*'" for testcase tests/01r5integ and tests/01raid6integ. Considering all other cases still use "check wait" logic, so revert e2a8e9d to make tests/01r5integ and tests/01raid6integ also use "check wait" logic to avoid the infinite loop. [YOCTO #13368] (From OE-Core rev: b507793f4adde0c60588b06520d7d0b70acfd82a) Signed-off-by: Mingli Yu <Mingli.Yu@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mdam: fix mdmonitor start up failureChangqing Li2019-07-023-22/+29
| | | | | | | | | | | | 1. recently, mdadm has changed to use service file under srcdir, so remove the one not be used. 2. add -y option to fix below problem mdadm: No mail address or alert command - not monitoring (From OE-Core rev: e3cd783f42bff8ac50d4dde560ead999efd01a57) Signed-off-by: Changqing Li <changqing.li@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mdadm: fix systemd service start up failureChangqing Li2019-06-271-1/+2
| | | | | | | | | | | | | | | | 1. mdadm: No mail address or alert command - not monitoring fixed by use option -y to cause all events to be reported through 'syslog'. 2. cannot create pid file: No such file or directory fix by create dir before starting. (From OE-Core rev: d18c937918ec3553cb98743088a37ff080af2491) Signed-off-by: Changqing Li <changqing.li@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mdadm: Add missing ptest dependencyRichard Purdie2019-05-301-1/+1
| | | | | | | | Without this the ptest fails, unable to find mkfs.ext3. (From OE-Core rev: 8f4e7f4ff4eed6503213f2d15bb86c0c86368966) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mdadm: use ${systemd_unitdir} rather than /lib/systemdLuca Boccassi2019-05-271-2/+2
| | | | | | | | | Fixes build with usrmerge enabled. (From OE-Core rev: cafbc4bbe128d13c40e104f773cdf85bbd92a87d) Signed-off-by: Luca Boccassi <luca.boccassi@microsoft.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mdadm: install the systemd service through MakefileLiwei Song2019-05-161-3/+7
| | | | | | | | | | | | | The original mdadm service may include variable like BINDIR, It should use the real value of it, since the install method "install-systemd" in Makefile can easily do such work, so don't install it in bb file manually, use "make install-systemd" to install all the service of mdadm. (From OE-Core rev: be24f1dc995f7a996abfa551abea74f06de19ae6) Signed-off-by: Liwei Song <liwei.song@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mdadm: Disable WerrorKhem Raj2019-05-072-0/+26
| | | | | | | | | | | | | | | Werror spews more warnings with gcc9, like other distros ( debian/fedora) disable Warnings as errors Fixes super-intel.c:696:9: error: taking address of packed member of 'struct imsm_super' may result in an unaligned pointer value [-Werror=address-of-packed-member] (From OE-Core rev: 7ac6ac8eb8fc3c623eba0e245fd9049dc6e2dd86) 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>
* Revert "mdadm: fix gcc8 maybe-uninitialized/format-overflow warning"Khem Raj2019-04-102-61/+0
| | | | | | | | | | | | | | This patch tried to address a gcc problem when -Og is used, but it did cause regressions on normal compiles when using clang e.g. the real problem is to fix the compiler until then disable the warning in DEBUG_FLAGS This reverts commit 630281663893cdcfa9c4323b717b415d87d5510f. (From OE-Core rev: 949961cdf7d4639da538045dc83c2a354e16ea80) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mdadm: add -Wno-error to DEBUG_OPTIMIZATIONChangqing Li2019-03-251-0/+2
| | | | | | | | | | | | | | | | | | | | | | | when compile with DEBUG_OPTIMIZATION(-Og), compile failed with below error, fix by add -Wno-error: [snip] | Incremental.c: In function 'Incremental_container': | Incremental.c:1593:3: error: 'mdfd' may be used uninitialized in this function [-Werror=maybe-uninitialized] | close(mdfd); | ^~~~~~~~~~~ [snip] super-intel.c: In function 'apply_takeover_update': | super-intel.c:9615:15: error: '%d' directive writing between 1 and 11 bytes into a region of size 7 [-Werror=format-overflow=] | " MISSING_%d", du->index); | ^~ ... (From OE-Core rev: 1e0dbc9e320b200b948abaae418f640f9f65fe06) Signed-off-by: Changqing Li <changqing.li@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mdadm: add mdmon service to support Intel VROCLiwei Song2019-03-251-1/+2
| | | | | | | | | | | | Install mdmon@.service to make Intel VROC work well. mdmon@.service called from udev is used to update Intel VROC metadata, with it the VROC raid is operational to read or write under user space. (From OE-Core rev: 5b2610ee3935d12ab73164aa8716c068dc8f7f56) Signed-off-by: Liwei Song <liwei.song@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mdadm: fix gcc8 maybe-uninitialized/format-overflow warningChangqing Li2019-03-182-0/+61
| | | | | | | | | | | | | | | | | | | | | | while compiled with -Werror=maybe-uninitialized/-Werror=format-overflow=, it failed [snip] | Incremental.c: In function 'Incremental_container': | Incremental.c:1593:3: error: 'mdfd' may be used uninitialized in this function [-Werror=maybe-uninitialized] | close(mdfd); | ^~~~~~~~~~~ [snip] super-intel.c: In function 'apply_takeover_update': | super-intel.c:9615:15: error: '%d' directive writing between 1 and 11 bytes into a region of size 7 [-Werror=format-overflow=] | " MISSING_%d", du->index); | ^~ (From OE-Core rev: 630281663893cdcfa9c4323b717b415d87d5510f) Signed-off-by: Changqing Li <changqing.li@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mdadm: add init and service scriptsZheng Ruoqin2019-02-253-1/+106
| | | | | | | | | | Add init script and service file for sysvinit and systemd. (From OE-Core rev: a6222a41c54fb9feebb980e57bcc8a572f93acd1) Signed-off-by: Zheng Ruoqin <zhengrq.fnst@cn.fujitsu.com> Signed-off-by: Hong Liu <hongl.fnst@cn.fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mdadm: fix gcc-8 format-truncation warningHongxu Jia2019-01-112-0/+40
| | | | | | | | | | | | | | | | | | | While compiling with `-Werror=format-truncation=', it failed [snip] |super0.c:236:32: error: 'snprintf' output may be truncated before the last format character [-Werror=format-truncation=] | snprintf(nb, sizeof(nb), "%4d", d); | ^ |super0.c:236:3: note: 'snprintf' output between 5 and 12 bytes into a destination of size 11 | snprintf(nb, sizeof(nb), "%4d", d); [snip] (From OE-Core rev: cd5013a94609ef2f3e0d621339e22e4137d649d3) Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mdadm: Drop redundant patches and fix build with clangKhem Raj2018-12-096-362/+40
| | | | | | | | | | | | | Several patches were being applied unnecessarily, the purpose they served at one point has either been fixed differently, or accepted upstream. Add a new patch to make clang's diagnostics happy (From OE-Core rev: 8bc0d2f2197430723f8b2d0785169e48c883eedb) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mdadm: add back lost Upstream-Status tagsRoss Burton2018-12-054-4/+4
| | | | | | | (From OE-Core rev: ffde22a3a78c0333f42e8bc9bad633ef279f11ca) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mdadm: improve the run-ptestMingli Yu2018-11-271-8/+17
| | | | | | | | | | | | | | | | | | | | | | * There are 120+ cases under ${libdir}/mdadm/ptest/tests, but the test will break if one test fails as below logic in run-ptest. ./test &>./test.log That's to say, the tests after the failed test have no chance to run with the current logic. To guarantee all the tests can run even one of the tests fails, the option --keep-going should be added. * Refactor the test report to make the report more detailed and more common (From OE-Core rev: 80d17497b719efb2ca9f36b8a730815547e93aa7) Signed-off-by: Mingli Yu <Mingli.Yu@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mdadm: Upgrade to 4.1Mingli Yu2018-11-2315-354/+105
| | | | | | | | | | * Remove 5 backported patches * Refresh patches to remove fuzz warnings (From OE-Core rev: a455616df65f1e9dac5e283a9cda047868465d23) Signed-off-by: Mingli Yu <Mingli.Yu@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mdadm: fix usrmerge install pathMingli Yu2018-08-241-1/+1
| | | | | | | | | | | | | Update /lib to $nonarch_base_libdir to fix the below error when usrmerge enabled in DISTRO_FEATURES. ERROR: mdadm-4.0-r0 do_package_qa: QA Issue: mdadm package is not obeying usrmerge distro feature. /lib should be relocated to /usr. [usrmerge] (From OE-Core rev: 4b2c86ff0031effd4cfdb477f67bc213d39ae0fd) Signed-off-by: Mingli Yu <Mingli.Yu@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mdadm: fix one more issue when building with gcc8Martin Jansa2018-06-271-1/+23
| | | | | | | (From OE-Core rev: 1a0ee6b0f194807b9eac1207c43ba3fae4d1f94c) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mdadm: Fix build with gcc8Khem Raj2018-05-153-0/+163
| | | | | | | | (From OE-Core rev: 9bba9c2f1721673881fa8b460887ddebffad538e) 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: refresh patchesRoss Burton2018-03-092-12/+12
| | | | | | | | | | | | | | | | | | | | | The patch tool will apply patches by default with "fuzz", which is where if the hunk context isn't present but what is there is close enough, it will force the patch in. Whilst this is useful when there's just whitespace changes, when applied to source it is possible for a patch applied with fuzz to produce broken code which still compiles (see #10450). This is obviously bad. We'd like to eventually have do_patch() rejecting any fuzz on these grounds. For that to be realistic the existing patches with fuzz need to be rebased and reviewed. (From OE-Core rev: 3c3f76677759156b8cd87659fb4fefb46eb87d13) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mdadm: Fix build with gcc < 7Khem Raj2017-11-052-0/+32
| | | | | | | | | | | Do not rely on build host gcc for "implicit-fallthrough" support we need to check the CC for it (From OE-Core rev: b36100bb3077947361c858f891eb15a76013671e) 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>
* 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>