Clean pre-Bash build artifacts before building the Linux kernel

All of these are archived, in a compressed form, in base.tar.bz2.
This commit is contained in:
Gábor Stefanik 2024-02-14 15:38:06 +01:00 committed by Googulator
parent 4e0a0f03dd
commit 32138d13b9
3 changed files with 16 additions and 0 deletions

View file

@ -28,6 +28,8 @@ def create_configuration_file(args):
"""
config_path = os.path.join('steps', 'bootstrap.cfg')
with open(config_path, "w", encoding="utf_8") as config:
config.write(f"ARCH={args.arch}\n")
config.write(f"ARCH_DIR={stage0_arch_map.get(args.arch, args.arch)}\n")
config.write(f"FORCE_TIMESTAMPS={args.force_timestamps}\n")
config.write(f"CHROOT={args.chroot or args.bwrap}\n")
config.write(f"UPDATE_CHECKSUMS={args.update_checksums}\n")