This is an automated email from the git hooks/post-receive script.
guix_mirror_bot pushed a commit to branch master
in repository guix.
The following commit(s) were added to refs/heads/master by this push:
new aff9ce3761 image: operating-system-for-image: Bring back root-fs
placeholder.
aff9ce3761 is described below
commit aff9ce37616997647e7124edb0b3636ef98be68b
Author: Rutherther <[email protected]>
AuthorDate: Fri Dec 26 15:54:29 2025 +0100
image: operating-system-for-image: Bring back root-fs placeholder.
To calculate the UUID in `root-uuid`, the operating-system has to have a
root
file system, because it's typically used in the
operating-system-boot-parameters.
Followup of efc32c6684f75531cfd600874ba5d23a0bd643b9 that it partially
reverts.
* gnu/system/image.scm (operating-system-for-image): Re-introduce root file
system to operating-system used to calculate the UUID.
Fixes: #5131
Reported-By: Yelninei <[email protected]>
Change-Id: Ica2c3d3715cd90fccf3a7484f390b36de3cdfe7f
Signed-off-by: Rutherther <[email protected]>
Merges: #5141
---
gnu/system/image.scm | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/gnu/system/image.scm b/gnu/system/image.scm
index 7be6a79688..73686023a9 100644
--- a/gnu/system/image.scm
+++ b/gnu/system/image.scm
@@ -1034,7 +1034,12 @@ it can be used for bootloading."
(inherit
(operating-system-bootloader base-os))
(bootloader grub-mkrescue-bootloader))
- (operating-system-bootloader base-os)))))
+ (operating-system-bootloader base-os)))
+ (file-systems (cons (file-system
+ (mount-point "/")
+ (device "/dev/placeholder")
+ (type root-file-system-type))
+ file-systems-to-keep))))
(uuid (root-uuid os)))
(operating-system
(inherit os)