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.
This commit is contained in:
Mathieu Othacehe 2017-05-21 18:56:03 +02:00
parent f1d1ef71ea
commit 65efb3c031
No known key found for this signature in database
GPG Key ID: 8354763531769CA6
1 changed files with 2 additions and 1 deletions

View File

@ -59,7 +59,8 @@ corresponding to old generations of the system."
#~(call-with-output-file #$output #~(call-with-output-file #$output
(lambda (port) (lambda (port)
(let ((timeout #$(bootloader-configuration-timeout config))) (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 UI menu.c32
PROMPT ~a PROMPT ~a
TIMEOUT ~a~%" TIMEOUT ~a~%"