[oe-commits] [openembedded-core] 01/17: rpm: allow arch-dependent binaries in noarch packages

git at git.openembedded.org git at git.openembedded.org
Thu Sep 21 15:56:18 UTC 2017


This is an automated email from the git hooks/post-receive script.

rpurdie pushed a commit to branch pyro
in repository openembedded-core.

commit 35059f271964da1f8112a45f19875b59fb9cd02f
Author: Ng Wei Tee <wei.tee.ng at intel.com>
AuthorDate: Thu May 4 19:04:57 2017 -0700

    rpm: allow arch-dependent binaries in noarch packages
    
    This is needed for packages like linux-firmware which have a
    legitimate reason for it. Oe-core has a separate package_qa
    test for this situation, so any accidental inclusions of such
    binaries will still be caught.
    
    [YOCTO #11329]
    
    (From OE-Core rev: 6aaff392d703183d19192e2d171e10a92f259c65)
    
    Signed-off-by: Ng Wei Tee <wei.tee.ng at intel.com>
    Signed-off-by: Ross Burton <ross.burton at intel.com>
    Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
    Signed-off-by: Armin Kuster <akuster808 at gmail.com>
---
 meta/classes/package_rpm.bbclass | 1 +
 1 file changed, 1 insertion(+)

diff --git a/meta/classes/package_rpm.bbclass b/meta/classes/package_rpm.bbclass
index 62324b3..9ec2d3c 100644
--- a/meta/classes/package_rpm.bbclass
+++ b/meta/classes/package_rpm.bbclass
@@ -664,6 +664,7 @@ python do_package_rpm () {
     cmd = cmd + " --define '_builddir " + d.getVar('S') + "'"
     cmd = cmd + " --define '_build_name_fmt %%{NAME}-%%{VERSION}-%%{RELEASE}.%%{ARCH}.rpm'"
     cmd = cmd + " --define '_use_internal_dependency_generator 0'"
+    cmd = cmd + " --define '_binaries_in_noarch_packages_terminate_build 0'"
     if perfiledeps:
         cmd = cmd + " --define '__find_requires " + outdepends + "'"
         cmd = cmd + " --define '__find_provides " + outprovides + "'"

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list