Expand description

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.

Structs

BLSEntry represents the contents of a BLS entry file

Enums

BLSValue generalizes a value that may have an inline comment

This enum is used as an argument in the BLSEntry::set() method. Some keys like initrd can be specified multiple times in a BLS entry file.