mirror of
https://gitlab.com/fedora/bootc/base-images.git
synced 2026-08-29 20:40:44 +00:00
Merge branch 'dusty-imagectl-no-initramfs' into 'main'
bootc-base-imagectl: add --no-initramfs See merge request fedora/bootc/base-images!320
This commit is contained in:
commit
bbf3a84c47
1 changed files with 3 additions and 0 deletions
|
|
@ -54,6 +54,8 @@ def run_build_rootfs(args):
|
|||
override_manifest['documentation'] = False
|
||||
if args.recommends:
|
||||
override_manifest['recommends'] = True
|
||||
if args.no_initramfs:
|
||||
override_manifest['no-initramfs'] = True
|
||||
if args.sysusers:
|
||||
override_manifest['sysusers'] = 'compose-forced'
|
||||
passwd_mode = 'nobody' if args.nobody_99 else 'none'
|
||||
|
|
@ -178,6 +180,7 @@ if __name__ == "__main__":
|
|||
build_rootfs.add_argument("--add-dir", help='Copy dir contents into the target', action='append', default=[], metavar='DIR')
|
||||
build_rootfs.add_argument("--no-docs", help="Don't install documentation", action='store_true')
|
||||
build_rootfs.add_argument("--recommends", help="Whether to install recommended packages", action='store_true')
|
||||
build_rootfs.add_argument("--no-initramfs", help="Whether to generate an initramfs for the roots", action='store_true')
|
||||
build_rootfs.add_argument("--sysusers", help="Run systemd-sysusers instead of injecting hardcoded passwd/group entries", action='store_true')
|
||||
build_rootfs.add_argument("--nobody-99", help=argparse.SUPPRESS, action='store_true')
|
||||
build_rootfs.add_argument("--repo", help="Enable specific repositories only", action='append', default=[], metavar='REPO')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue