]> code.ossystems Code Review - openembedded-core.git/commit
mdadm: update criteria to build with corosync
authorKai Kang <kai.kang@windriver.com>
Fri, 24 Mar 2017 09:18:57 +0000 (17:18 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sun, 26 Mar 2017 12:17:04 +0000 (13:17 +0100)
commitb2a785f19fe25d244179b8672c846925da6d455a
treefbd0d47bb4f00d1782c6b417263506ec8bed887c
parent131629ca6238ea0596f5dd11d659ce2ca63067a4
mdadm: update criteria to build with corosync

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>
meta/recipes-extended/mdadm/files/0001-Fix-the-path-of-corosync-and-dlm-header-files-check.patch