summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorRutherther <rutherther@ditigal.xyz>2025-12-26 15:54:29 +0100
committerRutherther <rutherther@ditigal.xyz>2025-12-26 19:54:23 +0100
commitaff9ce37616997647e7124edb0b3636ef98be68b (patch)
treefb2b328287beb80a18764dd50fc5c0661e75fb6d /gnu
parenta9462997d743e4cb4edd557d7ffeeb98048bb4de (diff)
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 <yelninei@tutamail.com> Change-Id: Ica2c3d3715cd90fccf3a7484f390b36de3cdfe7f Signed-off-by: Rutherther <rutherther@ditigal.xyz> Merges: #5141
Diffstat (limited to 'gnu')
-rw-r--r--gnu/system/image.scm7
1 files changed, 6 insertions, 1 deletions
diff --git a/gnu/system/image.scm b/gnu/system/image.scm
index 7be6a796880..73686023a92 100644
--- a/gnu/system/image.scm
+++ b/gnu/system/image.scm
@@ -1034,7 +1034,12 @@ it can be used for bootloading."
1034 (inherit 1034 (inherit
1035 (operating-system-bootloader base-os)) 1035 (operating-system-bootloader base-os))
1036 (bootloader grub-mkrescue-bootloader)) 1036 (bootloader grub-mkrescue-bootloader))
1037 (operating-system-bootloader base-os))))) 1037 (operating-system-bootloader base-os)))
1038 (file-systems (cons (file-system
1039 (mount-point "/")
1040 (device "/dev/placeholder")
1041 (type root-file-system-type))
1042 file-systems-to-keep))))
1038 (uuid (root-uuid os))) 1043 (uuid (root-uuid os)))
1039 (operating-system 1044 (operating-system
1040 (inherit os) 1045 (inherit os)