]> code.ossystems Code Review - openembedded-core.git/commitdiff
classes/image: ignore modules.* changing during multilib image construction
authorPaul Eggleton <paul.eggleton@linux.intel.com>
Fri, 21 Mar 2014 18:02:39 +0000 (18:02 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 11 Apr 2014 11:02:01 +0000 (12:02 +0100)
Since we now run depmod when building images (as the postinst that does
this is now on kernel-base instead of kernel-image) it is possible to
have module file differences between the two halves of the multilib image,
and the code that checks for such differences detects this and fails.
Whitelist this file to avoid the failure.

Specifically, modules.alias, modules.dep and modules.symbol can differ
along with their .bin counterparts.

Related to fix for [YOCTO #5392].

(From OE-Core master rev: 0a315804bf991664c0948e3024b8e8b9e9085808)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/image.bbclass

index 0986858b4832394ed6a52857e8812d67d577d5d0..aaaa2241a1fc64cd0da832c6ee924fa01decf15b 100644 (file)
@@ -410,7 +410,7 @@ log_check() {
        done
 }
 
-MULTILIBRE_ALLOW_REP =. "${base_bindir}|${base_sbindir}|${bindir}|${sbindir}|${libexecdir}|"
+MULTILIBRE_ALLOW_REP =. "${base_bindir}|${base_sbindir}|${bindir}|${sbindir}|${libexecdir}|/lib/modules/[^/]*/modules.*|"
 MULTILIB_CHECK_FILE = "${WORKDIR}/multilib_check.py"
 MULTILIB_TEMP_ROOTFS = "${WORKDIR}/multilib"