/openbmc/openbmc/poky/scripts/lib/wic/ |
H A D | partition.py | 128 bootimg_dir, kernel_dir, native_sysroot, updated_fstab_path): argument 147 native_sysroot) 161 method(rootfs, oe_builddir, native_sysroot) 184 kernel_dir, native_sysroot) 187 kernel_dir, native_sysroot) 190 kernel_dir, rootfs_dir, native_sysroot) 193 kernel_dir, rootfs_dir, native_sysroot) 208 native_sysroot, real_rootfs = True, pseudo_dir = None): argument 221 p_prefix = os.environ.get("PSEUDO_PREFIX", "%s/usr" % native_sysroot) 263 method(rootfs, cr_workdir, oe_builddir, rootfs_dir, native_sysroot, pseudo) [all …]
|
H A D | engine.py | 144 native_sysroot, options): argument 188 native_sysroot, oe_builddir, options) 225 def __init__(self, imagepath, native_sysroot, fstypes=('fat', 'ext')): argument 227 self.native_sysroot = native_sysroot 254 if native_sysroot: 256 self.paths = "%s%s:%s" % (native_sysroot, path, self.paths) 573 def wic_ls(args, native_sysroot): argument 575 disk = Disk(args.path.image, native_sysroot) 587 def wic_cp(args, native_sysroot): argument 593 disk = Disk(args.src.image, native_sysroot) [all …]
|
H A D | misc.py | 128 def exec_native_cmd(cmd_and_args, native_sysroot, pseudo=""): argument 147 (native_sysroot, native_sysroot, 148 native_sysroot, native_sysroot, target_sys, 149 native_sysroot, hosttools_dir)
|
H A D | pluginbase.py | 90 bootimg_dir, kernel_dir, native_sysroot): argument 101 native_sysroot): argument 118 native_sysroot): argument 129 native_sysroot): argument 139 native_sysroot): argument
|
/openbmc/openbmc/poky/scripts/lib/wic/plugins/source/ |
H A D | rootfs.py | 65 def __get_pseudo(native_sysroot, rootfs, pseudo_dir): argument 66 pseudo = "export PSEUDO_PREFIX=%s/usr;" % native_sysroot 76 krootfs_dir, native_sysroot): argument 137 pseudo_cmd = "%s -B -m %s -M %s" % (cls.__get_pseudo(native_sysroot, 141 exec_native_cmd(pseudo_cmd, native_sysroot) 166 exec_native_cmd(tar_cmd, native_sysroot) 173 pseudo = cls.__get_pseudo(native_sysroot, include_path, 180 exec_native_cmd(tar_cmd, native_sysroot, pseudo) 192 pseudo = cls.__get_pseudo(native_sysroot, new_rootfs, new_pseudo) 195 exec_native_cmd(untar_cmd, native_sysroot, pseudo) [all …]
|
H A D | bootimg-biosplusefi.py | 121 bootimg_dir, kernel_dir, native_sysroot): argument 138 native_sysroot) 148 native_sysroot) 153 native_sysroot): argument 169 native_sysroot) 179 native_sysroot) 184 rootfs_dir, native_sysroot): argument 202 native_sysroot) 213 native_sysroot)
|
H A D | bootimg-pcbios.py | 52 bootimg_dir, kernel_dir, native_sysroot): argument 77 exec_cmd(dd_cmd, native_sysroot) 82 native_sysroot): argument 140 rootfs_dir, native_sysroot): argument 193 exec_native_cmd(dosfs_cmd, native_sysroot) 196 exec_native_cmd(mcopy_cmd, native_sysroot) 199 exec_native_cmd(syslinux_cmd, native_sysroot)
|
H A D | isoimage-isohybrid.py | 202 native_sysroot): argument 236 rootfs_dir, native_sysroot): argument 372 exec_native_cmd(dosfs_cmd, native_sysroot) 375 exec_native_cmd(mmd_cmd, native_sysroot) 379 exec_native_cmd(mcopy_cmd, native_sysroot) 428 exec_native_cmd(mkisofs_cmd, native_sysroot) 441 bootimg_dir, kernel_dir, native_sysroot): argument 454 exec_native_cmd(isohybrid_cmd, native_sysroot)
|
H A D | bootimg-partition.py | 40 native_sysroot): argument 134 rootfs_dir, native_sysroot): argument 162 native_sysroot, False)
|
H A D | bootimg-efi.py | 216 native_sysroot): argument 292 rootfs_dir, native_sysroot): argument 413 exec_native_cmd(dosfs_cmd, native_sysroot) 417 out = exec_native_cmd(mcopy_cmd, native_sysroot)
|
H A D | empty.py | 49 rootfs_dir, native_sysroot): argument
|
H A D | rawcopy.py | 72 rootfs_dir, native_sysroot): argument
|
/openbmc/openbmc/poky/scripts/ |
H A D | wic | 119 (options.native_sysroot, 'native-sysroot')]: 153 native_sysroot = options.native_sysroot 154 if options.vars_dir and not native_sysroot: 155 native_sysroot = get_bitbake_var("RECIPE_SYSROOT_NATIVE", options.image_name) 160 native_sysroot = options.native_sysroot 165 if not options.vars_dir and (not native_sysroot or not os.path.isdir(native_sysroot)): 168 native_sysroot = get_bitbake_var("RECIPE_SYSROOT_NATIVE", "wic-tools") 170 if not native_sysroot: 188 native_sysroot = options.native_sysroot 195 if not os.path.isdir(native_sysroot): [all …]
|
/openbmc/openbmc/poky/scripts/esdk-tools/ |
H A D | wic | 119 (options.native_sysroot, 'native-sysroot')]: 153 native_sysroot = options.native_sysroot 154 if options.vars_dir and not native_sysroot: 155 native_sysroot = get_bitbake_var("RECIPE_SYSROOT_NATIVE", options.image_name) 160 native_sysroot = options.native_sysroot 165 if not options.vars_dir and (not native_sysroot or not os.path.isdir(native_sysroot)): 168 native_sysroot = get_bitbake_var("RECIPE_SYSROOT_NATIVE", "wic-tools") 170 if not native_sysroot: 188 native_sysroot = options.native_sysroot 195 if not os.path.isdir(native_sysroot): [all …]
|
/openbmc/openbmc/poky/scripts/lib/wic/plugins/imager/ |
H A D | direct.py | 44 native_sysroot, oe_builddir, options): argument 54 self.native_sysroot = native_sysroot 80 self.parts, self.native_sysroot, 209 self.kernel_dir, self.native_sysroot) 215 python = os.path.join(self.native_sysroot, 'usr/bin/python3-native/python3') 216 bmaptool = os.path.join(self.native_sysroot, 'usr/bin/bmaptool') 218 (python, bmaptool, full_path, full_path), self.native_sysroot) 250 msg += ' NATIVE_SYSROOT: %s\n' % self.native_sysroot 303 def __init__(self, path, ptable_format, partitions, native_sysroot=None, extra_space=0): argument 333 self.native_sysroot = native_sysroot [all …]
|
/openbmc/openbmc/poky/meta/lib/oeqa/selftest/cases/ |
H A D | minidebuginfo.py | 30 native_sysroot = get_bb_var("RECIPE_SYSROOT_NATIVE", binutils) 39 native_sysroot = native_sysroot, target_sys = target_sys) 43 native_sysroot = native_sysroot, target_sys = target_sys)
|
H A D | gdbserver.py | 32 native_sysroot = get_bb_var("RECIPE_SYSROOT_NATIVE", gdb_recipe) 33 … r = runCmd("%s --version" % gdb_binary, native_sysroot=native_sysroot, target_sys=target_sys) 55 r = runCmd(cmd, native_sysroot=native_sysroot, target_sys=target_sys)
|
H A D | wic.py | 943 native_sysroot = get_bb_var("RECIPE_SYSROOT_NATIVE", "wic-tools") 947 % (image, imgenvdir, native_sysroot, 955 native_sysroot = get_bb_var("RECIPE_SYSROOT_NATIVE", "wic-tools") 962 % (image, imgenvdir, native_sysroot, 1041 def _get_wic_partitions(self, wkspath, native_sysroot=None, ignore_status=False): argument 1057 if not native_sysroot: 1058 native_sysroot = get_bb_var("RECIPE_SYSROOT_NATIVE", "wic-tools") 1062 native_sysroot=native_sysroot, stderr=subprocess.PIPE) 1096 native_sysroot = get_bb_var("RECIPE_SYSROOT_NATIVE", "wic-tools") 1105 _, partlns = self._get_wic_partitions(tempf.name, native_sysroot) [all …]
|
H A D | debuginfod.py | 69 native_sysroot = pathlib.Path(get_bb_var("RECIPE_SYSROOT_NATIVE", "elfutils-native")) 70 native_bindir = native_sysroot / "usr" / "bin"
|
H A D | reproducible.py | 91 …r = runCmd(['cmp', '--quiet', reference, test], native_sysroot=diffutils_sysroot, ignore_status=Tr… 116 native_sysroot=diffoscope_sysroot, cwd=self.diffoscope_test_files) 122 … native_sysroot=diffoscope_sysroot, ignore_status=True, cwd=self.diffoscope_test_files) 388 native_sysroot=diffoscope_sysroot, ignore_status=True, cwd=package_dir)
|
H A D | runtime_test.py | 172 …g_home, self.gpg_home, os.path.join(signing_key_dir, 'key.secret')), native_sysroot=get_bb_var("RE… 209 …g_home, self.gpg_home, os.path.join(signing_key_dir, 'key.secret')), native_sysroot=get_bb_var("RE…
|
H A D | signing.py | 36 …--import %s %s' % (self.gpg_dir, self.pub_key_path, self.secret_key_path), native_sysroot=nsysroot)
|
/openbmc/openbmc/poky/meta/files/ |
H A D | toolchain-shar-relocate.sh | 10 native_sysroot=$($SUDO_EXEC cat $env_setup_script |grep 'OECORE_NATIVE_SYSROOT='|cut -d'=' -f2|tr -… 11 dl_path=$($SUDO_EXEC find $native_sysroot/lib/ -maxdepth 1 -name "ld-linux*") 16 executable_files=$($SUDO_EXEC find $native_sysroot -type f \ 58 for replace in "$target_sdk_dir -maxdepth 1" "$native_sysroot"; do 77 for l in $($SUDO_EXEC find $native_sysroot -type l); do
|
/openbmc/openbmc/poky/meta/lib/oeqa/utils/ |
H A D | commands.py | 169 native_sysroot=None, target_sys=None, limit_exc_output=0, output_log=None, **options): argument 172 if native_sysroot: 176 os.path.join(native_sysroot, "bin"), 177 os.path.join(native_sysroot, "sbin"), 178 os.path.join(native_sysroot, "usr", "bin"), 179 os.path.join(native_sysroot, "usr", "sbin"), 182 paths = [os.path.join(native_sysroot, "usr", "bin", target_sys)] + paths
|
/openbmc/openbmc/meta-openembedded/meta-oe/lib/oeqa/selftest/cases/ |
H A D | syzkaller.py | 124 …runCmd(cmd, native_sysroot = self.syz_native_sysroot, timeout=self.syz_fuzztime, output_log=self.l…
|