[fstab] Do not omit "/" from crypttab.

At least the Debian update-initramfs needs the entry to be there (see
pull request #254). Dracut will probably need it too. And logically, it
should be there.
This commit is contained in:
Kevin Kofler 2016-10-13 18:44:07 +02:00 committed by Philip
parent 7e59fa9e40
commit 17c0dd08c7

View File

@ -152,9 +152,6 @@ class FstabGenerator(object):
if not mapper_name or not luks_uuid:
return None
if mount_point == "/":
return None
return dict(
name=mapper_name,
device="UUID=" + luks_uuid,