First reaction after reading this: Oh, no, please don't.

Since that is a one-to-one relation of the kernel to a microcode
version, I can imagine following solution:

1. The amd64-microcode package needs to become versioned. The files in
the package needs to versioned as well so that these versioned packages
can be installed in parallel.

2. The kernel exposes the information which microcode has is looking
for.

3. The kernel declares a dependency on the exact versioned microcode
package.

4. initramfs-tools and dracut take the information from the kernel to
put the correct file into the initrd.

Then the package dependency will prevent incompatible combinations and
removing an old kernel can lead to removing a versioned microcode
version that is not needed any more.

I can help to work on point 4.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2130658

Title:
  hashed microcode updates

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/amd64-microcode/+bug/2130658/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to