summary refs log tree commit diff
path: root/gnu/machine
diff options
context:
space:
mode:
authorMaxim Cournoyer <maxim.cournoyer@gmail.com>2022-02-18 15:42:07 -0500
committerMaxim Cournoyer <maxim.cournoyer@gmail.com>2022-03-01 10:30:17 -0500
commit4a3b8f4d5981de444b3590fca8dfa1facb768933 (patch)
treea4b11ced58ed741dfaeee906eeabd2a7275d9db0 /gnu/machine
parenta53ea46bfc219a2c184fbf3ce8f3e3ba3f539a7d (diff)
downloadguix-4a3b8f4d5981de444b3590fca8dfa1facb768933.tar.gz
system: Add a version field to the <boot-parameters> record.
This version field exposes the (already present) version information of a boot
parameters file.

* gnu/system.scm (%boot-parameters-version): New variable.
(<boot-parameters>)[version]: New field.
(read-boot-parameters): Use it.
(operating-system-boot-parameters-file): Likewise.
* tests/boot-parameters.scm (test-read-boot-parameters): Use
%boot-parameters-version as the default version value in the template.
Diffstat (limited to 'gnu/machine')
0 files changed, 0 insertions, 0 deletions