* [PATCH 0/1] bitbake: fix bug #1492
@ 2012-01-31 6:18 Lianhao Lu
2012-01-31 6:18 ` [PATCH 1/1] prserv: Do not ping PRService if not required Lianhao Lu
2012-02-01 15:09 ` [PATCH 0/1] bitbake: fix bug #1492 Richard Purdie
0 siblings, 2 replies; 5+ messages in thread
From: Lianhao Lu @ 2012-01-31 6:18 UTC (permalink / raw)
To: bitbake-devel
The following changes since commit 636d7e308fefe7cca67166d564c3a8f877f2ca86:
Richard Purdie (1):
useradd.bbclass: Fix missing quote
are available in the git repository at:
git://git.pokylinux.org/poky-contrib llu/bug1942
http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=llu/bug1942
Lianhao Lu (1):
prserv: Do not ping PRService if not required
bitbake/lib/prserv/serv.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
^ permalink raw reply [flat|nested] 5+ messages in thread* [PATCH 1/1] prserv: Do not ping PRService if not required 2012-01-31 6:18 [PATCH 0/1] bitbake: fix bug #1492 Lianhao Lu @ 2012-01-31 6:18 ` Lianhao Lu 2012-01-31 15:34 ` Khem Raj 2012-02-01 15:09 ` [PATCH 0/1] bitbake: fix bug #1492 Richard Purdie 1 sibling, 1 reply; 5+ messages in thread From: Lianhao Lu @ 2012-01-31 6:18 UTC (permalink / raw) To: bitbake-devel [YOCTO #1942] Ping the PRService only if PRSERV_HOST and PRSERV_PORT are set. Signed-off-by: Lianhao Lu <lianhao.lu@intel.com> --- bitbake/lib/prserv/serv.py | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/bitbake/lib/prserv/serv.py b/bitbake/lib/prserv/serv.py index fa437f9..5567c6f 100644 --- a/bitbake/lib/prserv/serv.py +++ b/bitbake/lib/prserv/serv.py @@ -268,7 +268,7 @@ def is_local_special(host, port): def auto_start(d): global singleton - if d.getVar('USE_PR_SERV', True) == '0': + if (not d.getVar('PRSERV_HOST', True)) or (not d.getVar('PRSERV_PORT', True)): return True if is_local_special(d.getVar('PRSERV_HOST', True), int(d.getVar('PRSERV_PORT', True))) and not singleton: -- 1.7.0.4 ^ permalink raw reply related [flat|nested] 5+ messages in thread
* Re: [PATCH 1/1] prserv: Do not ping PRService if not required 2012-01-31 6:18 ` [PATCH 1/1] prserv: Do not ping PRService if not required Lianhao Lu @ 2012-01-31 15:34 ` Khem Raj 2012-02-01 1:08 ` Lu, Lianhao 0 siblings, 1 reply; 5+ messages in thread From: Khem Raj @ 2012-01-31 15:34 UTC (permalink / raw) To: Lianhao Lu; +Cc: bitbake-devel On Mon, Jan 30, 2012 at 10:18 PM, Lianhao Lu <lianhao.lu@intel.com> wrote: > [YOCTO #1942] > Ping the PRService only if PRSERV_HOST and PRSERV_PORT are set. > > Signed-off-by: Lianhao Lu <lianhao.lu@intel.com> > --- > bitbake/lib/prserv/serv.py | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > > diff --git a/bitbake/lib/prserv/serv.py b/bitbake/lib/prserv/serv.py > index fa437f9..5567c6f 100644 > --- a/bitbake/lib/prserv/serv.py > +++ b/bitbake/lib/prserv/serv.py > @@ -268,7 +268,7 @@ def is_local_special(host, port): > > def auto_start(d): > global singleton > - if d.getVar('USE_PR_SERV', True) == '0': > + if (not d.getVar('PRSERV_HOST', True)) or (not d.getVar('PRSERV_PORT', True)): should it warn in case when USE_PR_SERV is set but one of PRSERV_HOST or PRSERV_PORT are unset > return True > > if is_local_special(d.getVar('PRSERV_HOST', True), int(d.getVar('PRSERV_PORT', True))) and not singleton: > -- > 1.7.0.4 > > > _______________________________________________ > bitbake-devel mailing list > bitbake-devel@lists.openembedded.org > http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/bitbake-devel ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH 1/1] prserv: Do not ping PRService if not required 2012-01-31 15:34 ` Khem Raj @ 2012-02-01 1:08 ` Lu, Lianhao 0 siblings, 0 replies; 5+ messages in thread From: Lu, Lianhao @ 2012-02-01 1:08 UTC (permalink / raw) To: Khem Raj; +Cc: bitbake-devel@lists.openembedded.org Khem Raj wrote on 2012-01-31: > On Mon, Jan 30, 2012 at 10:18 PM, Lianhao Lu <lianhao.lu@intel.com> wrote: >> [YOCTO #1942] >> Ping the PRService only if PRSERV_HOST and PRSERV_PORT are set. >> >> Signed-off-by: Lianhao Lu <lianhao.lu@intel.com> >> --- >> bitbake/lib/prserv/serv.py | 2 +- >> 1 files changed, 1 insertions(+), 1 deletions(-) >> >> diff --git a/bitbake/lib/prserv/serv.py b/bitbake/lib/prserv/serv.py >> index fa437f9..5567c6f 100644 >> --- a/bitbake/lib/prserv/serv.py >> +++ b/bitbake/lib/prserv/serv.py >> @@ -268,7 +268,7 @@ def is_local_special(host, port): >> >> def auto_start(d): >> global singleton >> - if d.getVar('USE_PR_SERV', True) == '0': >> + if (not d.getVar('PRSERV_HOST', True)) or (not d.getVar('PRSERV_PORT', True)): > > > should it warn in case when USE_PR_SERV is set but one of PRSERV_HOST > or PRSERV_PORT are unset USE_PR_SERV will also be set if PRSERV_LOCKDOWN is set in the case of release 'lockdown'. >> return True >> >> if is_local_special(d.getVar('PRSERV_HOST', True), int(d.getVar('PRSERV_PORT', True))) and not singleton: >> -- >> 1.7.0.4 >> >> >> _______________________________________________ >> bitbake-devel mailing list >> bitbake-devel@lists.openembedded.org >> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/bitbake-devel ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH 0/1] bitbake: fix bug #1492 2012-01-31 6:18 [PATCH 0/1] bitbake: fix bug #1492 Lianhao Lu 2012-01-31 6:18 ` [PATCH 1/1] prserv: Do not ping PRService if not required Lianhao Lu @ 2012-02-01 15:09 ` Richard Purdie 1 sibling, 0 replies; 5+ messages in thread From: Richard Purdie @ 2012-02-01 15:09 UTC (permalink / raw) To: Lianhao Lu; +Cc: bitbake-devel On Tue, 2012-01-31 at 14:18 +0800, Lianhao Lu wrote: > The following changes since commit 636d7e308fefe7cca67166d564c3a8f877f2ca86: > Richard Purdie (1): > useradd.bbclass: Fix missing quote > > are available in the git repository at: > > git://git.pokylinux.org/poky-contrib llu/bug1942 > http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=llu/bug1942 > > Lianhao Lu (1): > prserv: Do not ping PRService if not required Merged to master, thanks. Richard ^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2012-02-01 15:17 UTC | newest] Thread overview: 5+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2012-01-31 6:18 [PATCH 0/1] bitbake: fix bug #1492 Lianhao Lu 2012-01-31 6:18 ` [PATCH 1/1] prserv: Do not ping PRService if not required Lianhao Lu 2012-01-31 15:34 ` Khem Raj 2012-02-01 1:08 ` Lu, Lianhao 2012-02-01 15:09 ` [PATCH 0/1] bitbake: fix bug #1492 Richard Purdie
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.