Home
last modified time | relevance | path

Searched refs:rootfs_dir (Results 1 – 21 of 21) sorted by relevance

/OK3568_Linux_fs/yocto/poky/scripts/lib/wic/plugins/source/
H A Drootfs.py36 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 Disoimage-isohybrid.py143 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 Dbootimg-biosplusefi.py184 rootfs_dir, native_sysroot): argument
201 rootfs_dir,
212 rootfs_dir,
H A Dempty.py27 rootfs_dir, native_sysroot): argument
H A Drawcopy.py65 rootfs_dir, native_sysroot): argument
H A Dbootimg-pcbios.py140 rootfs_dir, native_sysroot): argument
H A Dbootimg-partition.py166 rootfs_dir, native_sysroot): argument
H A Dbootimg-efi.py273 rootfs_dir, native_sysroot): argument
/OK3568_Linux_fs/yocto/poky/scripts/lib/wic/
H A Dpartition.py47 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 Dpluginbase.py128 oe_builddir, bootimg_dir, kernel_dir, rootfs_dir, argument
138 oe_builddir, bootimg_dir, kernel_dir, rootfs_dir, argument
H A Dengine.py143 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 Dwic81 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 Dsdk.py111 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 Drootfs.py386 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 Ddirect.py43 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__.py153 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__.py63 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 Dwic.py395 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__.py51 …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__.py99 "--admindir=%s/var/lib/dpkg" % self.rootfs_dir,
/OK3568_Linux_fs/yocto/poky/documentation/dev-manual/
H A Dcommon-tasks.rst5681 $ wic create directdisk -r rootfs_dir -b bootimg_dir \
5771 rootfs_dir, native_sysroot):