]> 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>
Sat, 22 Mar 2014 10:18:00 +0000 (10:18 +0000)
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].

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

index 3436624c9da11c90597b531edaf578f0b373cc45..b0639ae33febb706287ea57ed74d7dfbfa7dfc2f 100644 (file)
@@ -269,7 +269,7 @@ insert_feed_uris () {
        done
 }
 
-MULTILIBRE_ALLOW_REP =. "${base_bindir}|${base_sbindir}|${bindir}|${sbindir}|${libexecdir}|${sysconfdir}|${nonarch_base_libdir}/udev|"
+MULTILIBRE_ALLOW_REP =. "${base_bindir}|${base_sbindir}|${bindir}|${sbindir}|${libexecdir}|${sysconfdir}|${nonarch_base_libdir}/udev|/lib/modules/[^/]*/modules.*|"
 MULTILIB_CHECK_FILE = "${WORKDIR}/multilib_check.py"
 MULTILIB_TEMP_ROOTFS = "${WORKDIR}/multilib"