diff options
-rw-r--r-- | meta/classes/testimage-auto.bbclass | 1 | ||||
-rw-r--r-- | meta/classes/testimage.bbclass | 4 |
2 files changed, 5 insertions, 0 deletions
diff --git a/meta/classes/testimage-auto.bbclass b/meta/classes/testimage-auto.bbclass index a5b8f7f14a..860599d2b5 100644 --- a/meta/classes/testimage-auto.bbclass +++ b/meta/classes/testimage-auto.bbclass @@ -20,3 +20,4 @@ python do_testimage_auto() { } addtask testimage_auto before do_build after do_rootfs do_testimage_auto[depends] += "${TESTIMAGEDEPENDS}" +do_testimage_auto[lockfiles] += "${TESTIMAGELOCK}" diff --git a/meta/classes/testimage.bbclass b/meta/classes/testimage.bbclass index 48e1032326..691c7f6785 100644 --- a/meta/classes/testimage.bbclass +++ b/meta/classes/testimage.bbclass @@ -42,12 +42,16 @@ TEST_SERVER_IP ?= "" TESTIMAGEDEPENDS = "" TESTIMAGEDEPENDS_qemuall = "qemu-native:do_populate_sysroot qemu-helper-native:do_populate_sysroot" +TESTIMAGELOCK = "${TMPDIR}/testimage.lock" +TESTIMAGELOCK_qemuall = "" + python do_testimage() { testimage_main(d) } addtask testimage do_testimage[nostamp] = "1" do_testimage[depends] += "${TESTIMAGEDEPENDS}" +do_testimage[lockfiles] += "${TESTIMAGELOCK}" def get_tests_list(d): |