diff options
| author | sarthurdev <965089+sarthurdev@users.noreply.github.com> | 2026-10-03 18:59:31 +0200 |
|---|---|---|
| committer | sarthurdev <965089+sarthurdev@users.noreply.github.com> | 2026-10-03 18:59:31 +0200 |
| commit | abfbe5bee065412faedb682e52bf81fa5c97a0a0 (patch) | |
| tree | 1a0eff4e6570c5f196280578294ddcab5ecf2d9c /scripts/package-build | |
| parent | f53ea3c722373c9469bb4c7ef542437af190956c (diff) | |
| download | vyos-build-abfbe5bee065412faedb682e52bf81fa5c97a0a0.tar.gz vyos-build-abfbe5bee065412faedb682e52bf81fa5c97a0a0.zip | |
T9392: Keep kernel objects and don\'t create source tarball by default
Adds to cleanup kernel intermediate objects and create source tarball
Diffstat (limited to 'scripts/package-build')
| -rwxr-xr-x | scripts/package-build/linux-kernel/build.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/package-build/linux-kernel/build.py b/scripts/package-build/linux-kernel/build.py index 46a6a2ba..295f44b9 100755 --- a/scripts/package-build/linux-kernel/build.py +++ b/scripts/package-build/linux-kernel/build.py @@ -276,7 +276,7 @@ if __name__ == '__main__': arg_parser.add_argument('--config', default='package.toml', help='Path to the package configuration file') arg_parser.add_argument('--packages', nargs='+', help='Names of packages to build (default: all)', default=[]) arg_parser.add_argument('--install-dependencies', '-i', help='Only install build dependencies', action='store_true') - arg_parser.add_argument('--keep-kernel', '-k', help='Keep kernel intermediate objects and not create source tar-ball', action='store_true') + arg_parser.add_argument('--dont-keep-kernel', '-d', help='Clean up kernel intermediate objects and create source tar-ball', action='store_true') args = arg_parser.parse_args() # Load package configuration @@ -314,7 +314,7 @@ if __name__ == '__main__': # Copy generated .deb packages to parent directory copy_packages(Path(package['name'])) - if linux_kernel_tarball and not args.keep_kernel: + if linux_kernel_tarball and args.dont_keep_kernel: source_dir = linux_kernel_tarball['source_dir'] trusted_keys = f'{source_dir}/trusted_keys.pem' if os.path.exists(trusted_keys): |
