| /OK3568_Linux_fs/yocto/poky/scripts/lib/wic/plugins/source/ |
| H A D | rootfs.py | 36 def __validate_path(cmd, rootfs_dir, path): argument 44 full_path = os.path.realpath(os.path.join(rootfs_dir, path)) 45 if not full_path.startswith(os.path.realpath(rootfs_dir)): 52 def __get_rootfs_dir(rootfs_dir): argument 53 if rootfs_dir and os.path.isdir(rootfs_dir): 54 return os.path.realpath(rootfs_dir) 56 image_rootfs_dir = get_bitbake_var("IMAGE_ROOTFS", rootfs_dir) 60 (rootfs_dir, image_rootfs_dir)) 82 if part.rootfs_dir is None: 86 rootfs_dir = krootfs_dir['ROOTFS_DIR'] [all …]
|
| H A D | isoimage-isohybrid.py | 143 def _build_initramfs_path(rootfs_dir, cr_workdir): argument 173 shutil.copytree("%s" % rootfs_dir, \ 176 if os.path.isfile("%s/init" % rootfs_dir): 177 shutil.copy2("%s/init" % rootfs_dir, "%s/init" % initrd_dir) 178 elif os.path.lexists("%s/init" % rootfs_dir): 179 os.symlink(os.readlink("%s/init" % rootfs_dir), \ 181 elif os.path.isfile("%s/sbin/init" % rootfs_dir): 182 shutil.copy2("%s/sbin/init" % rootfs_dir, \ 184 elif os.path.lexists("%s/sbin/init" % rootfs_dir): 185 os.symlink(os.readlink("%s/sbin/init" % rootfs_dir), \ [all …]
|
| H A D | bootimg-biosplusefi.py | 184 rootfs_dir, native_sysroot): argument 201 rootfs_dir, 212 rootfs_dir,
|
| H A D | empty.py | 27 rootfs_dir, native_sysroot): argument
|
| H A D | rawcopy.py | 65 rootfs_dir, native_sysroot): argument
|
| H A D | bootimg-pcbios.py | 140 rootfs_dir, native_sysroot): argument
|
| H A D | bootimg-partition.py | 166 rootfs_dir, native_sysroot): argument
|
| H A D | bootimg-efi.py | 273 rootfs_dir, native_sysroot): argument
|
| /OK3568_Linux_fs/yocto/poky/scripts/lib/wic/ |
| H A D | partition.py | 47 self.rootfs_dir = args.rootfs_dir 124 def prepare(self, creator, cr_workdir, oe_builddir, rootfs_dir, argument 187 kernel_dir, rootfs_dir, native_sysroot) 190 kernel_dir, rootfs_dir, native_sysroot) 204 def prepare_rootfs(self, cr_workdir, oe_builddir, rootfs_dir, argument 232 pseudo += "export PSEUDO_PASSWD=%s;" % rootfs_dir 244 if rsize_bb and rdir == rootfs_dir: 254 du_cmd = "du -ks %s" % rootfs_dir 260 method(rootfs, cr_workdir, oe_builddir, rootfs_dir, native_sysroot, pseudo) 268 def prepare_rootfs_ext(self, rootfs, cr_workdir, oe_builddir, rootfs_dir, argument [all …]
|
| H A D | pluginbase.py | 128 oe_builddir, bootimg_dir, kernel_dir, rootfs_dir, argument 138 oe_builddir, bootimg_dir, kernel_dir, rootfs_dir, argument
|
| H A D | engine.py | 143 def wic_create(wks_file, rootfs_dir, bootimg_dir, kernel_dir, argument 187 plugin = plugin_class(wks_file, rootfs_dir, bootimg_dir, kernel_dir,
|
| /OK3568_Linux_fs/yocto/poky/scripts/ |
| H A D | wic | 81 rootfs_dir = '' 83 rootfs_dir += ' ' 84 rootfs_dir += '='.join([key, val]) 85 return rootfs_dir.strip() 98 (key, rootfs_dir) = value.split('=') 101 rootfs_dir = value 103 namespace.__dict__['rootfs_dir'][key] = rootfs_dir 116 for val, opt in [(options.rootfs_dir, 'rootfs-dir'), 149 rootfs_dir = get_bitbake_var("IMAGE_ROOTFS", options.image_name) 183 rootfs_dir = '' [all …]
|
| /OK3568_Linux_fs/yocto/poky/meta/lib/oe/ |
| H A D | sdk.py | 111 def sdk_list_installed_packages(d, target, rootfs_dir=None): argument 112 if rootfs_dir is None: 116 rootfs_dir = [sdk_output, os.path.join(sdk_output, target_path)][target is True] 125 return cls.PMPkgsList(d, rootfs_dir).list_pkgs()
|
| H A D | rootfs.py | 386 def image_list_installed_packages(d, rootfs_dir=None): argument 391 if not rootfs_dir: 392 rootfs_dir = d.getVar('IMAGE_ROOTFS') 398 return cls.PMPkgsList(d, rootfs_dir).list_pkgs()
|
| /OK3568_Linux_fs/yocto/poky/scripts/lib/wic/plugins/imager/ |
| H A D | direct.py | 43 def __init__(self, wks_file, rootfs_dir, bootimg_dir, kernel_dir, argument 51 self.rootfs_dir = dict(rdir.split('=') for rdir in rootfs_dir.split(' ')) 169 self.update_fstab(self.rootfs_dir.get("ROOTFS_DIR")) 175 image_name = self.rootfs_dir.get(part.rootfs_dir) 238 if part.rootfs_dir is None: 244 rootdir = part.rootfs_dir 364 imager.rootfs_dir, imager.bootimg_dir,
|
| /OK3568_Linux_fs/yocto/poky/meta/lib/oe/package_manager/ |
| H A D | __init__.py | 153 def __init__(self, d, rootfs_dir): argument 155 self.rootfs_dir = rootfs_dir
|
| /OK3568_Linux_fs/yocto/poky/meta/lib/oe/package_manager/ipk/ |
| H A D | __init__.py | 63 def __init__(self, d, rootfs_dir): argument 64 super(PMPkgsList, self).__init__(d, rootfs_dir) 68 self.opkg_args = "-f %s -o %s " % (config_file, rootfs_dir)
|
| /OK3568_Linux_fs/yocto/poky/meta/lib/oeqa/selftest/cases/ |
| H A D | wic.py | 395 rootfs_dir = get_bb_var('IMAGE_ROOTFS', 'core-image-minimal') 400 % (rootfs_dir, rootfs_dir)) 483 rootfs_dir = get_bb_var('IMAGE_ROOTFS', 'core-image-minimal')
|
| /OK3568_Linux_fs/yocto/poky/meta/lib/oe/package_manager/rpm/ |
| H A D | __init__.py | 51 …return RpmPM(self.d, self.rootfs_dir, self.d.getVar('TARGET_VENDOR'), needfeed=False).list_install…
|
| /OK3568_Linux_fs/yocto/poky/meta/lib/oe/package_manager/deb/ |
| H A D | __init__.py | 99 "--admindir=%s/var/lib/dpkg" % self.rootfs_dir,
|
| /OK3568_Linux_fs/yocto/poky/documentation/dev-manual/ |
| H A D | common-tasks.rst | 5681 $ wic create directdisk -r rootfs_dir -b bootimg_dir \ 5771 rootfs_dir, native_sysroot):
|