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 @@ corresponding to old generations of the system."
 | 
			
		|||
    (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
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Reference in a new issue