Prepare kernel and rootfs images separately