mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2026-06-13 15:03:58 +03:00
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>
This commit is contained in:
@@ -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();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user