mirror of
git://git.yoctoproject.org/yocto-autobuilder-helper.git
synced 2025-07-19 20:59:02 +02:00
scripts/checkvnc: Add checkvnc script from old autobuilder codebase
Update the scripts to correctly reference the new script. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
db7588f5f8
commit
1cb54ada86
10
scripts/checkvnc
Executable file
10
scripts/checkvnc
Executable file
|
@ -0,0 +1,10 @@
|
|||
#!/bin/sh
|
||||
#
|
||||
# check if vnc server is running, and if not, cleanup and restart
|
||||
#
|
||||
grep ':170D' /proc/net/tcp > /dev/null
|
||||
if [ $? != 0 ]; then
|
||||
echo "Xvnc not running, attempting restart"
|
||||
vncserver -kill :1
|
||||
vncserver
|
||||
fi
|
|
@ -140,7 +140,7 @@ for stepnum in range(1, maxsteps + 1):
|
|||
sanitytargets = utils.getconfigvar("SANITYTARGETS", ourconfig, target, stepnum)
|
||||
if sanitytargets:
|
||||
utils.printheader("Step %s/%s: Running bitbake %s" % (stepnum, maxsteps, sanitytargets))
|
||||
bitbakecmd(builddir, "checkvnc; DISPLAY=:1 bitbake %s" % sanitytargets, report, stepnum)
|
||||
bitbakecmd(builddir, "%s/checkvnc; DISPLAY=:1 bitbake %s" % (scriptsdir, sanitytargets), report, stepnum)
|
||||
|
||||
# Run any extra commands specified
|
||||
cmds = utils.getconfiglist("EXTRACMDS", ourconfig, target, stepnum)
|
||||
|
|
Loading…
Reference in New Issue
Block a user