Lines Matching refs:os
20 import os
37 abs_path = os.path.abspath(path)
38 if not os.path.exists(abs_path):
57 for root_dir, dir_names, file_names in os.walk(
58 os.path.join(output_dir, BIN_DIR_NAME)):
60 file_path = os.path.join(root_dir, file_name)
61 file_stat = os.stat(file_path)
62 os.chmod(file_path, file_stat.st_mode | permissions)
167 if os.path.isdir(args.ota_tools):
181 simg2img_path = os.path.join(ota_tools_dir, BIN_DIR_NAME, "simg2img")
191 lpunpack_path = os.path.join(ota_tools_dir, BIN_DIR_NAME, "lpunpack")
195 for file_name in os.listdir(unpack_dir):
198 unpacked_part_imgs[part] = os.path.join(unpack_dir, file_name)
201 lpmake_path = os.path.join(ota_tools_dir, BIN_DIR_NAME, "lpmake")
218 build_super_image_path = os.path.join(ota_tools_dir, BIN_DIR_NAME,
226 os.remove(temp_file)