[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 a1b2a71267
commit fce053439c

View File

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