As discussed it might make sense to check the final cpio we're creating for common mistakes. This is mostly relevant when using flags like -base and -nocmd as these flags can result in a non-booting initramfs if the cpio provided via -base was incomplete. Emitting a warning via -check or even making the checking default and allowing something like -no-check should prevent those mistakes.
As discussed it might make sense to check the final cpio we're creating for common mistakes. This is mostly relevant when using flags like
-baseand-nocmdas these flags can result in a non-booting initramfs if the cpio provided via-basewas incomplete. Emitting a warning via-checkor even making the checking default and allowing something like-no-checkshould prevent those mistakes.