gnu: Add edit warning to generated grub.cfg files

* gnu/services/grub.scm (grub-configuration-file): Add code to emit warning.
This commit is contained in:
John Darrington 2016-09-08 14:56:14 +02:00
parent 1c6c0ad067
commit fdf14c64f1
No known key found for this signature in database
GPG Key ID: 8A67719C2DE827B3
1 changed files with 4 additions and 0 deletions

View File

@ -270,6 +270,10 @@ corresponding to old generations of the system."
(define builder (define builder
#~(call-with-output-file #$output #~(call-with-output-file #$output
(lambda (port) (lambda (port)
(format port
"# This file was generated from your GuixSD configuration. Any changes
# will be lost upon reconfiguration.
")
#$sugar #$sugar
(format port " (format port "
set default=~a set default=~a