mkosi: tweak the default fedora package list in some conditions
mkosi: tweak the default fedora package list in some conditions

When we generate a bootable ext4 image, include the e2fsck in the image. Similar for btrfs. This way we can properly fsck all devices during boot.

The Arch Linux code already had a similar tweak, let's copy that.

Also, install "cryptsetup" if encryption is requested. Strictly speaking
nothing will call the tool, however Dracut uses it has condition when to
pack DM rules into the initrd. Hence let's add it for now, even though
we can eventually drop this, when Dracut gets fixed.

UbiCastTeam/mkosi,UbiCastTeam/mkosi,systemd/mkosi,systemd/mkosi