guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

09/10: !squash system: Fix initrd field.


From: guix-commits
Subject: 09/10: !squash system: Fix initrd field.
Date: Sat, 23 May 2020 13:37:23 -0400 (EDT)

mothacehe pushed a commit to branch wip-hurd-vm
in repository guix.

commit 7c0ee08d01e891bb38d8f8bb1c447bc7ab6b4896
Author: Mathieu Othacehe <address@hidden>
AuthorDate: Sat May 23 19:10:39 2020 +0200

    !squash system: Fix initrd field.
    
    This needs to be squashed with the commit introducing this condition.
---
 gnu/system.scm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gnu/system.scm b/gnu/system.scm
index bf5aa93..af537c9 100644
--- a/gnu/system.scm
+++ b/gnu/system.scm
@@ -1170,7 +1170,7 @@ a list of <menu-entry>, to populate the \"old entries\" 
menu."
   "Return a monadic <boot-parameters> record that describes the boot
 parameters of OS.  When SYSTEM-KERNEL-ARGUMENTS? is true, add kernel arguments
 such as '--root' and '--load' to <boot-parameters>."
-  (let* ((initrd          (and (hurd-target?)
+  (let* ((initrd          (and (not (hurd-target?))
                                (operating-system-initrd-file os)))
          (store           (operating-system-store-file-system os))
          (bootloader      (bootloader-configuration-bootloader



reply via email to

[Prev in Thread] Current Thread [Next in Thread]