diff options
author | Ben Iofel <iofelben+github@gmail.com> | 2019-03-03 22:51:22 +0100 |
---|---|---|
committer | Martin Pitt <martinpitt@users.noreply.github.com> | 2019-03-03 22:51:22 +0100 |
commit | 892cd2f7ac34902a9eb07be87cbe3f53c272fdf1 (patch) | |
tree | 3159287a079014f28e0445162ec63db89fefd8c3 /docs/BOOT_LOADER_SPECIFICATION.md | |
parent | man: flush-caches and reset-server-features are commands for resolvectl (#11877) (diff) | |
download | systemd-892cd2f7ac34902a9eb07be87cbe3f53c272fdf1.tar.xz systemd-892cd2f7ac34902a9eb07be87cbe3f53c272fdf1.zip |
xbootldr: multiple spaces between keys and values (#11872)
The example below the changed line has multiple spaces between e.g. `title` and `Fedora`
Diffstat (limited to 'docs/BOOT_LOADER_SPECIFICATION.md')
-rw-r--r-- | docs/BOOT_LOADER_SPECIFICATION.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/BOOT_LOADER_SPECIFICATION.md b/docs/BOOT_LOADER_SPECIFICATION.md index 0d6bdabb8b..f4d7f211b6 100644 --- a/docs/BOOT_LOADER_SPECIFICATION.md +++ b/docs/BOOT_LOADER_SPECIFICATION.md @@ -80,7 +80,7 @@ We define two directories below `$BOOT`: Inside the `$BOOT/loader/entries/` directory each OS vendor may drop one or more configuration snippets with the suffix ".conf", one for each boot menu item. The file name of the file is used for identification of the boot item but shall never be presented to the user in the UI. The file name may be chosen freely but should be unique enough to avoid clashes between OS installations. More specifically it is suggested to include the machine ID (`/etc/machine-id` or the D-Bus machine ID for OSes that lack `/etc/machine-id`), the kernel version (as returned by `uname -r`) and an OS identifier (The ID field of `/etc/os-release`). Example: `$BOOT/loader/entries/6a9857a393724b7a981ebb5b8495b9ea-3.8.0-2.fc19.x86_64.conf`. -These configuration snippets shall be Unix-style text files (i.e. line separation with a single newline character), in the UTF-8 encoding. The configuration snippets are loosely inspired on Grub1's configuration syntax. Lines beginning with '#' shall be ignored and used for commenting. The first word of a line is used as key and shall be separated by a space from its value. The following keys are known: +These configuration snippets shall be Unix-style text files (i.e. line separation with a single newline character), in the UTF-8 encoding. The configuration snippets are loosely inspired on Grub1's configuration syntax. Lines beginning with '#' shall be ignored and used for commenting. The first word of a line is used as key and shall be separated by one or more spaces from its value. The following keys are known: * `title` shall contain a human readable title string for this menu item. This will be displayed in the boot menu for the item. It is a good idea to initialize this from the `PRETTY_NAME` of `/etc/os-release`. This name should be descriptive and does not have to be unique. If a boot loader discovers two entries with the same title it is a good idea to show more than just the raw title in the UI, for example by appending the `version` field. This field is optional. Example: "Fedora 18 (Spherical Cow)". * `version` shall contain a human readable version string for this menu item. This is usually the kernel version and is intended for use by OSes to install multiple kernel versions at the same time with the same `title` field. This field shall be in a syntax that is useful for Debian-style version sorts, so that the boot loader UI can determine the newest version easily and show it first or preselect it automatically. This field is optional. Example: `3.7.2-201.fc18.x86_64`. |