Looking for persistency partitions on luks devices only if we boot with persistent...
authorDaniel Baumann <daniel@debian.org>
Tue, 4 Aug 2009 14:52:34 +0000 (16:52 +0200)
committerDaniel Baumann <daniel@debian.org>
Tue, 4 Aug 2009 14:52:34 +0000 (16:52 +0200)
commite78eb58de44fa22bce5f363b7ca02c8e9a26372a
tree7316ee54aa94cef398ba78d98333c78515348c46
parentf1ab10d9480b5ffaf94f41d05cf819569015b182
Looking for persistency partitions on luks devices only if we boot with persistent=cryptsetup.

In order to determine if a encrypted partition contains a persistent
partition for live-initramfs, we do have to open it and look into it.
Open means, that the user has to provide the passphase (or key).

A user booting a *default* debian-live system on a machine that has
cryptesetup encrypted partitions should not be bothered by *default*
to enter all his passphrases during the boot process. Also,
encrypted persistency is only usefull when the user knows about it
(= the passphrase to access it). Therefore, it's better to by default
ignore persistency on luks devices.
scripts/live-helpers