Home
last modified time | relevance | path

Searched refs:image_path (Results 1 – 17 of 17) sorted by relevance

/openbmc/openbmc/poky/meta/lib/oeqa/selftest/cases/
H A Dimagefeatures.py110 bmap_path = "%s.bmap" % image_path
114 self.assertTrue(os.path.exists(image_path))
119 image_stat = os.stat(image_path)
146 image_path = os.path.join(bb_vars['DEPLOY_DIR_IMAGE'], "%s.ext4.%s" %
150 self.assertTrue(os.path.exists(image_path))
154 result = runCmd('qemu-img info --output json %s' % image_path,
181 image_path = os.path.join(bb_vars['DEPLOY_DIR_IMAGE'], "%s.%s" %
185 self.assertTrue(os.path.exists(image_path))
186 self.assertTrue(os.path.exists(image_path + ".sha256sum"))
229 self.assertTrue(os.path.exists(image_path),
[all …]
H A Dwic.py1199 …self.assertTrue(os.path.exists(image_path), msg="Image file %s wasn't generated as expected" % ima…
1431 cmd = "wic write -n %s --expand 1:0 %s %s" % (sysroot, image_path, new_image_path)
1435 orig = runCmd("wic ls %s -n %s" % (image_path, sysroot))
1446 os.rename(image_path, image_path + '.bak')
1447 os.rename(new_image_path, image_path)
1457 if os.path.exists(image_path + '.bak'):
1458 os.rename(image_path + '.bak', image_path)
1474 self.assertTrue(os.path.exists(image_path), "image file %s doesn't exist" % image_path)
1478 result = runCmd("%s/usr/sbin/sfdisk --part-label %s 1" % (sysroot, image_path))
1480 result = runCmd("%s/usr/sbin/sfdisk --part-label %s 2" % (sysroot, image_path))
[all …]
/openbmc/qemu/tests/avocado/
H A Dmachine_aspeed.py121 image_path = self.fetch_asset(image_url, asset_hash=image_hash,
124 self.do_test_arm_aspeed(image_path)
135 image_path = self.fetch_asset(image_url, asset_hash=image_hash,
138 self.do_test_arm_aspeed(image_path)
173 image_path = self.fetch_asset(image_url, asset_hash=image_hash,
201 image_path = self.fetch_asset(image_url, asset_hash=image_hash,
248 image_path = self.fetch_asset(image_url, asset_hash=image_hash,
336 image_path = self.fetch_asset(image_url, asset_hash=image_hash,
338 archive.extract(image_path, self.workdir)
357 archive.extract(image_path, self.workdir)
[all …]
H A Dtesseract_utils.py33 def tesseract_ocr(image_path, tesseract_args='', tesseract_version=3): argument
35 console_logger.debug(image_path)
39 image_path))
H A Dreverse_debugging.py38 def run_vm(self, record, shift, args, replay_path, image_path, port): argument
52 vm.add_args('-drive', 'file=%s,if=none' % image_path)
107 image_path = os.path.join(self.workdir, 'disk.qcow2')
114 cmd = '%s create -f qcow2 %s 128M' % (qemu_img, image_path)
121 vm = self.run_vm(True, shift, args, replay_path, image_path, port)
130 vm = self.run_vm(False, shift, args, replay_path, image_path, port)
H A Dboot_linux_console.py754 image_path = archive.extract(image_path_gz, self.workdir)
755 image_pow2ceil_expand(image_path)
801 image_path = os.path.join(self.workdir, image_name)
802 archive.gzip_uncompress(image_path_gz, image_path)
1018 image_path = archive.extract(image_path_gz, self.workdir)
1019 image_pow2ceil_expand(image_path)
1191 image_pow2ceil_expand(image_path)
1242 image_path = os.path.join(self.workdir, 'armv7.img')
1243 archive.gzip_uncompress(image_path_gz, image_path)
1244 image_pow2ceil_expand(image_path)
[all …]
H A Dmachine_aarch64_virt.py100 image_path = os.path.join(self.workdir, 'scratch.qcow2')
107 cmd = '%s create -f qcow2 %s 8M' % (qemu_img, image_path)
H A Dlinux_ssh_mips_malta.py79 image_path = self.fetch_asset(image_url, asset_hash=image_hash)
87 '-drive', 'file=%s,snapshot=on' % image_path,
/openbmc/qemu/tests/qemu-iotests/
H A D14964 def image_path(self): member in LUKSConfig
139 args = ["luksAddKey", config.image_path(),
172 args.append(config.image_path())
200 args = ["luksOpen", config.image_path(), config.device_name()]
216 os.unlink(config.image_path())
217 iotests.log("unlink %s" % config.image_path(),
227 iotests.log("truncate %s --size %dMB" % (config.image_path(), size_mb),
229 with open(config.image_path(), "w") as fn:
264 config.image_path(),
288 config.image_path())]
H A D14133 def __init__(self, name, vm, image_path, cancel_event): argument
36 self.image_path = image_path
44 file={'driver': 'file', 'filename': self.image_path}, \
/openbmc/u-boot/cmd/
H A Dbootefi.c203 struct efi_device_path *image_path, in bootefi_run_prepare() argument
209 ret = efi_setup_loaded_image(device_path, image_path, image_objp, in bootefi_run_prepare()
247 struct efi_device_path *image_path) in do_bootefi_exec() argument
260 if (!device_path && !image_path) { in do_bootefi_exec()
264 device_path = image_path = memdp; in do_bootefi_exec()
277 assert(device_path && image_path); in do_bootefi_exec()
280 ret = bootefi_run_prepare("bootargs", device_path, image_path, in do_bootefi_exec()
H A Defidebug.c105 u16 **image_path) in efi_get_driver_handle_info() argument
120 *image_path = NULL; in efi_get_driver_handle_info()
125 *image_path = efi_dp_str(image->file_path); in efi_get_driver_handle_info()
/openbmc/openbmc-test-automation/lib/
H A Dcode_update_utils.py275 image_path = get_image_path(image_version)
276 image_version_id = image_path.split("/")[-2]
279 image_purpose = get_image_purpose(image_path + "MANIFEST")
/openbmc/qemu/tests/qtest/
H A Dpflash-cfi02-test.c59 static char *image_path; variable
282 image_path, in test_geometry()
585 image_path); in test_cfi_in_autoselect()
610 unlink(image_path); in cleanup()
611 g_free(image_path); in cleanup()
640 int fd = g_file_open_tmp("qtest.XXXXXX", &image_path, &err); in main()
647 g_printerr("Failed to truncate file %s to %u MB: %s\n", image_path, in main()
/openbmc/openbmc/meta-arm/meta-arm-bsp/conf/machine/
H A Dfvp-base.conf52 FVP_CONFIG[bp.virtioblockdevice.image_path] ?= "${IMAGE_NAME}.wic"
/openbmc/u-boot/board/gdsys/p1022/
H A Dcontrolcenterd-id.c1045 const char *image_path = "/ccdm.itb"; in second_stage_init() local
1082 image_path = cptr; in second_stage_init()
1084 mac_path = malloc(strlen(image_path) + strlen(mac_suffix) + 1); in second_stage_init()
1087 strcpy(mac_path, image_path); in second_stage_init()
1094 if (fs_read(image_path, image_addr, 0, 0, &image_size) < 0) in second_stage_init()
/openbmc/openbmc/poky/scripts/lib/wic/plugins/imager/
H A Ddirect.py78 image_path = self._full_path(self.workdir, self.parts[0].disk, "direct")
79 self._image = PartitionedImage(image_path, self.ptable_format,