FS#75778 - [qemu] add versioned depends for split pkgs
Attached to Project:
Arch Linux
Opened by Toolybird (Toolybird) - Saturday, 03 September 2022, 00:13 GMT
Last edited by David Runge (dvzrv) - Wednesday, 07 September 2022, 20:33 GMT
Opened by Toolybird (Toolybird) - Saturday, 03 September 2022, 00:13 GMT
Last edited by David Runge (dvzrv) - Wednesday, 07 September 2022, 20:33 GMT
|
Details
I'm not 100% sure on this, but it's worth a mention...
The multitude of QEMU split pkgs we have now is great for granularity, but there are some downsides, e.g. when you need to perform a mass downgrade in a hurry. Background: I locally built 7.1.0 for testing, installed it, then noticed 1 of my critical Windows VM's won't boot. The usual advice is to: pacman -U /var/cache/pacman/pkg/... But this becomes a bit unwieldy when there's approx' 40 pkgs to downgrade. Sure, it can be eased with scripting. But I then realized it was way too easy to end up with mismatched pkgs from differing versions. This scenario can be fixed with versioned depends. For example, anywhere a qemu-* pkg is listed in a depends array in the QEMU PKGBUILD, it could be changed to: qemu-common="$pkgver-$pkgrel" and likewise for the handful of other "internal" depends. I'm testing this out locally and so far so good. It doesn't ease the pain of a mass downgrade, but it at least ensures no version mismatches. Thoughts? |
This task depends upon
Closed by David Runge (dvzrv)
Wednesday, 07 September 2022, 20:33 GMT
Reason for closing: Fixed
Additional comments about closing: Fixed with qemu 7.1.0-4
Wednesday, 07 September 2022, 20:33 GMT
Reason for closing: Fixed
Additional comments about closing: Fixed with qemu 7.1.0-4
I can add it in another pkgrel bump in the coming days/hours.