guix/gnu
Ludovic Courtès 1033645e9d
machine: ssh: Parameterize '%current-system' early on.
Fixes <https://issues.guix.gnu.org/58084>.
Reported by Maxim Cournoyer <maxim.cournoyer@gmail.com>.

Previously, "sanity checks" and other operations would happen in a
context where '%current-system' has its default value.  Thus, running
'guix deploy' on x86_64-linux machine for an aarch64-linux one would
lead things like '%base-initrd-modules' to see "x86_64-linux" as the
'%current-system' value, in turn making the wrong choices.

* gnu/machine/ssh.scm (check-deployment-sanity)[assertions]: Wrap in
'parameterize'.
(deploy-managed-host): Likewise for the 'mlet' body.
2022-09-26 23:29:35 +02:00
..
bootloader
build linux-container: Mark socket pair as SOCK_CLOEXEC. 2022-09-24 17:59:04 +02:00
home
installer
machine machine: ssh: Parameterize '%current-system' early on. 2022-09-26 23:29:35 +02:00
packages gnu: emacs-ement: Update to 0.2.1. 2022-09-26 21:32:44 +02:00
services
system system: images: Add a TODO comment. 2022-09-25 09:27:35 +02:00
tests tests: telephony: Add missing import to fix jami tests. 2022-09-26 15:52:35 -04:00
artwork.scm
bootloader.scm
ci.scm gnu: Add compression module. 2022-09-24 14:49:09 +02:00
compression.scm gnu: Add compression module. 2022-09-24 14:49:09 +02:00
home.scm
image.scm system: image: Add wsl2 support. 2022-09-24 14:49:09 +02:00
installer.scm
local.mk gnu: qemu: Disable qtest-aarch64/migration-test test. 2022-09-26 12:06:57 -04:00
machine.scm
packages.scm
services.scm
system.scm
tests.scm