From 65efb3c03164c8c119f9d3e9f07ae9c70b381c54 Mon Sep 17 00:00:00 2001 From: Mathieu Othacehe Date: Sun, 21 May 2017 18:56:03 +0200 Subject: [PATCH] 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 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~%"