From fdf14c64f1dc7526e84b7e0ce41bf99e5b31c3f8 Mon Sep 17 00:00:00 2001 From: John Darrington Date: Thu, 8 Sep 2016 14:56:14 +0200 Subject: gnu: Add edit warning to generated grub.cfg files * gnu/services/grub.scm (grub-configuration-file): Add code to emit warning. --- gnu/system/grub.scm | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'gnu/system') 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 @@ (define entry->gexp (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 -- cgit v1.2.3