-
-
Notifications
You must be signed in to change notification settings - Fork 18.6k
systemd-boot-builder.py can't deal with versions of the form major.minor #140686
Copy link
Copy link
Closed
Closed
Copy link
Labels
0.kind: bugSomething is brokenSomething is broken6.topic: nixosIssues or PRs affecting NixOS modules, or package usability issues specific to NixOSIssues or PRs affecting NixOS modules, or package usability issues specific to NixOS6.topic: systemdSoftware suite that provides an array of system components for Linux operating systems.Software suite that provides an array of system components for Linux operating systems.
Metadata
Metadata
Assignees
Labels
0.kind: bugSomething is brokenSomething is broken6.topic: nixosIssues or PRs affecting NixOS modules, or package usability issues specific to NixOSIssues or PRs affecting NixOS modules, or package usability issues specific to NixOS6.topic: systemdSoftware suite that provides an array of system components for Linux operating systems.Software suite that provides an array of system components for Linux operating systems.
Fields
Give feedbackNo fields configured for issues without a type.
Describe the bug
bootctl statusshows this for me:When I try to upgrade my system, I get the error “could not find any previously installed systemd-boot”. This is because the
systemd-boot-builder.pyscript can't deal with systemd-boot versions with a minor version appended to it, since the regex is\d+:nixpkgs/nixos/modules/system/boot/loader/systemd-boot/systemd-boot-builder.py
Lines 221 to 229 in 7882b7f
Fixing this is not quite straightforward sadly, since the version is later used for comparison, so fixing this requires adding support for proper major/minor version comparison in this script.
Notify maintainers
???
Metadata
Please run
nix-shell -p nix-info --run "nix-info -m"and paste the result.Maintainer information: