diff options
author | Maxim Cournoyer <maxim.cournoyer@gmail.com> | 2022-02-18 15:42:07 -0500 |
---|---|---|
committer | Maxim Cournoyer <maxim.cournoyer@gmail.com> | 2022-03-01 10:30:17 -0500 |
commit | 4a3b8f4d5981de444b3590fca8dfa1facb768933 (patch) | |
tree | a4b11ced58ed741dfaeee906eeabd2a7275d9db0 /tests/pack.scm | |
parent | a53ea46bfc219a2c184fbf3ce8f3e3ba3f539a7d (diff) | |
download | guix-4a3b8f4d5981de444b3590fca8dfa1facb768933.tar.gz guix-4a3b8f4d5981de444b3590fca8dfa1facb768933.zip |
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 'tests/pack.scm')
0 files changed, 0 insertions, 0 deletions