diff options
author | Simon Glass <sjg@chromium.org> | 2023-01-06 17:52:33 +0300 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2023-01-17 02:26:50 +0300 |
commit | 2175e76a51e53798ee4e19903b368a7e6c98356a (patch) | |
tree | 4a21d37ed1f38bd596a8e2a7c6a112b4d23f4bae /test | |
parent | 0e38bd848d41bcfc7a113603ee37805016a09a42 (diff) | |
download | u-boot-2175e76a51e53798ee4e19903b368a7e6c98356a.tar.xz |
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>
Diffstat (limited to 'test')
-rw-r--r-- | test/boot/bootflow.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/boot/bootflow.c b/test/boot/bootflow.c index e1e0708210..3296316cf0 100644 --- a/test/boot/bootflow.c +++ b/test/boot/bootflow.c @@ -188,6 +188,7 @@ static int bootflow_cmd_info(struct unit_test_state *uts) ut_assert_nextline("Filename: /extlinux/extlinux.conf"); ut_assert_nextlinen("Buffer: "); ut_assert_nextline("Size: 253 (595 bytes)"); + ut_assert_nextline("OS: Fedora-Workstation-armhfp-31-1.9 (5.3.7-301.fc31.armv7hl)"); ut_assert_nextline("Error: 0"); ut_assert_console_end(); |