diff --git a/pmb/chroot/initfs.py b/pmb/chroot/initfs.py index d564c141..904f222d 100644 --- a/pmb/chroot/initfs.py +++ b/pmb/chroot/initfs.py @@ -25,11 +25,6 @@ import pmb.helpers.cli def build(args, flavor, suffix): - # Bail out when '-s' is set - if args.skip_initfs: - logging.info("NOTE: Skipped initramfs generation (-s)!") - return - # Update mkinitfs and hooks pmb.chroot.apk.install(args, ["postmarketos-mkinitfs"], suffix) pmb.chroot.initfs_hooks.update(args, suffix) diff --git a/pmb/parse/arguments.py b/pmb/parse/arguments.py index 93e292d2..893bbc05 100644 --- a/pmb/parse/arguments.py +++ b/pmb/parse/arguments.py @@ -311,9 +311,6 @@ def arguments(): parser.add_argument("-j", "--jobs", help="parallel jobs when compiling") parser.add_argument("-p", "--aports", help="postmarketos aports (pmaports) path") - parser.add_argument("-s", "--skip-initfs", dest="skip_initfs", - help="do not re-generate the initramfs", - action="store_true") parser.add_argument("-t", "--timeout", help="seconds after which processes" " get killed that stopped writing any output (default:" " 900)", default=900, type=float)