mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-01-31 14:56:54 +01:00
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:
parent
1c6c0ad067
commit
fdf14c64f1
1 changed files with 4 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue