()
| 169 | |
| 170 | |
| 171 | def main(): |
| 172 | args = parse_arguments() |
| 173 | |
| 174 | if not shutil.which('zstd'): |
| 175 | msg = 'zstd could not be found on your system, please install it!' |
| 176 | raise RuntimeError(msg) |
| 177 | |
| 178 | architectures = SUPPORTED_ARCHES if 'all' in args.architectures else args.architectures |
| 179 | |
| 180 | download_and_extract_buildroot() |
| 181 | for arch in architectures: |
| 182 | build_image(arch, args.edit_config, args.savedefconfig) |
| 183 | |
| 184 | if args.release: |
| 185 | release_images() |
| 186 | |
| 187 | |
| 188 | if __name__ == '__main__': |
no test coverage detected