Re: [yocto] [yocto-autobuilder][PATCH] /bin/checkvnc

2017-08-16 Thread Joshua Lock
Thanks, queued for merge (after tweaking the commit message some) Joshua On 15/08/17 22:53, Graydon, Tracy wrote: [Yocto #11897] The checkvnc script uses deprecated netstat command for finding vnc sessions. This breaks on Centos, and will break on other OS as it is removed in the future. Drop

[yocto] [yocto-autobuilder][PATCH] /bin/checkvnc

2017-08-15 Thread Graydon, Tracy
[Yocto #11897] The checkvnc script uses deprecated netstat command for finding vnc sessions. This breaks on Centos, and will break on other OS as it is removed in the future. Drop the dependency on netstat and instead grep /proc/net/tcp for active sessions on 5901 port. Signed-off-by: Graydon, T

[yocto] [yocto-autobuilder][PATCH] /bin/checkvnc: un-bashify it

2016-09-09 Thread Graydon, Tracy
Script was using /bin/sh and double brackets were causing an error in nightly-oe-selftest build: /home/pokybuild/yocto-autobuilder/bin/checkvnc: 6: /home/pokybuild/yocto-autobuilder/bin/checkvnc: [[: not found Changed double to single brackets to make sh happy. Signed-off-by: Graydon, Tracy --

Re: [yocto] [yocto-autobuilder][PATCH] /bin/checkvnc

2016-09-09 Thread Graydon, Tracy
On second thought… Forget this one. I will submit a new patch that un-bashifies it. That would be the “right” thing to do. -t On 09/09/16, 1:15 PM, "yocto-boun...@yoctoproject.org on behalf of Graydon, Tracy" wrote: >Script was using /bin/sh and causing an error in nightly-oe-selftest >build: >

[yocto] [yocto-autobuilder][PATCH] /bin/checkvnc

2016-09-09 Thread Graydon, Tracy
Script was using /bin/sh and causing an error in nightly-oe-selftest build: /home/pokybuild/yocto-autobuilder/bin/checkvnc: 6: /home/pokybuild/yocto-autobuilder/bin/checkvnc: [[: not found Changing script to use /bin/bash instead fixes the issue. Signed-off-by: Graydon, Tracy --- bin/checkvnc