From: Zbigniew Jędrzejewski-Szmek Date: Tue, 19 Jun 2018 11:52:04 +0000 (+0200) Subject: Add description of field correspondence X-Git-Tag: v239~31^2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=889cb0ab7539280a4069056f155ab1a233bdf0a0;p=thirdparty%2Fsystemd.git Add description of field correspondence --- diff --git a/doc/BOOT_LOADER_SPECIFICATION.md b/doc/BOOT_LOADER_SPECIFICATION.md index 7c48b83aea7..d31bd341f79 100644 --- a/doc/BOOT_LOADER_SPECIFICATION.md +++ b/doc/BOOT_LOADER_SPECIFICATION.md @@ -91,8 +91,10 @@ A unified kernel image is a single UEFI executable combining an UEFI stub loader A valid unified kernel image must contain two PE sections: -* `.osrel` section with an embedded copy of the [os-release](https://www.freedesktop.org/software/systemd/man/os-release.html) file describing the image * `.cmdline` section with the kernel command line +* `.osrel` section with an embedded copy of the [os-release](https://www.freedesktop.org/software/systemd/man/os-release.html) file describing the image + +The `PRETTY_NAME=` and `VERSION_ID=` fields in the embedded os-release file are used the same as `title` and `version` in the "boot loader specification" entries. The `.cmdline` section is used instead of the `options` field. `linux` and `initrd` fields are not necessary, and there is no counterpart for the `machine-id` field. Any such images shall be added to the list of valid boot entries.