mirror of
https://git.yoctoproject.org/poky
synced 2026-02-05 16:28:43 +01:00
oeqa/selftest/wic: Use a subdir of builddir, not /var/
Using /var/ leave wic open to races with other processes on the system, use a subdir of builddir instead to avoid this. (From OE-Core rev: e07ec908ce7f26143a7bdf0a07a1230c0fd6ac87) (From OE-Core rev: 17223b0045896c9f342e9079d2345b730a3048cc) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
@@ -64,13 +64,13 @@ def only_for_arch(archs, image='core-image-minimal'):
|
||||
class Wic(OESelftestTestCase):
|
||||
"""Wic test class."""
|
||||
|
||||
resultdir = "/var/tmp/wic.oe-selftest/"
|
||||
image_is_ready = False
|
||||
native_sysroot = None
|
||||
wicenv_cache = {}
|
||||
|
||||
def setUpLocal(self):
|
||||
"""This code is executed before each test method."""
|
||||
self.resultdir = self.builddir + "/wic-tmp/"
|
||||
super(Wic, self).setUpLocal()
|
||||
if not self.native_sysroot:
|
||||
Wic.native_sysroot = get_bb_var('STAGING_DIR_NATIVE', 'wic-tools')
|
||||
|
||||
Reference in New Issue
Block a user