[PATCH] UBUNTU: d-i: initrd needs crypro, ext4 and scsi modules
Dann Frazier
dann.frazier at canonical.com
Mon Sep 12 21:03:37 UTC 2016
On Mon, Sep 12, 2016 at 10:05 AM, <manoj.iyer at canonical.com> wrote:
> From: Manoj Iyer <manoj.iyer at canonical.com>
>
> ext4, scsi drive support is now built as modules, d-i will need to
> have these modules in initrd to be able to install.
>
> Signed-off-by: Manoj Iyer <manoj.iyer at canonical.com>
> ---
> debian.master/d-i/modules/crypto-modules | 3 +++
> debian.master/d-i/modules/fs-core-modules | 2 ++
> debian.master/d-i/modules/scsi-modules | 1 +
> 3 files changed, 6 insertions(+)
>
> diff --git a/debian.master/d-i/modules/crypto-modules b/debian.master/d-i/modules/crypto-modules
> index 333f5a5..1b8ba41 100644
> --- a/debian.master/d-i/modules/crypto-modules
> +++ b/debian.master/d-i/modules/crypto-modules
> @@ -24,6 +24,9 @@ cryptd ?
> cryptoloop ?
> crypto_null ?
> crypto_user ?
> +crc32 ?
> +crypto ?
> +crypto_crc32c ?
> ctr ?
> cts ?
> deflate ?
> diff --git a/debian.master/d-i/modules/fs-core-modules b/debian.master/d-i/modules/fs-core-modules
> index 7a7c2fc..84f2266 100644
> --- a/debian.master/d-i/modules/fs-core-modules
> +++ b/debian.master/d-i/modules/fs-core-modules
> @@ -1,5 +1,7 @@
> ext2 ?
> +ext4 ?
> jfs ?
> +jbd2 ?
> reiserfs ?
> xfs ?
> zfs ?
Manoj,
You don't need to list all the dependencies of ext4 - kernel-wedge
will resolve those for you. That is, if you just add 'ext4', then
jbd2, crc32, etc will automatically get included in the
fs-core-modules udeb. It's easier to maintain that way since we don't
have to keep track of dependencies manually, plus it avoids bloating
udebs like crypto-modules (if crypto_crc32c is only a dependency of
ext4, better to ship it w/ ext4).
The only time you do need to explicitly list a module dependency is
when modules in 2 or more other udebs require it, since a module
should only exist in 1 udeb. kernel-wedge will catch and report that
for you.
-dann
> diff --git a/debian.master/d-i/modules/scsi-modules b/debian.master/d-i/modules/scsi-modules
> index 46e0ac9..5c1f86b 100644
> --- a/debian.master/d-i/modules/scsi-modules
> +++ b/debian.master/d-i/modules/scsi-modules
> @@ -123,6 +123,7 @@ isci ?
> mlx4_ib ?
> mlx5_ib ?
> zfcp ?
> +sd_mod ?
>
> # device handlers
> scsi_dh_alua ?
> --
> 2.7.4
>
>
> --
> kernel-team mailing list
> kernel-team at lists.ubuntu.com
> https://lists.ubuntu.com/mailman/listinfo/kernel-team
More information about the kernel-team
mailing list