guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

03/09: system: Remove custom 'config-file service from "vm-image.tmpl".


From: guix-commits
Subject: 03/09: system: Remove custom 'config-file service from "vm-image.tmpl".
Date: Fri, 6 Dec 2019 19:02:36 -0500 (EST)

civodul pushed a commit to branch master
in repository guix.

commit 362bcdb1b076c8c46f71781add56dfbe532736dc
Author: Ludovic Courtès <address@hidden>
Date:   Sat Dec 7 00:55:36 2019 +0100

    system: Remove custom 'config-file service from "vm-image.tmpl".
    
    This example is broken since commit
    99c45877a984dd0148151b2e304afef6fb04f1a5 (wrong file name passed to
    'local-file'), and its functionality is superseded by the upcoming
    'provenance-service-type'.
    
    * gnu/system/examples/vm-image.tmpl (this-file): Remove.
    <services>: Remove 'config-file service.
---
 gnu/system/examples/vm-image.tmpl | 9 ---------
 1 file changed, 9 deletions(-)

diff --git a/gnu/system/examples/vm-image.tmpl 
b/gnu/system/examples/vm-image.tmpl
index 7d98415..bcb2ba6 100644
--- a/gnu/system/examples/vm-image.tmpl
+++ b/gnu/system/examples/vm-image.tmpl
@@ -24,11 +24,6 @@ Run '\x1b[1;37minfo guix\x1b[0m' to browse documentation.
 accounts.\x1b[0m
 "))
 
-(define this-file
-  (local-file (basename (assoc-ref (current-source-location) 'filename))
-              "config.scm"))
-
-
 (operating-system
   (host-name "gnu")
   (timezone "Etc/UTC")
@@ -73,10 +68,6 @@ root ALL=(ALL) ALL
   (services
    (append (list (service xfce-desktop-service-type)
 
-                 ;; Copy this file to /etc/config.scm in the OS.
-                 (simple-service 'config-file etc-service-type
-                                 `(("config.scm" ,this-file)))
-
                  ;; Choose SLiM, which is lighter than the default GDM.
                  (service slim-service-type
                           (slim-configuration



reply via email to

[Prev in Thread] Current Thread [Next in Thread]