summaryrefslogtreecommitdiff
AgeCommit message (Expand)Author
2025-02-17Start date-versioning de Paul records.v2025.2.17W. Kosior
2025-02-17Minor inline code markup correction in README.W. Kosior
2025-02-07Export `define-immutable-record-type*' under extra alias `deftype'.W. Kosior
2024-07-27Revert "Add syntactic sugar for initializing fields with list-values."W. Kosior
2024-07-27Revert "Test syntactic sugar for initializing fields with list-values."W. Kosior
2024-07-15Test syntactic sugar for initializing fields with list-values.W. Kosior
2024-07-15Add syntactic sugar for initializing fields with list-values.W. Kosior
2024-07-13Additionally export `format-identifiers'.W. Kosior
2023-12-16Allow using multiple expressions in field update form.Wojtek Kosior
2023-12-16Make GUILE_TEST_DRIVER precious with AC_ARG_VAR().Wojtek Kosior
2023-12-13Add syntax for field updaters.Wojtek Kosior
2023-12-12Remove guix.scmWojtek Kosior
2023-12-12Initial commit.Wojtek Kosior
Othacehe. * gnu/machine/ssh.scm (deploy-managed-host)[eval/error-handling]: Return two values in the standard case. 2021-06-01machine: ssh: Gracefully handle failure of the effectful bits.Ludovic Courtès Previously, '&inferior-exception' raised by 'upgrade-shepherd-services' and co. would go through as-is, leaving users with an ugly backtrace. * gnu/machine/ssh.scm (deploy-managed-host): Define 'eval/error-handling' and use it in lieu of EVAL as arguments to 'switch-to-system', 'upgrade-shepherd-services', and 'install-bootloader'. 2021-02-25machine: ssh: Use 'formatted-message'.Ludovic Courtès * gnu/machine/ssh.scm (machine-check-initrd-modules): Use 'formatted-message' instead of 'format' + '&message'. 2021-01-04machine: ssh: Do not import the host (guix config), really.Ludovic Courtès This is a followup to 70ffa8af1e93ab8a92c4622745e9cb4a2782f3c8, which did not really solve the problem. * gnu/machine/ssh.scm (not-config?): New procedure. (machine-boot-parameters): Use it as an argument to 'source-module-closure'. 2020-12-21system: Allow separated /boot and encrypted root.Miguel Ángel Arruga Vivas * gnu/bootloader/grub.scm (grub-configuration-file): New parameter store-crypto-devices. [crypto-devices]: New helper function. [builder]: Use crypto-devices. * gnu/machine/ssh.scm (roll-back-managed-host): Use boot-parameters-store-crypto-devices to provide its contents to the bootloader configuration generation process. * gnu/tests/install.scm (%encrypted-root-not-boot-os, %encrypted-root-not-boot-os): New os declaration. (%encrypted-root-not-boot-installation-script): New script, whose contents were initially taken from %encrypted-root-installation-script. (%test-encrypted-root-not-boot-os): New test. * gnu/system.scm (define-module): Export operating-system-bootoader-crypto-devices and boot-parameters-store-crypto-devices. (<boot-parameters>): Add field store-crypto-devices. (read-boot-parameters): Parse store-crypto-devices field. [uuid-sexp->uuid]: New helper function extracted from device-sexp->device. (operating-system-bootloader-crypto-devices): New function. (operating-system-bootcfg): Use operating-system-bootloader-crypto-devices to provide its contents to the bootloader configuration generation process. (operating-system-boot-parameters): Add store-crypto-devices to the generated boot-parameters. (operating-system-boot-parameters-file): Likewise to the file with the serialized structure. * guix/scripts/system.scm (reinstall-bootloader): Use boot-parameters-store-crypto-devices to provide its contents to the bootloader configuration generation process. * tests/boot-parameters.scm (%default-store-crypto-devices): New variable. (%grub-boot-parameters, test-read-boot-parameters): Use %default-store-crypto-devices. (tests store-crypto-devices): New tests. 2020-11-09machine: ssh: Do not import the host (guix config).Ludovic Courtès * gnu/machine/ssh.scm (machine-boot-parameters): Use 'make-config.scm' for (guix config). 2020-11-01system: Add store-directory-prefix to boot-parameters.Miguel Ángel Arruga Vivas Fixes <http://issues.guix.gnu.org/44196> * gnu/machine/ssh.scm (roll-back-managed-host): Use boot-parameters-store-directory-prefix. * gnu/system.scm (define-module): Export boot-parameters-store-directory-prefix. (<boot-parameters>)[store-directory-prefix]: New field. It is used to generate the correct paths when /gnu/store is installed on a btrfs subvolume whose name doesn't match the final runtime path, as the bootloader doesn't have knowledge about the final mounting points. [boot-parameters-store-directory-prefix]: New accessor. (read-boot-parameters): Read directory-prefix from store field. (operating-system-boot-parameters-file): Add directory-prefix to store field. * guix/scripts/system.scm (reinstall-bootloader): Use boot-parameters-store-directory-prefix. * test/boot-parameters.scm (%default-btrfs-subvolume, %default-store-directory-prefix): New variables. (%grub-boot-parameters): Use %default-store-directory-prefix. (%default-operating-system): Use %default-btrfs-subvolume. (test-boot-parameters): Add directory-prefix. (test optional fields): Add test for directory-prefix. (test os store-directory-prefix): New test.