[oe-commits] [openembedded-core] 07/38: rpm: allow to enable RPM file signing

git at git.openembedded.org git at git.openembedded.org
Thu Jul 27 08:31:40 UTC 2017


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

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

commit 9d7797e4374c111f0dff523fd49354bcc33dc2af
Author: Lans Zhang <jia.zhang at windriver.com>
AuthorDate: Thu Jul 27 14:03:42 2017 +0800

    rpm: allow to enable RPM file signing
    
    RPM file signing is enabled with --with-imaevm during configuration.
    If enabled, the RPM signing tool rpmsign will call libimaevm.so provided
    by the recipe ima-evm-utils.
    
    Signed-off-by: Lans Zhang <jia.zhang at windriver.com>
    Signed-off-by: Jia Zhang <lans.zhang2008 at gmail.com>
    Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
 meta/recipes-devtools/rpm/rpm_git.bb | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/meta/recipes-devtools/rpm/rpm_git.bb b/meta/recipes-devtools/rpm/rpm_git.bb
index 2a0dcaf..d9ff2c7 100644
--- a/meta/recipes-devtools/rpm/rpm_git.bb
+++ b/meta/recipes-devtools/rpm/rpm_git.bb
@@ -71,6 +71,9 @@ EXTRA_OECONF_append_class-native = " --sysconfdir=/etc --localstatedir=/var --di
 
 BBCLASSEXTEND = "native nativesdk"
 
+PACKAGECONFIG ??= ""
+PACKAGECONFIG[imaevm] = "--with-imaevm,,ima-evm-utils"
+
 # Direct rpm-native to read configuration from our sysroot, not the one it was compiled in
 # libmagic also has sysroot path contamination, so override it
 do_install_append_class-native() {

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


More information about the Openembedded-commits mailing list