20.12.2024 01:13, Sven Geuer wrote:
On Thu, 2024-12-19 at 01:22 +0300, Michael Tokarev wrote:
18.12.2024 17:08, Sven Geuer wrote:

     Depends: ipxe-qemu, grub-ipxe, ${misc:Depends}

While the reason for making grub-ipxe a dependency is obvious, I
couldn't figure why ipxe-qemu is also included.

Isn't ipxe-qemu a subset of ipxe modules, so for all of them both
halves has to be installed?

You are right in the sense that the package 'ipxe' does not contain all
produced artefacts. However, none of the artefacts from 'ipxe' needs
artefacts from 'ipxe-qemu' to be usable.

It is not what I tried to say.

Initially, ipxe package provided a big collection of rom files, one (or
sometimes several) file for every kind of NIC out there.  Many of them.
Including, for example, 3com.rom, tg3.rom and e100.rom.

From this lot, a few files were needed by qemu - e100.rom in this example,
but not tg3.rom or 3com.rom.  So a new small package has been created,
ipxe-qemu, which contained a subset of all roms (e100.rom in this example).
But ipxe package itself stopped providing these roms entirely, - for e100
cards it now needed to install ipxe-qemu, not ipxe.  In this way, ipxe has
become incomplete (for real!) without ipxe-qemu.

Later though, ipxe switched to a single ipxe.rom which handles ALL the
known NICs,  That was the point where ipxe-qemu dependency has become
irrelevant, because ipxe itself has become whole again.

This is what I mean - at least at some time, ipxe-qemu has been an integral
part of ipxe, and ipxe without ipxe-qemu were lacking several essential
roms.  It doesn't seem to be the case anymore.

BTW, you don't need the symlinks usr/lib/ipxe/rtl8139.rom -> 
qemu/pxe-rtl8139.rom
etc anymore, it was needed for very old (before stretch) qemu.
Modern qemu uses /usr/lib/ipxe/qemu/ subdir only.

/mjt

Reply via email to