guix-commits
[Top][All Lists]
Advanced

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

01/01: bootloader: extlinux: Add a warning message on top of generated c


From: Mathieu Othacehe
Subject: 01/01: bootloader: extlinux: Add a warning message on top of generated conf file.
Date: Sun, 21 May 2017 12:58:11 -0400 (EDT)

mothacehe pushed a commit to branch master
in repository guix.

commit 65efb3c03164c8c119f9d3e9f07ae9c70b381c54
Author: Mathieu Othacehe <address@hidden>
Date:   Sun May 21 18:56:03 2017 +0200

    bootloader: extlinux: Add a warning message on top of generated conf file.
    
    * gnu/bootloader/extlinux.scm (extlinux-configuration-file): Warn users 
about
      the fact that the configuration file is automatically generated.
---
 gnu/bootloader/extlinux.scm | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/gnu/bootloader/extlinux.scm b/gnu/bootloader/extlinux.scm
index 6f232db..67b8815 100644
--- a/gnu/bootloader/extlinux.scm
+++ b/gnu/bootloader/extlinux.scm
@@ -59,7 +59,8 @@ corresponding to old generations of the system."
     #~(call-with-output-file #$output
         (lambda (port)
           (let ((timeout #$(bootloader-configuration-timeout config)))
-            (format port "
+            (format port "# This file was generated from your GuixSD 
configuration.  Any changes
+# will be lost upon reconfiguration.
 UI menu.c32
 PROMPT ~a
 TIMEOUT ~a~%"



reply via email to

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