Lines Matching refs:f
43 for f in glob.glob(os.path.join(output_dir, 'bin', '*')):
44 os.chmod(f, 0o777)
61 raise ValueError(f'{copy_file_pair} is not a <src>:<dst> pair.')
64 raise ValueError(f'{copy_file_pair} has more than one matched src files: '
65 f'{" ".join(src_list)}.')
85 print(f'Copying {src} to {dst}')
100 for f in cil_files:
101 zf.extract(f, output_dir)
118 print(f'cannot get platform sepolicy version from {target_files_zip}')
158 print(f'Merging sepolicy files from {framework_target_files_zip} and '
159 f'{vendor_target_files_zip}: platform version {plat_ver}.')
164 ('system', f'etc/selinux/mapping/{plat_ver}.cil', True),
165 ('system', f'etc/selinux/mapping/{plat_ver}.compat.cil', False),
167 ('system_ext', f'etc/selinux/mapping/{plat_ver}.cil', False),
168 ('system_ext', f'etc/selinux/mapping/{plat_ver}.compat.cil', False),
170 ('product', f'etc/selinux/mapping/{plat_ver}.cil', False),
204 raise FileNotFoundError(f'{policy_file} does not exist')