summary refs log tree commit diff
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2015-05-09 16:41:38 +0200
committerLudovic Courtès <ludo@gnu.org>2015-05-09 23:53:36 +0200
commit54d6223d2c240c0214c123e0b0aa977a01a3c209 (patch)
tree08abfe07481371e18ff13c76508b98a0c70efe70
parent6f05630ba6848fa666f4ea57aab7f7ffbc15fc72 (diff)
downloadguix-54d6223d2c240c0214c123e0b0aa977a01a3c209.tar.gz
doc: Rename OS config example.
* gnu/system/os-config.tmpl: Rename to...
* gnu/system/examples/bare-bones.tmpl: ... this.
* Makefile.am (EXAMPLES): Adjust accordingly.
* doc.am (doc/os-config.texi): Likewise.
* gnu/system/install.scm (configuration-template-service)[template]:
  Likewise.
-rw-r--r--Makefile.am2
-rw-r--r--doc.am4
-rw-r--r--gnu/system/examples/bare-bones.tmpl (renamed from gnu/system/os-config.tmpl)0
-rw-r--r--gnu/system/install.scm2
4 files changed, 4 insertions, 4 deletions
diff --git a/Makefile.am b/Makefile.am
index 4fc1fc2ffb..b20421a753 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -135,7 +135,7 @@ KCONFIGS =					\
 
 # Templates, examples.
 EXAMPLES =					\
-  gnu/system/os-config.tmpl
+  gnu/system/examples/bare-bones.tmpl
 
 GOBJECTS = $(MODULES:%.scm=%.go) guix/config.go guix/tests.go
 
diff --git a/doc.am b/doc.am
index 56ad114ec8..c517e0f908 100644
--- a/doc.am
+++ b/doc.am
@@ -1,5 +1,5 @@
 # GNU Guix --- Functional package management for GNU
-# Copyright © 2012, 2013, 2014 Ludovic Courtès <ludo@gnu.org>
+# Copyright © 2012, 2013, 2014, 2015 Ludovic Courtès <ludo@gnu.org>
 # Copyright © 2013 Andreas Enge <andreas@enge.fr>
 #
 # This file is part of GNU Guix.
@@ -30,7 +30,7 @@ BUILT_SOURCES        += doc/os-config.texi
 EXTRA_DIST           += doc/os-config.texi
 MAINTAINERCLEANFILES  = doc/os-config.texi
 
-doc/os-config.texi: gnu/system/os-config.tmpl
+doc/os-config.texi: gnu/system/examples/bare-bones.tmpl
 	$(MKDIR_P) "`dirname "$@"`"
 	cp "$<" "$@"
 
diff --git a/gnu/system/os-config.tmpl b/gnu/system/examples/bare-bones.tmpl
index e14c95733a..e14c95733a 100644
--- a/gnu/system/os-config.tmpl
+++ b/gnu/system/examples/bare-bones.tmpl
diff --git a/gnu/system/install.scm b/gnu/system/install.scm
index d55f0a0978..bba2df5094 100644
--- a/gnu/system/install.scm
+++ b/gnu/system/install.scm
@@ -175,7 +175,7 @@ configuration template file in the installation system."
   (define local-template
     "/etc/configuration-template.scm")
   (define template
-    (search-path %load-path "gnu/system/os-config.tmpl"))
+    (search-path %load-path "gnu/system/examples/bare-bones.tmpl"))
 
   (mlet %store-monad ((template (interned-file template)))
     (return (service