Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH] rpm: rpm needs gnupg to do signature
@ 2014-10-16  2:02 rongqing.li
  2014-10-20  3:23 ` Rongqing Li
  2014-10-20 11:01 ` Burton, Ross
  0 siblings, 2 replies; 4+ messages in thread
From: rongqing.li @ 2014-10-16  2:02 UTC (permalink / raw)
  To: openembedded-core

From: "Roy.Li" <rongqing.li@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@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}"
 
-- 
1.9.1



^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH] rpm: rpm needs gnupg to do signature
  2014-10-16  2:02 [PATCH] rpm: rpm needs gnupg to do signature rongqing.li
@ 2014-10-20  3:23 ` Rongqing Li
  2014-10-20 11:01 ` Burton, Ross
  1 sibling, 0 replies; 4+ messages in thread
From: Rongqing Li @ 2014-10-20  3:23 UTC (permalink / raw)
  To: rongqing.li; +Cc: openembedded-core

ping

-R

On 10/16/2014 10:02 AM, rongqing.li@windriver.com wrote:
> From: "Roy.Li" <rongqing.li@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@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


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] rpm: rpm needs gnupg to do signature
  2014-10-16  2:02 [PATCH] rpm: rpm needs gnupg to do signature rongqing.li
  2014-10-20  3:23 ` Rongqing Li
@ 2014-10-20 11:01 ` Burton, Ross
  2014-10-21  0:53   ` Rongqing Li
  1 sibling, 1 reply; 4+ messages in thread
From: Burton, Ross @ 2014-10-20 11:01 UTC (permalink / raw)
  To: rongqing.li@windriver.com; +Cc: OE-core

On 16 October 2014 03:02,  <rongqing.li@windriver.com> wrote:
> +RRECOMMENDS_${PN}_class-target = "gnupg"

Recommends means pulled into images unless you use BAD_RECOMMENDATIONS
to remove it.  As signing isn't a key part of RPM, maybe this should
be RSUGGESTS?

Ross


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] rpm: rpm needs gnupg to do signature
  2014-10-20 11:01 ` Burton, Ross
@ 2014-10-21  0:53   ` Rongqing Li
  0 siblings, 0 replies; 4+ messages in thread
From: Rongqing Li @ 2014-10-21  0:53 UTC (permalink / raw)
  To: Burton, Ross; +Cc: OE-core



On 10/20/2014 07:01 PM, Burton, Ross wrote:
> On 16 October 2014 03:02,  <rongqing.li@windriver.com> wrote:
>> +RRECOMMENDS_${PN}_class-target = "gnupg"
>
> Recommends means pulled into images unless you use BAD_RECOMMENDATIONS
> to remove it.  As signing isn't a key part of RPM, maybe this should
> be RSUGGESTS?
>
> Ross
>

I think gpg is a common and often used packages, installing it into
image is harmless.

-Roy

-- 
Best Reagrds,
Roy | RongQing Li


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2014-10-21  0:53 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-10-16  2:02 [PATCH] rpm: rpm needs gnupg to do signature rongqing.li
2014-10-20  3:23 ` Rongqing Li
2014-10-20 11:01 ` Burton, Ross
2014-10-21  0:53   ` Rongqing Li

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox