aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorMathieu Othacehe <m.othacehe@gmail.com>2017-05-21 18:56:03 +0200
committerMathieu Othacehe <m.othacehe@gmail.com>2017-05-21 18:56:03 +0200
commit65efb3c03164c8c119f9d3e9f07ae9c70b381c54 (patch)
tree249879de487e78aee8826217200eb4804844f671 /gnu
parentf1d1ef71ea56fe21c30f1b9ddd21172e048dd25e (diff)
downloadpatches-65efb3c03164c8c119f9d3e9f07ae9c70b381c54.tar
patches-65efb3c03164c8c119f9d3e9f07ae9c70b381c54.tar.gz
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.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/bootloader/extlinux.scm3
1 files changed, 2 insertions, 1 deletions
diff --git a/gnu/bootloader/extlinux.scm b/gnu/bootloader/extlinux.scm
index 6f232db83e..67b8815d40 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~%"