summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
Diffstat (limited to 'gnu')
-rw-r--r--gnu/system/grub.scm4
1 files changed, 4 insertions, 0 deletions
diff --git a/gnu/system/grub.scm b/gnu/system/grub.scm
index 45b46cae6f..aa93c0f454 100644
--- a/gnu/system/grub.scm
+++ b/gnu/system/grub.scm
@@ -270,6 +270,10 @@ corresponding to old generations of the system."
     (define builder
       #~(call-with-output-file #$output
           (lambda (port)
+            (format port
+                    "# This file was generated from your GuixSD configuration.  Any changes
+# will be lost upon reconfiguration.
+")
             #$sugar
             (format port "
 set default=~a