Home
last modified time | relevance | path

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

/openbmc/openbmc/poky/scripts/lib/wic/plugins/source/
H A Drootfs.py36 def __validate_path(cmd, rootfs_dir, path): argument
44 full_path = os.path.abspath(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.py145 def _build_initramfs_path(rootfs_dir, cr_workdir): argument
175 shutil.copytree("%s" % rootfs_dir, \
178 if os.path.isfile("%s/init" % rootfs_dir):
179 shutil.copy2("%s/init" % rootfs_dir, "%s/init" % initrd_dir)
180 elif os.path.lexists("%s/init" % rootfs_dir):
181 os.symlink(os.readlink("%s/init" % rootfs_dir), \
183 elif os.path.isfile("%s/sbin/init" % rootfs_dir):
184 shutil.copy2("%s/sbin/init" % rootfs_dir, \
186 elif os.path.lexists("%s/sbin/init" % rootfs_dir):
187 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.py49 rootfs_dir, native_sysroot): argument
H A Drawcopy.py72 rootfs_dir, native_sysroot): argument
H A Dbootimg-partition.py134 rootfs_dir, native_sysroot): argument
H A Dbootimg-pcbios.py140 rootfs_dir, native_sysroot): argument
H A Dbootimg-efi.py292 rootfs_dir, native_sysroot): argument
/openbmc/openbmc/poky/scripts/lib/wic/
H A Dpartition.py48 self.rootfs_dir = args.rootfs_dir
127 def prepare(self, creator, cr_workdir, oe_builddir, rootfs_dir, argument
190 kernel_dir, rootfs_dir, native_sysroot)
193 kernel_dir, rootfs_dir, native_sysroot)
207 def prepare_rootfs(self, cr_workdir, oe_builddir, rootfs_dir, argument
235 pseudo += "export PSEUDO_PASSWD=%s;" % rootfs_dir
247 if rsize_bb and rdir == rootfs_dir:
257 du_cmd = "du -ks %s" % rootfs_dir
263 method(rootfs, cr_workdir, oe_builddir, rootfs_dir, native_sysroot, pseudo)
271 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,
/openbmc/openbmc/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 …]
/openbmc/openbmc/poky/scripts/esdk-tools/
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 …]
/openbmc/openbmc/poky/meta/lib/oe/
H A Dsdk.py113 def sdk_list_installed_packages(d, target, rootfs_dir=None): argument
114 if rootfs_dir is None:
118 rootfs_dir = [sdk_output, os.path.join(sdk_output, target_path)][target is True]
127 return cls.PMPkgsList(d, rootfs_dir).list_pkgs()
H A Drootfs.py417 def image_list_installed_packages(d, rootfs_dir=None): argument
422 if not rootfs_dir:
423 rootfs_dir = d.getVar('IMAGE_ROOTFS')
429 return cls.PMPkgsList(d, rootfs_dir).list_pkgs()
/openbmc/openbmc/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(' '))
170 self.update_fstab(self.rootfs_dir.get("ROOTFS_DIR"))
176 image_name = self.rootfs_dir.get(part.rootfs_dir)
239 if part.rootfs_dir is None:
245 rootdir = part.rootfs_dir
376 imager.rootfs_dir, imager.bootimg_dir,
/openbmc/openbmc/poky/meta/lib/oe/package_manager/ipk/
H A D__init__.py67 def __init__(self, d, rootfs_dir): argument
68 super(PMPkgsList, self).__init__(d, rootfs_dir)
72 self.opkg_args = "-f %s -o %s " % (config_file, rootfs_dir)
/openbmc/openbmc/poky/meta/lib/oe/package_manager/
H A D__init__.py156 def __init__(self, d, rootfs_dir): argument
158 self.rootfs_dir = rootfs_dir
/openbmc/openbmc/poky/meta/lib/oeqa/selftest/cases/
H A Dwic.py445 rootfs_dir = get_bb_var('IMAGE_ROOTFS', 'core-image-minimal')
450 % (rootfs_dir, rootfs_dir))
533 rootfs_dir = get_bb_var('IMAGE_ROOTFS', 'core-image-minimal')
/openbmc/openbmc/poky/meta/lib/oe/package_manager/deb/
H A D__init__.py102 "--admindir=%s/var/lib/dpkg" % self.rootfs_dir,
/openbmc/openbmc/poky/meta/lib/oe/package_manager/rpm/
H A D__init__.py53 …return RpmPM(self.d, self.rootfs_dir, self.d.getVar('TARGET_VENDOR'), needfeed=False).list_install…
/openbmc/openbmc/poky/documentation/dev-manual/
H A Dwic.rst304 $ wic create directdisk -r rootfs_dir -b bootimg_dir \
394 rootfs_dir, native_sysroot):