Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH 0/1] sstate.bbclass: fixes for SSTATE_SIG_KEY when use SSTATE_MIRRORS
@ 2015-09-10 10:04 Robert Yang
  2015-09-10 10:04 ` [PATCH 1/1] " Robert Yang
  2015-09-10 10:14 ` [PATCH 0/1] " Burton, Ross
  0 siblings, 2 replies; 4+ messages in thread
From: Robert Yang @ 2015-09-10 10:04 UTC (permalink / raw)
  To: openembedded-core

The following changes since commit 56c5fa106eeccda2ca92dbeb73ff01ba40992e7d:

  ptest: use fakeroot for do_install_ptest_base (2015-09-09 14:25:09 +0100)

are available in the git repository at:

  git://git.openembedded.org/openembedded-core-contrib rbt/ss
  http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=rbt/ss

Robert Yang (1):
  sstate.bbclass: fixes for SSTATE_SIG_KEY when use SSTATE_MIRRORS

 meta/classes/sstate.bbclass |    7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

-- 
1.7.9.5



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

* [PATCH 1/1] sstate.bbclass: fixes for SSTATE_SIG_KEY when use SSTATE_MIRRORS
  2015-09-10 10:04 [PATCH 0/1] sstate.bbclass: fixes for SSTATE_SIG_KEY when use SSTATE_MIRRORS Robert Yang
@ 2015-09-10 10:04 ` Robert Yang
  2015-09-10 10:14 ` [PATCH 0/1] " Burton, Ross
  1 sibling, 0 replies; 4+ messages in thread
From: Robert Yang @ 2015-09-10 10:04 UTC (permalink / raw)
  To: openembedded-core

Fixed:
WARNING: Failed to fetch URL file://Ubuntu-12.04/39/sstate:m4-native:x86_64-linux:1.4.17:r0:x86_64:3:39ecb836d5fc7802ce6f45f33f1cae36_populate_sysroot.tgz.sig, attempting MIRRORS if available
ERROR: Fetcher failure: Unable to find file file://Ubuntu-12.04/39/sstate:m4-native:x86_64-linux:1.4.17:r0:x86_64:3:39ecb836d5fc7802ce6f45f33f1cae36_populate_sysroot.tgz.sig anywhere. The paths that were searched were:

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
---
 meta/classes/sstate.bbclass |    7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/meta/classes/sstate.bbclass b/meta/classes/sstate.bbclass
index 77313bc..7e682fe 100644
--- a/meta/classes/sstate.bbclass
+++ b/meta/classes/sstate.bbclass
@@ -615,9 +615,10 @@ def pstaging_fetch(sstatefetch, sstatepkg, d):
 
     # Try a fetch from the sstate mirror, if it fails just return and
     # we will build the package
-    for srcuri in ['file://{0}'.format(sstatefetch),
-                   'file://{0}.siginfo'.format(sstatefetch),
-                   'file://{0}.sig'.format(sstatefetch)]:
+    srcuris = ['file://{0}'.format(sstatefetch), 'file://{0}.siginfo'.format(sstatefetch)]
+    if d.getVar("SSTATE_SIG_KEY", True):
+        srcuris.append('file://{0}.sig'.format(sstatefetch))
+    for srcuri in srcuris:
         localdata.setVar('SRC_URI', srcuri)
         try:
             fetcher = bb.fetch2.Fetch([srcuri], localdata, cache=False)
-- 
1.7.9.5



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

