Lines Matching refs:rootfs

151                 rootfs = "%s/fs_%s.%s.%s" % (cr_workdir, self.label,
153 if os.path.isfile(rootfs):
154 os.remove(rootfs)
158 method(rootfs, oe_builddir, native_sysroot)
159 self.source_file = rootfs
213 rootfs = "%s/rootfs_%s.%s.%s" % (cr_workdir, self.label,
215 if os.path.isfile(rootfs):
216 os.remove(rootfs)
222 ignore_paths = [rootfs] + (get_bitbake_var("PSEUDO_IGNORE_PATHS") or "").split(",")
260 method(rootfs, cr_workdir, oe_builddir, rootfs_dir, native_sysroot, pseudo)
261 self.source_file = rootfs
264 du_cmd = "du -Lbks %s" % rootfs
268 def prepare_rootfs_ext(self, rootfs, cr_workdir, oe_builddir, rootfs_dir, argument
279 with open(rootfs, 'w') as sparse:
289 (self.fstype, extraopts, rootfs, label_str, self.fsuuid, rootfs_dir)
298 debugfs_cmd = "debugfs -w -f %s %s" % (debugfs_script_path, rootfs)
301 mkfs_cmd = "fsck.%s -pvfD %s" % (self.fstype, rootfs)
325 debugfs_cmd = "debugfs -w -f %s %s" % (debugfs_script_path, rootfs)
328 self.check_for_Y2038_problem(rootfs, native_sysroot)
330 def prepare_rootfs_btrfs(self, rootfs, cr_workdir, oe_builddir, rootfs_dir, argument
341 with open(rootfs, 'w') as sparse:
350 self.mkfs_extraopts, self.fsuuid, rootfs)
353 def prepare_rootfs_msdos(self, rootfs, cr_workdir, oe_builddir, rootfs_dir, argument
373 (label_str, self.fsuuid, size_str, extraopts, rootfs,
377 mcopy_cmd = "mcopy -i %s -s %s/* ::/" % (rootfs, rootfs_dir)
381 mcopy_cmd = "mcopy -m -i %s %s ::/etc/fstab" % (rootfs, self.updated_fstab_path)
384 chmod_cmd = "chmod 644 %s" % rootfs
389 def prepare_rootfs_squashfs(self, rootfs, cr_workdir, oe_builddir, rootfs_dir, argument
396 (rootfs_dir, rootfs, extraopts)
399 def prepare_rootfs_erofs(self, rootfs, cr_workdir, oe_builddir, rootfs_dir, argument
406 (extraopts, self.fsuuid, rootfs, rootfs_dir)
409 def prepare_empty_partition_none(self, rootfs, oe_builddir, native_sysroot): argument
412 def prepare_empty_partition_ext(self, rootfs, oe_builddir, argument
418 with open(rootfs, 'w') as sparse:
428 (self.fstype, extraopts, label_str, self.fsuuid, rootfs)
431 self.check_for_Y2038_problem(rootfs, native_sysroot)
433 def prepare_empty_partition_btrfs(self, rootfs, oe_builddir, argument
439 with open(rootfs, 'w') as sparse:
448 self.mkfs_extraopts, rootfs)
451 def prepare_empty_partition_msdos(self, rootfs, oe_builddir, argument
467 (label_str, self.fsuuid, extraopts, size_str, rootfs,
472 chmod_cmd = "chmod 644 %s" % rootfs
493 def check_for_Y2038_problem(self, rootfs, native_sysroot): argument
515 ret, out = exec_native_cmd("dumpe2fs %s" % rootfs, native_sysroot)