#loader #boot #spec #comments #parse #bootloader #entry

boot-loader-spec

Parses and manipulates Boot Loader Spec entries

5 releases

0.1.4 Apr 17, 2022
0.1.3 Apr 14, 2022
0.1.2 Apr 14, 2022
0.1.1 Apr 8, 2022
0.1.0 Apr 8, 2022

#29 in #entry

MPL-2.0 license

19KB
399 lines

Implements systemd's Boot Loader Specification

This API can parse and modify a Boot Loader Spec entry file. It supports the Fedora/GRUB specific commands.

This library can be used in a no_std environment that supports dynamic memory allocation by disabling the "std" feature using --no-default-features.

NOTE: At the moment, if you parse a BLSEntry with full-line comments and write it back, all comment lines will be consolidated in the header.

No runtime deps