[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#47979] [PATCH] installer: Recommend 'ntp-service-type' for non-grap
From: |
Mathieu Othacehe |
Subject: |
[bug#47979] [PATCH] installer: Recommend 'ntp-service-type' for non-graphical systems. |
Date: |
Tue, 01 Jun 2021 11:49:55 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) |
Hey Leo,
> cannot build derivation
> `/gnu/store/20flyxbjjl8as5aca4gzf3b54as1gr9z-ntp-4.2.8p15.drv': 1
> dependencies couldn't be built
The installation tests are run in a network isolated environment. This
means that we need to make sure that every single derivation that will
be needed during the installation is made available.
It is for sure a tricky business. If you have a look to the error line I
pasted above, you will see that the installer tries to build the ntp
package because the ntp-service-type is now included.
The following patch fixes the "gui-installed-os" test by making sure
that the ntp package is available in the installation environment. I did
not check for the other installation tests.
--8<---------------cut here---------------start------------->8---
diff --git a/gnu/tests/install.scm b/gnu/tests/install.scm
index b5263f5f0d..e9ebc63b64 100644
--- a/gnu/tests/install.scm
+++ b/gnu/tests/install.scm
@@ -1608,8 +1608,9 @@ build (current-guix) and then store a couple of full
system images.")
(swap-devices (if encrypted?
'()
(list (uuid "11111111-2222-3333-4444-123456789abc"))))
- (services (cons (service dhcp-client-service-type)
- (operating-system-user-services %minimal-os-on-vda)))))
+ (services (cons* (service dhcp-client-service-type)
+ (service ntp-service-type)
+ (operating-system-user-services %minimal-os-on-vda)))))
(define* (installation-target-desktop-os-for-gui-tests
#:key (encrypted? #f))
--8<---------------cut here---------------end--------------->8---
Thanks,
Mathieu
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [bug#47979] [PATCH] installer: Recommend 'ntp-service-type' for non-graphical systems.,
Mathieu Othacehe <=