[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Why ext4 encryption is disabled in our linux-libre-4.8 config
From: |
Ludovic Courtès |
Subject: |
Re: Why ext4 encryption is disabled in our linux-libre-4.8 config |
Date: |
Tue, 04 Oct 2016 10:40:59 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux) |
Hi Mark!
Mark H Weaver <address@hidden> skribis:
> One possible solution would be to enhance 'flat-linux-module-directory'
> to silently ignore missing modules when the needed functionality is
> built-in to the kernel, as indicated by the presence of
> "CONFIG_CRYPTO_XTS=y" in #$linux/.config.
That sounds like a good idea. David hit a similar problem with commit
50dbc03647170fded9e0bca0cc4b7e1614aa38db.
> One caveat with this approach is that I don't know how to map module
> names to Kconfig flags. Does anyone know how? If needed, I suppose we
> could lazily accumulate our own subset of this mapping, starting with
> only the modules used by our initrd by default. Alternatively, we could
> change our lists of module names into lists of (module-name config-flag)
> pairs.
I suspect there’s no systematic way to map option names to module names.
We may have to maintain our own list of option/module pairs, but that
doesn’t sound unreasonable.
Cheers,
Ludo’.