guix/gnu
Rutherther efc32c6684
image: Add /boot/efi filesystem if operating-system specifies it.
Instead of forgetting about the /boot/efi system completely, re-add it
with proper label. This way lightweight.tmpl, desktop.tmpl still
boot when supplied to guix system image. That was the reason for
removing /boot/efi file-system in the first place. Removing it however
means the target system cannot be reconfigured by default, as the
esp is not mounted.

* gnu/system/image.scm
(partition-has-flag?): New variable.
(root-partition?): Use it.
(find-partition-with-flag): New variable.
(find-root-partition): Use it.
(find-esp-partition): New variable.
(operating-system-for-image): Add /boot/efi file-system with proper
label instead of removing it completely.

Change-Id: I3ef2120059d8bbf76170d10ae718cb0de637f453
Signed-off-by: Rutherther <rutherther@ditigal.xyz>
2025-12-22 23:00:39 +01:00
..
bootloader
build build: Make /etc/hosts a regular file again. 2025-12-22 10:46:52 +09:00
home Update Giacomo's email address. 2025-12-03 14:38:09 +09:00
installer
machine
packages etc: Add AppArmor profile for the daemon. 2025-12-22 22:48:57 +01:00
services services: Modernize redis service. 2025-12-22 15:42:39 +01:00
system image: Add /boot/efi filesystem if operating-system specifies it. 2025-12-22 23:00:39 +01:00
tests services: nscd: Cause PID 1 to drop nscd database mappings on shutdown. 2025-12-19 00:05:43 +01:00
artwork.scm
bootloader.scm
ci.scm
compression.scm
home.scm
image.scm
installer.scm
local.mk gnu: dvdbackup: Fix build with libdvdread 6.1.0+. 2025-12-20 10:24:55 -08:00
machine.scm
packages.scm
services.scm
system.scm
tests.scm