[PATCH 14/24] bootstd: Read the Operating System name for distro/scripts

Simon Glass sjg at chromium.org
Wed Oct 19 15:18:07 CEST 2022


Hi Heinrich,

On Mon, 17 Oct 2022 at 16:14, Heinrich Schuchardt <xypron.glpk at gmx.de> wrote:
>
> On 10/17/22 22:29, Simon Glass wrote:
> > 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.
>
> How do you plan to detect the distro?

Just by reading the information it provides. For Armbian you can tell
from the script. For Fedora there is a name in the boot file.

I hope we can standardise this at some point.

Regards,
Simon


More information about the U-Boot mailing list