I tried adding the following before the rootfs partition in the kickstart file.
part swap --use-label --size 2G --label swap1 --fstype=swap --fsoptions=swand also tried updating https://github.com/ilbers/isar/blob/2c76d889035ea05114b1a31bb73b025c0247a278/scripts/lib/wic/plugins/imager/direct.py#L105 to allow swap to be added to the fstab. CRYPT_PARTITIONS has been updated to
CRYPT_PARTITIONS = "swap1:swap:reencrypt platform:/:reencrypt"also tried
CRYPT_PARTITIONS = "swap1::reencrypt platform:/:reencrypt"The image booted into initramfs and based on the debug log it says
Begin: Encryption of /dev/sda2 ... cannot resize partition. unsupport fstype: swapRegards,