[OE-core] [PATCH] rpm: rpm needs gnupg to do signature

Rongqing Li rongqing.li at windriver.com
Mon Oct 20 03:23:11 UTC 2014


ping

-R

On 10/16/2014 10:02 AM, rongqing.li at windriver.com wrote:
> From: "Roy.Li" <rongqing.li at windriver.com>
>
> rpm needs gnupg to do signature, otherwise the below error:
>
>      $ rpm -v --addsign m4-1.4.16-r4.0.x86_64.rpm
>      Enter pass phrase:
>      error: Could not exec gpg: No such file or directory
>      $
> Signed-off-by: Roy.Li <rongqing.li at windriver.com>
> ---
>   meta/recipes-devtools/rpm/rpm_5.4.14.bb | 1 +
>   1 file changed, 1 insertion(+)
>
> diff --git a/meta/recipes-devtools/rpm/rpm_5.4.14.bb b/meta/recipes-devtools/rpm/rpm_5.4.14.bb
> index fb8a507..78a880a 100644
> --- a/meta/recipes-devtools/rpm/rpm_5.4.14.bb
> +++ b/meta/recipes-devtools/rpm/rpm_5.4.14.bb
> @@ -335,6 +335,7 @@ RDEPENDS_${PN} = "base-files run-postinsts"
>   RDEPENDS_${PN}_class-native = ""
>   RDEPENDS_${PN}_class-nativesdk = ""
>   RDEPENDS_${PN}-build = "file bash perl"
> +RRECOMMENDS_${PN}_class-target = "gnupg"
>
>   RDEPENDS_python-rpm = "${PN}"
>
>

-- 
Best Reagrds,
Roy | RongQing Li



More information about the Openembedded-core mailing list