FS#71465 - [systemd] rc version-tag prevents systemd-boot update
Attached to Project:
Arch Linux
Opened by Matthias Lisin (matthias.lisin) - Wednesday, 07 July 2021, 20:10 GMT
Last edited by Christian Hesse (eworm) - Thursday, 08 July 2021, 09:13 GMT
Opened by Matthias Lisin (matthias.lisin) - Wednesday, 07 July 2021, 20:10 GMT
Last edited by Christian Hesse (eworm) - Thursday, 08 July 2021, 09:13 GMT
|
Details
Description:
version-tag for pre-releases is considered newer than the final release version. Upstream uses tilde for pre-releases. 249~rc3 < 249 < 249rc3-2-arch Order nicely visualised here: https://github.com/systemd/systemd/blob/v249/src/fundamental/string-util-fundamental.c#L95 Steps to reproduce: 1. install systemd 249rc3-2-arch 2. run bootctl install/update 3. update to systemd 249-1 4. run bootctl update and see exit with the message: Skipping "/efi/EFI/systemd/systemd-bootx64.efi", since a newer boot loader version exists already. Skipping "/efi/EFI/BOOT/BOOTX64.EFI", since a newer boot loader version exists already. |
This task depends upon
Closed by Christian Hesse (eworm)
Thursday, 08 July 2021, 09:13 GMT
Reason for closing: Implemented
Additional comments about closing: in svn
Thursday, 08 July 2021, 09:13 GMT
Reason for closing: Implemented
Additional comments about closing: in svn
Interesting...
(Pacman uses the same version function as rpm.)
Yay for release candidates?
Perhaps we should try something like this for next release...
Doesn't look like it affects anything else. It'd be nice if a grep-ninja could second that, I'm know too little about the systemd codebase.
https://github.com/archlinux/svntogit-packages/commit/074009cd173459bbf1b367a88dfd2f404b766bff
There's nothing we can do for systemd 249-1, thought. Thus closing.