bootstd: Read the Operating System name for distro/scripts
authorSimon Glass <sjg@chromium.org>
Fri, 6 Jan 2023 14:52:33 +0000 (08:52 -0600)
committerTom Rini <trini@konsulko.com>
Mon, 16 Jan 2023 23:26:50 +0000 (18:26 -0500)
commit2175e76a51e53798ee4e19903b368a7e6c98356a
tree4a21d37ed1f38bd596a8e2a7c6a112b4d23f4bae
parent0e38bd848d41bcfc7a113603ee37805016a09a42
bootstd: Read the Operating System name for distro/scripts

Add the concept of an OS name to the bootflow. This typically includes the
OS name, version and kernel version.

Implement this for the distro and script bootmeths so that it works with
Armbian and older version of Fedora.

Signed-off-by: Simon Glass <sjg@chromium.org>
boot/bootflow.c
boot/bootmeth_distro.c
boot/bootmeth_script.c
cmd/bootflow.c
include/bootflow.h
test/boot/bootflow.c