Home
last modified time | relevance | path

Searched refs:tmp_dir (Results 1 – 13 of 13) sorted by relevance

/openbmc/openbmc/poky/meta/lib/oe/package_manager/
H A Dcommon_deb_ipk.py64 tmp_dir = tempfile.mkdtemp()
66 os.chdir(tmp_dir)
80 bb.utils.remove(tmp_dir, recurse=True)
84 bb.utils.remove(tmp_dir, recurse=True)
88 bb.note("Extracted %s to %s" % (pkg_path, tmp_dir))
89 bb.utils.remove(os.path.join(tmp_dir, "debian-binary"))
90 bb.utils.remove(os.path.join(tmp_dir, "control.tar.gz"))
91 bb.utils.remove(os.path.join(tmp_dir, data_tar))
94 return tmp_dir
/openbmc/openbmc/meta-openembedded/meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools/debian/system/core/
H A Dmove-log-file-to-proper-dir.patch18 const char* tmp_dir = getenv("TMPDIR");
19 if (tmp_dir == nullptr) tmp_dir = "/tmp";
20 return android::base::StringPrintf("%s/adb.%u.log", tmp_dir, getuid());
/openbmc/openbmc/meta-openembedded/meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools/debian/
H A Dmove-log-file-to-proper-dir.patch18 const char* tmp_dir = getenv("TMPDIR");
19 if (tmp_dir == nullptr) tmp_dir = "/tmp";
20 return android::base::StringPrintf("%s/adb.%u.log", tmp_dir, getuid());
/openbmc/openbmc/poky/meta/lib/oeqa/selftest/cases/
H A Dliboe.py17 cls.tmp_dir = get_bb_var('TMPDIR')
27 testloc = oe.path.join(self.tmp_dir, 'liboetests')
52 testloc = oe.path.join(self.tmp_dir, 'liboetests')
85 testloc = oe.path.join(self.tmp_dir, 'liboetests')
/openbmc/qemu/ui/
H A Dspice-app.c42 static const char *tmp_dir; variable
129 if (tmp_dir) { in spice_app_atexit()
130 rmdir(tmp_dir); in spice_app_atexit()
163 tmp_dir = app_dir; in spice_app_display_early_init()
/openbmc/openbmc/poky/meta/lib/oeqa/buildperf/
H A Dtest_basic.py47 postfile = os.path.join(self.tmp_dir, 'postfile.conf')
103 tmp_dir = self.bb_vars['TMPDIR']
111 deploy_dir = os.path.join(tmp_dir, 'esdk-deploy')
H A Dbase.py267 def tmp_dir(self): member in BuildPerfTestCase
275 if not os.path.isdir(self.tmp_dir):
276 os.mkdir(self.tmp_dir)
282 if os.path.isdir(self.tmp_dir):
283 shutil.rmtree(self.tmp_dir)
/openbmc/qemu/hw/s390x/
H A Ds390-ccw.c80 g_autofree char *tmp_dir = NULL; in s390_ccw_get_dev_info() local
97 tmp_dir = g_path_get_dirname(dev_path); in s390_ccw_get_dev_info()
98 tmp = g_path_get_basename(tmp_dir); in s390_ccw_get_dev_info()
/openbmc/openbmc/poky/meta/lib/oe/package_manager/rpm/
H A D__init__.py403 tmp_dir = tempfile.mkdtemp()
405 os.chdir(tmp_dir)
411 bb.utils.remove(tmp_dir, recurse=True)
415 bb.utils.remove(tmp_dir, recurse=True)
419 bb.note("Extracted %s to %s" % (pkg_path, tmp_dir))
422 return tmp_dir
/openbmc/openbmc/poky/meta/lib/oe/
H A Dgpg_sign.py93 with tempfile.TemporaryDirectory(dir=os.path.dirname(output_file)) as tmp_dir:
94 tmp_file = os.path.join(tmp_dir, os.path.basename(output_file))
/openbmc/openbmc/poky/meta/lib/oeqa/utils/
H A Dsshcontrol.py172 tmp_dir = os.path.join(root, d).replace(localpath, "")
173 new_dir = os.path.join(remotepath, tmp_dir.lstrip("/"))
/openbmc/openbmc/poky/meta/classes-global/
H A Dsstate.bbclass849 with TemporaryDirectory(dir=sstate_pkg.parent) as tmp_dir:
850 tmp_pkg = Path(tmp_dir) / sstate_pkg.name
858 tmp_pkg_sig = Path(tmp_dir) / sstate_pkg_sig.name
/openbmc/openbmc/poky/bitbake/lib/bb/ui/
H A Dbuildinfohelper.py907 self.tmp_dir = self.server.runCommand(["getVariable", "TMPDIR"])[0]