sudo update-initramfs -u
I get the message
update-initramfs: Generating /boot/initrd.img-5.4.0-70-generic
W: initramfs-tools configuration sets RESUME=defe9cb2-3755-4cdd-946e-e4718333837b
W: but no matching swap device is available.
I'm running freshly installed 20.04.2 LTS without swap partition but with /swapfile.
The UUID shown in the message above is attributed to sda1.
The original /etc/initramfs-tools/conf.d/resume contained the same UUID. I made a backup of this file, deleted the UUID and got the same message after updating initramfs. Then I changed the line to RESUME=/swapfile and still got the same message after updating initramfs.
What do I have to do to avoid that swap error?