GNU bug report logs -
#51346
[PATCH 0/1 core-updates-frozen] Rework swap device to add dependencies and flags
Previous Next
Reported by: Josselin Poiret <dev <at> jpoiret.xyz>
Date: Sat, 23 Oct 2021 09:47:02 UTC
Severity: normal
Tags: patch
Done: Ludovic Courtès <ludo <at> gnu.org>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
Hi,
Alright, this new revised and expanded patchset should take into
account most of the previous remarks, as well as fix some corner
cases.
Akin to what is done for file system services, I've modified
swap-services so that it filters out boot-time dependencies which
cannot be managed by Shepherd.
In doing so, I noticed that the non-boot-file-system-services
procedure automagically adds mapped devices dependencies that it
detects: is that documented behaviour, are we trying to support it or
are we trying to move away from it?
The documentation should now be self-sufficient, with the example
desktop configuration updated to contain a swap file.
Josselin Poiret (4):
gnu: system: Rework swap space support, add dependencies.
gnu: system: Add swap flags.
gnu: system: Filter out boot dependencies from swap-space.
doc: Add new Swap Space section.
doc/guix.texi | 136 ++++++++++++++++++++++---------
gnu/build/file-systems.scm | 35 +++++++-
gnu/services/base.scm | 109 +++++++++++++++++--------
gnu/system.scm | 20 ++++-
gnu/system/examples/desktop.tmpl | 7 +-
gnu/system/file-systems.scm | 24 +++++-
guix/build/syscalls.scm | 12 +++
7 files changed, 267 insertions(+), 76 deletions(-)
--
2.33.1
This bug report was last modified 3 years and 186 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.