From 5e874ac0b1fa8c13f2abd906b27f55509cba2ef9 Mon Sep 17 00:00:00 2001 From: Markus Lehtonen Date: Fri, 3 Mar 2017 14:37:25 +0200 Subject: rpm: support customizing gpg command line Add a new %_gpg_sign_cmd_extra_args macro that allows customizing the gpg options used when signing rpm packages. This is needed to be able to sign packages with gpg 2.1 which requires "--pinentry-mode loopback" to allow non-interactive signing. [YOCTO #11054] (From OE-Core rev: 5cbba2c4016ad84a54f83531868aa6e66eef468e) Signed-off-by: Markus Lehtonen Signed-off-by: Ross Burton (cherry picked from commit 373a7146d596d27376a003014df0d06f3df5348d) Signed-off-by: Richard Purdie --- meta/recipes-devtools/rpm/rpm_5.4.16.bb | 1 + 1 file changed, 1 insertion(+) (limited to 'meta/recipes-devtools/rpm/rpm_5.4.16.bb') diff --git a/meta/recipes-devtools/rpm/rpm_5.4.16.bb b/meta/recipes-devtools/rpm/rpm_5.4.16.bb index 85eb5fef1e..497af8e055 100644 --- a/meta/recipes-devtools/rpm/rpm_5.4.16.bb +++ b/meta/recipes-devtools/rpm/rpm_5.4.16.bb @@ -119,6 +119,7 @@ SRC_URI += " \ file://gcc6-stdlib.patch \ file://0001-system.h-query.c-support-nosignature.patch \ file://rpm-ensure-rpm2cpio-call-rpm-relocation-code.patch \ + file://0001-macros-add-_gpg_sign_cmd_extra_args.patch \ " # OE specific changes -- cgit v1.2.3-54-g00ecf