* Re: [PATCH 0/1] sstate.bbclass: fixes for SSTATE_SIG_KEY when use SSTATE_MIRRORS
  2015-09-10 10:04 [PATCH 0/1] sstate.bbclass: fixes for SSTATE_SIG_KEY when use SSTATE_MIRRORS Robert Yang
  2015-09-10 10:04 ` [PATCH 1/1] " Robert Yang
@ 2015-09-10 10:14 ` Burton, Ross
  2015-09-10 10:23   ` Robert Yang
  1 sibling, 1 reply; 4+ messages in thread
From: Burton, Ross @ 2015-09-10 10:14 UTC (permalink / raw)
  To: Robert Yang; +Cc: OE-core

[-- Attachment #1: Type: text/plain, Size: 982 bytes --]

I sent an almost identical patch to this yesterday :)

(your patch breaks is SSTATE_VERIFY_KEY="0")

Ross

On 10 September 2015 at 11:04, Robert Yang <liezhi.yang@windriver.com>
wrote:

> The following changes since commit
> 56c5fa106eeccda2ca92dbeb73ff01ba40992e7d:
>
>   ptest: use fakeroot for do_install_ptest_base (2015-09-09 14:25:09 +0100)
>
> are available in the git repository at:
>
>   git://git.openembedded.org/openembedded-core-contrib rbt/ss
>
> http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=rbt/ss
>
> Robert Yang (1):
>   sstate.bbclass: fixes for SSTATE_SIG_KEY when use SSTATE_MIRRORS
>
>  meta/classes/sstate.bbclass |    7 ++++---
>  1 file changed, 4 insertions(+), 3 deletions(-)
>
> --
> 1.7.9.5
>
> --
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core
>

[-- Attachment #2: Type: text/html, Size: 1846 bytes --]

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

* Re: [PATCH 0/1] sstate.bbclass: fixes for SSTATE_SIG_KEY when use SSTATE_MIRRORS
  2015-09-10 10:14 ` [PATCH 0/1] " Burton, Ross
@ 2015-09-10 10:23   ` Robert Yang
  0 siblings, 0 replies; 4+ messages in thread
From: Robert Yang @ 2015-09-10 10:23 UTC (permalink / raw)
  To: Burton, Ross; +Cc: OE-core



On 09/10/2015 06:14 PM, Burton, Ross wrote:
> I sent an almost identical patch to this yesterday :)

Thanks, please drop this one, something is wrong with my
thunderbird's searching, I had searched before I worked on it,
but didn't find the patch, I searched it again just now, and
did find it. (while its sorting isn't correct)

// Robert

>
> (your patch breaks is SSTATE_VERIFY_KEY="0")
>
> Ross
>
> On 10 September 2015 at 11:04, Robert Yang <liezhi.yang@windriver.com
> <mailto:liezhi.yang@windriver.com>> wrote:
>
>     The following changes since commit 56c5fa106eeccda2ca92dbeb73ff01ba40992e7d:
>
>        ptest: use fakeroot for do_install_ptest_base (2015-09-09 14:25:09 +0100)
>
>     are available in the git repository at:
>
>        git://git.openembedded.org/openembedded-core-contrib
>     <http://git.openembedded.org/openembedded-core-contrib> rbt/ss
>     http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=rbt/ss
>
>     Robert Yang (1):
>        sstate.bbclass: fixes for SSTATE_SIG_KEY when use SSTATE_MIRRORS
>
>       meta/classes/sstate.bbclass |    7 ++++---
>       1 file changed, 4 insertions(+), 3 deletions(-)
>
>     --
>     1.7.9.5
>
>     --
>     _______________________________________________
>     Openembedded-core mailing list
>     Openembedded-core@lists.openembedded.org
>     <mailto:Openembedded-core@lists.openembedded.org>
>     http://lists.openembedded.org/mailman/listinfo/openembedded-core
>
>


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

end of thread, other threads:[~2015-09-10 10:23 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-09-10 10:04 [PATCH 0/1] sstate.bbclass: fixes for SSTATE_SIG_KEY when use SSTATE_MIRRORS Robert Yang
2015-09-10 10:04 ` [PATCH 1/1] " Robert Yang
2015-09-10 10:14 ` [PATCH 0/1] " Burton, Ross
2015-09-10 10:23   ` Robert Yang

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