The workaround I proposed can be accomplished in a simpler way.

Just add the required d-i packages to the downloads file containing
packages to be included (i.e. the file NAME.downloads) as follows:
kernel-image-6.1.0-15-amd64-di
efi-modules-6.1.0-15-amd64-di
ext4-modules-6.1.0-15-amd64-di
md-modules-6.1.0-15-amd64-di
sata-modules-6.1.0-15-amd64-di
nic-modules-6.1.0-15-amd64-di

This has the same effect.

On Tue, 6 Feb 2024 21:45:26 +0100 Sietze van Buuren <s.van.buu...@gmail.com>
wrote:
> Fortunately, I was able to find a workaround.
>
> At least for my case, the DebianInstaller was complaining about kernel
> modules.
> So I tried to add these via the variable kernel_packages in the NAME.conf
> file.
>
> My d-i is of version v.6.1.0-15, so I added the following di packages by
> stating:
> kernel_packages="linux-image-amd64 kernel-image-6.1.0-15-amd64-di
> efi-modules-6.1.0-15-amd64-di ext4-modules-6.1.0-15-amd64-di
> md-modules-6.1.0-15-amd64-di sata-modules-6.1.0-15-amd64-di
> nic-modules-6.1.0-15-amd64-di"
> Depending on your needs, I guess you might need other kernel modules. Also
> note linux-image-amd64 in the beginning, that's the default value for
> kernel_packages.
>
> With this additional setting, the DebianInstaller does not complain
anymore
> and produces a functional installation!
>
> Not a real solution though.
>
> Why doesn't Simple-CDD pull these packages automatically?
> And why doesn't it pull the latest stable d-i version (v6.1.0-17 at the
> time of writing) in the first place?
>
> On Sun, 4 Feb 2024 15:54:10 +0100 Sietze van Buuren <
s.van.buu...@gmail.com>
> wrote:
> > I have observed similar behavior.
> >
> > Also trying to build on and for Debian 12 (Bookworm). Simple-CDD
finishes
> > successfully, but fails to create a working installer.
> > The installer complains that it can't find any matching kernel modules.
> >
> > Kernel version for the Debian Installer:
> > /tmp/simple-cdd/tmp/cd-build/bookworm/CD1/install.amd/vmlinuz: Linux
> kernel
> > x86 boot executable bzImage, version 6.1.0-15-amd64 (
> > debian-ker...@lists.debian.org) #1 SMP PREEMPT_DYNAMIC Debian 6.1.66-1
> > (2023-12-09), RO-rootFS, swap_dev 0x7, Normal VGA
> > Kernel version to be installed:
> >
>
/tmp/simple-cdd/tmp/cd-build/bookworm/CD1/pool/main/l/linux-signed-amd64/linux-image-6.1.0-17-amd64_6.1.69-1_amd64.deb
> >
> > I tried to replace the to be installed kernel version
> > linux-image-6.1.0-17-amd64 with linux-image-6.1.0-15-amd64 to no avail.
> > (Using Vagrant's  instructions here:
> > https://lists.debian.org/debian-custom/2009/03/msg00006.html).
> >
> > Any suggestions for a workaround?
> >
> > On Wed, 31 Jan 2024 17:02:50 +0100 Marcel Bosling <
> > marcel.bosl...@steinert.de> wrote:
> > > Package: simple-cdd
> > > Version: 0.6.9
> > > Severity: important
> > > X-Debbugs-Cc: marcel.bosl...@steinert.de
> > >
> > > When building on/for Debian 12, the kernel to start d-i is
> > kernel-image-6.1.0-16-amd64-di_6.1.67-1_amd64.udeb

Reply via email to