All of lore.kernel.org
 help / color / mirror / Atom feed
* pseudo interaction issue
@ 2012-02-17 17:35 Paul Eggleton
  2012-02-17 18:50 ` Mark Hatle
  0 siblings, 1 reply; 24+ messages in thread
From: Paul Eggleton @ 2012-02-17 17:35 UTC (permalink / raw)
  To: yocto

Hi all,

I'm trying to extend buildhistory to write out the metadata revisions just 
before it does the commit to the buildhistory repository, and I'm having some 
pseudo-related trouble. The structure is a little unusual, in that the 
execution flow is an event handler that calls a shell function (via 
bb.build.exec_func()) and during parsing this function an ${@...} reference to 
a python function is evaluated, which then calls os.popen(), at which point I 
get the error "pseudo: You must set the PSEUDO_PREFIX environment variable to 
run pseudo."

I don't need pseudo at this stage. I've tried setting PSEUDO_DISABLED=1 and 
even PSEUDO_UNLOAD=1 just prior to the os.popen() call (or within it) and 
despite evidence that pseudo is taking notice of these being set in other 
contexts (when the function is called from elsewhere) even when doing this I 
still get the error above. I could rearrange the structure to avoid this 
execution flow however that would bar me from reusing existing code that we 
have for getting the metadata revision.

Any suggestions?

Cheers,
Paul

-- 

Paul Eggleton
Intel Open Source Technology Centre


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

end of thread, other threads:[~2012-03-27 14:26 UTC | newest]

Thread overview: 24+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-02-17 17:35 pseudo interaction issue Paul Eggleton
2012-02-17 18:50 ` Mark Hatle
2012-03-14  9:02   ` Xu, Dongxiao
2012-03-22  1:49     ` Xu, Dongxiao
2012-03-22 16:18       ` Peter Seebach
2012-03-23  1:01         ` Xu, Dongxiao
2012-03-23  2:29           ` Peter Seebach
2012-03-23  3:21             ` Xu, Dongxiao
2012-03-23  7:16               ` Peter Seebach
2012-03-23 12:20                 ` Paul Eggleton
2012-03-23 20:06                   ` Peter Seebach
2012-03-23 22:45                   ` Peter Seebach
2012-03-24 17:15                     ` Richard Purdie
2012-03-24 17:41                       ` Richard Purdie
2012-03-26 16:44                         ` Peter Seebach
2012-03-26 16:47                           ` Richard Purdie
2012-03-26 17:18                             ` Peter Seebach
2012-03-26 21:45                               ` Richard Purdie
2012-03-27  3:47                                 ` Peter Seebach
2012-03-27 14:26                                 ` Peter Seebach
2012-03-26  7:43                       ` Peter Seebach
2012-03-26  9:23                         ` Richard Purdie
2012-03-26 20:36                       ` Peter Seebach
2012-03-26 20:41                       ` Peter Seebach

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.