Skip to content
Snippets Groups Projects
Unverified Commit 4e854b18 authored by Ludovic Courtès's avatar Ludovic Courtès
Browse files

install: Include the whole bare-bones OS in the image.

* gnu/system/install.scm (%installation-services): Load
"example/bare-bones.tmpl".  Add a 'gc-root-service-type' instance.
parent 96da5d62
No related branches found
No related tags found
No related merge requests found
......@@ -215,6 +215,9 @@ (define (normal-tty tty)
(auto-login "root")
(login-pause? #t))))
(define bare-bones-os
(load "examples/bare-bones.tmpl"))
(list (mingetty-service (mingetty-configuration
(tty "tty1")
(auto-login "root")))
......@@ -284,7 +287,11 @@ (define (normal-tty tty)
;; connections to this system to work.
(service special-files-service-type
`(("/bin/sh" ,(file-append (canonical-package bash)
"/bin/sh")))))))
"/bin/sh"))))
;; Keep a reference to BARE-BONES-OS to make sure it can be
;; installed without downloading/building anything.
(service gc-root-service-type (list bare-bones-os)))))
(define %issue
;; Greeting.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment