Multiple profiles support #135

Open
opened 2023-03-18 16:26:47 +00:00 by RaitoBezarius · 1 comment
RaitoBezarius commented 2023-03-18 16:26:47 +00:00 (Migrated from github.com)

Finalizing Bootspec, we discovered that nixos-rebuild switch has support for different profiles (--profile-name flag), this is some form of switching-time "specialisation".
Currently, we collect all generations links through: /nix/var/nix/profiles/system-*-link, but that's wrong with respect to multiple profiles.

When you create a profile, you have a /nix/var/nix/profiles/system-profiles/<profile-name>-*.

Bootspec is also about handling "multiple profiles", apparently, systemd-boot and GRUB supports them, we do not.

Finalizing Bootspec, we discovered that `nixos-rebuild switch` has support for different profiles (`--profile-name` flag), this is some form of switching-time "specialisation". Currently, we collect all generations links through: `/nix/var/nix/profiles/system-*-link`, but that's wrong with respect to multiple profiles. When you create a profile, you have a `/nix/var/nix/profiles/system-profiles/<profile-name>-*`. Bootspec is also about handling "multiple profiles", apparently, systemd-boot and GRUB supports them, we do not.
Spaghetto392 commented 2024-10-08 02:58:54 +00:00 (Migrated from github.com)

Wanted to report that versions of the deployment tool, Comin past commit 962c70f4aeef370dd73bb08421622bc6a8c1f6f7 are affected by this.

Wanted to report that [versions of the deployment tool, Comin](https://github.com/nlewo/comin) past commit [962c70f4aeef370dd73bb08421622bc6a8c1f6f7](https://github.com/nlewo/comin/commit/962c70f4aeef370dd73bb08421622bc6a8c1f6f7) are affected by this.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: raito/lanzaboote#135
No description provided.