install: Add the prerequisites of 'profile-derivation' as GC roots.

* gnu/system/install.scm (%installation-services): Add
GLIBC-UTF8-LOCALES, TEXINFO, and GUILE-FINAL as GC roots.
This commit is contained in:
Ludovic Courtès 2017-12-03 17:29:10 +01:00
parent cdc938daf9
commit af4a761e97
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -30,6 +30,7 @@ (define-module (gnu system install)
#:use-module (gnu packages admin) #:use-module (gnu packages admin)
#:use-module (gnu packages bash) #:use-module (gnu packages bash)
#:use-module (gnu packages bootloaders) #:use-module (gnu packages bootloaders)
#:use-module (gnu packages guile)
#:use-module (gnu packages linux) #:use-module (gnu packages linux)
#:use-module (gnu packages ssh) #:use-module (gnu packages ssh)
#:use-module (gnu packages cryptsetup) #:use-module (gnu packages cryptsetup)
@ -275,8 +276,14 @@ (define bare-bones-os
"/bin/sh")))) "/bin/sh"))))
;; Keep a reference to BARE-BONES-OS to make sure it can be ;; Keep a reference to BARE-BONES-OS to make sure it can be
;; installed without downloading/building anything. ;; installed without downloading/building anything. Also keep the
(service gc-root-service-type (list bare-bones-os))))) ;; things needed by 'profile-derivation' to minimize the amount of
;; download.
(service gc-root-service-type
(list bare-bones-os
glibc-utf8-locales
texinfo
(canonical-package guile-2.2))))))
(define %issue (define %issue
;; Greeting. ;; Greeting.