guix/gnu
Mathieu Othacehe fe4663ae24
installer: Fix configuration edition during testing.
When the configuration is edited, it looks like there are some leftover
fragments from the input configuration:

Example content of config.scm after edition:

  #:imported-modules
  '((gnu services herd)
    (guix build utils)
    (guix combinators)))

unted".  The unique
  ;; file system identifiers there ("UUIDs") can be obtained
  ;; by running 'blkid' in a terminal.

...

This is strange because call-with-output-file uses the O_TRUNC flag which
resets the file size to zero. Remove the configuration file before writing it
as a work-around.

* gnu/installer/tests.scm (edit-configuration-file): Remove the configuration
file before re-writing it.
2022-09-24 12:48:16 +02:00
..
bootloader
build build: jami-service: account->username always return a fingerprint. 2022-09-23 23:56:15 -04:00
home
installer installer: Fix configuration edition during testing. 2022-09-24 12:48:16 +02:00
machine
packages gnu: Add wsdd. 2022-09-24 09:41:24 +02:00
services services: Add wsdd service. 2022-09-24 09:41:24 +02:00
system
tests services: Add wsdd service. 2022-09-24 09:41:24 +02:00
artwork.scm
bootloader.scm
ci.scm
home.scm
image.scm
installer.scm
local.mk services: Add samba service. 2022-09-24 09:38:57 +02:00
machine.scm
packages.scm
services.scm
system.scm
tests.scm