diff options
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/autobuilder-worker-prereq-tests | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/scripts/autobuilder-worker-prereq-tests b/scripts/autobuilder-worker-prereq-tests index bb46c69135..358dd2beee 100755 --- a/scripts/autobuilder-worker-prereq-tests +++ b/scripts/autobuilder-worker-prereq-tests | |||
@@ -15,6 +15,12 @@ | |||
15 | # test buildistory git repo works? | 15 | # test buildistory git repo works? |
16 | # | 16 | # |
17 | 17 | ||
18 | if [ ! -x $HOME/yocto-autobuilder-helper/scripts/checkvnc ]; then | ||
19 | echo "$HOME/yocto-autobuilder-helper should be created." | ||
20 | exit 1 | ||
21 | fi | ||
22 | $HOME/yocto-autobuilder-helper/scripts/checkvnc | ||
23 | |||
18 | . ./oe-init-build-env > /dev/null | 24 | . ./oe-init-build-env > /dev/null |
19 | if [ "$?" != "0" ]; then | 25 | if [ "$?" != "0" ]; then |
20 | exit 1 | 26 | exit 1 |
@@ -53,12 +59,12 @@ if [ ! -e bzImage-qemux86-64.bin ]; then | |||
53 | fi | 59 | fi |
54 | popd | 60 | popd |
55 | bitbake qemu-helper-native | 61 | bitbake qemu-helper-native |
56 | runqemu qemux86-64 | 62 | DISPLAY=:1 runqemu serialstdio qemux86-64 |
57 | if [ "$?" != "0" ]; then | 63 | if [ "$?" != "0" ]; then |
58 | echo "Unable to use runqemu" | 64 | echo "Unable to use runqemu" |
59 | exit 1 | 65 | exit 1 |
60 | fi | 66 | fi |
61 | runqemu qemux86-64 kvm | 67 | DISPLAY=:1 runqemu serialstdio qemux86-64 kvm |
62 | if [ "$?" != "0" ]; then | 68 | if [ "$?" != "0" ]; then |
63 | echo "Unable to use runqemu with kvm" | 69 | echo "Unable to use runqemu with kvm" |
64 | exit 1 | 70 | exit 1 |