On Fri, 2024-12-20 at 10:56 +0300, Michael Tokarev wrote:
> 
> 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.

I cannot reenact what your describe above. In Debian
ipxe_1.0.0+git-20120202.f6840ba-1_all.deb [1] contained the roms,
though still not all in comparison to Ubutunu [2]. But with
ipxe_1.0.0+git-20120202.f6840ba-2_all.deb ipxe-qemu was split off
containting some of these roms and ipxe stripped of all roms [3].

Also Ubuntu dropped the roms from ipxe with
ipxe_1.0.0+git-20131111.c3d1e78-2ubuntu2_all.deb [4] only keeping those
in their ipxe-qemu package.

I wasn't able to spot an ipxe.rom file in any of the previous packages
from Debian or Ubuntu.

Anyway, I am even more convinced I should keep the structure  of binary
packages and their dependencies as is. 

On Fri, 2024-12-20 at 11:18 +0300, Michael Tokarev wrote:
> 
> > Actually, it would be great if ipxe-qemu dropped the roms into 
> > /usr/share/qemu/
> > directory instead of using /usr/lib/ipxe/qemu indirection.
> > 
> > It'd simplify things in qemu quite a lot.  Can we arrange this please?
> > (It needs to be a coordinated upload, ipxe-qemu would Replaces: 
> > qemu-system-data
> > before certain version, and since that version, qemu-system would require a 
> > more
> > recent ipxe-qemu).
> No, nothing like such complexity is required.  Just drop the roms into
> /usr/share/qemu instead of /usr/lib/ipxe and be done with that.  Qemu
> will work as before.  It's just at some point I'll drop the ipxe lib
> dir from qemu config, requiring ipxe-qemu >>thisver, that's all.

Not a problem, however, I think I should keep some symlinks pointing
from /usr/lib/ipxe/qemu/*.rom to /usr/share/qemu/*.rom to not confuse
people expecting the roms in /usr/lib/ipxe/qemu.

Or instead put symlinks into /usr/share/qemu/ pointing back to
/usr/lib/ipxe/qemu/*.rom, will this still work for you?

Best,
Sven

[1] 
http://snapshot.debian.org/package/ipxe/1.0.0%2Bgit-20120202.f6840ba-1/#ipxe_1.0.0:2b:git-20120202.f6840ba-1
[2] 
https://old-releases.ubuntu.com/ubuntu/pool/main/i/ipxe/ipxe_1.0.0+git-20130710.936134e-0ubuntu1_all.deb
[3] 
http://snapshot.debian.org/package/ipxe/1.0.0%2Bgit-20120202.f6840ba-2/#ipxe_1.0.0:2b:git-20120202.f6840ba-2
[4] 
https://old-releases.ubuntu.com/ubuntu/pool/main/i/ipxe/ipxe_1.0.0+git-20131111.c3d1e78-2ubuntu2_all.deb

-- 
GPG Fingerprint
3DF5 E8AA 43FC 9FDF D086 F195 ADF5 0EDA F8AD D585

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to