Control: retitle -1 cryptsetup-initramfs: Please silence the warning when the hook config contains CRYPTSETUP="y"
On Sat, 08 Sep 2018 at 09:39:27 +0200, Raphael Hertzog wrote: > On Sat, 08 Sep 2018, Guilhem Moulin wrote: >> Hmm, so you don't really need the integration provided by >> cryptsetup-initramfs then; you want the cryptsetup binary and its shared >> library to be included to the initramfs image, but aren't using any of >> our boot scripts? If that's indeed the case then you could as well >> bypass our hooks and write your own to add said binaries and modules :-) > > Hum, there's also this line which calls your hook script: > https://salsa.debian.org/live-team/live-boot/blob/master/components/9990-main.sh#L7 > > It's possibly to support the cryptopts= kernel command line? > Or maybe for dealing with a crypttab that the user embedded in the live > image? (one of the selling features of live-build is the possibility to > customize almost everything) > […] >> Persistence” feature seems to be a union a mount so I guess it's >> possible to upgrade, fall out of sync, and get an unbootable system if >> one is unlucky. > > The persistence feature does not allow to update the kernel/initrd. It can > be updated in the overlay file system but the kernel/initrd are booted > before the persistence partition is mounted so you always end up using > the kernel/initrd embedded in the ISO. I see, thanks for the explanation! So we'll just silence the warning when the hook configuration contains CRYPTSETUP="y". -- Guilhem.
signature.asc
Description: PGP signature