Consider switching from cryptsetup to cryptsetup-run
Originally created by @CyrilBrulebois on #16264 (Redmine)
This was spotted many times during a feature/buster
build:
update-initramfs: Generating /boot/initrd.img-4.19.0-1-amd64
cryptsetup: WARNING: Couldn't determine root device
cryptsetup: WARNING: The initramfs image may not contain cryptsetup binaries
nor crypto modules. If that's on purpose, you may want to uninstall the
'cryptsetup-initramfs' package in order to disable the cryptsetup initramfs
integration and avoid this warning.
Starting with buster, cryptsetup
is a transitional package depending
on both cryptsetup-initramfs
and cryptsetup-run
. The former deals
with initramfs integration, which is likely not needed in Tails, and
leads to the aforementioned warnings? Maybe we should switch our
packages list from cryptsetup
to cryptsetup-run
, which contains the
binaries we need? This would be:
config/chroot_local-packageslists/tails-common.list:cryptsetup