Commit graph

5 commits

Author SHA1 Message Date
Mathieu Othacehe
4ef2d82528
nongnu: Keep the raw-initrd references file.
The raw-initrd contains a "references" file that is used to keep the static
guile used in the initrd alive. This file is not part of the combined-initrd.

It means that during garbage collection, the static guile could be collected
making the system unbootable because the static guile is then not part of the
store once the root is switched.

In the combined-initrds procedure, make sure to concatenate all the possible
references files of the underlying initrds into a top-level references file.

Fixes: <https://gitlab.com/nonguix/nonguix/issues/111>
Signed-off-by: Jonathan Brielmaier <jonathan.brielmaier@web.de>
2022-12-31 13:40:41 +01:00
Jonathan Brielmaier
62a5df4222
*.scm: Use SPDX license identifiers.
Fixes https://gitlab.com/nonguix/nonguix/-/issues/224

* *.scm: Use SPDX license identifier and remove obsolete license
statement.
2022-12-19 17:17:39 +01:00
Jonathan Brielmaier
daa0dda76d
nongnu: Adapt linux-initrd to populate-store changes.
Fixes https://gitlab.com/nonguix/nonguix/-/issues/81.
Reported-by: Jean-Baptiste Volatier.

Depends on https://git.savannah.gnu.org/cgit/guix.git/commit/?id=d88ff09.

* nonguix/modules.scm (import-nonguix-module?): New variable. Export it
instead of nonguix-module-name?.
* nongnu/system/linux-initrd.scm (microcode-initrd): Use
import-nonguix-module? instead of nonguix-module-name?.
(combined-initrd): Dito.
2020-12-22 12:56:25 +01:00
Alex Griffin
c09d21cbcf linux-initrd: Don't close over core Guile modules.
* nonguix/modules.scm: New file.
* nongnu/system/linux-initrd.scm: Limit 'source-module-closure' to guix and
nonguix modules only.
2020-01-08 16:27:45 -06:00
Alex Griffin
1d7177a786 nongnu: system: Add linux-initrd module.
* nongnu/system/linux-initrd.scm: New file.
2020-01-08 15:22:32 -06:00