diff options
| author | Simon Glass <[email protected]> | 2023-01-06 08:52:33 -0600 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2023-01-16 18:26:50 -0500 |
| commit | 2175e76a51e53798ee4e19903b368a7e6c98356a (patch) | |
| tree | 4a21d37ed1f38bd596a8e2a7c6a112b4d23f4bae /boot/bootflow.c | |
| parent | 0e38bd848d41bcfc7a113603ee37805016a09a42 (diff) | |
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 <[email protected]>
Diffstat (limited to 'boot/bootflow.c')
| -rw-r--r-- | boot/bootflow.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/boot/bootflow.c b/boot/bootflow.c index f9ad4099244..163cd4953dd 100644 --- a/boot/bootflow.c +++ b/boot/bootflow.c @@ -354,6 +354,7 @@ void bootflow_free(struct bootflow *bflow) free(bflow->subdir); free(bflow->fname); free(bflow->buf); + free(bflow->os_name); } void bootflow_remove(struct bootflow *bflow) |
