[Libosinfo] [libosinfo PATCH] os: Add kernel-url-argument API

Fabiano Fidêncio fidencio at redhat.com
Fri May 3 11:07:24 UTC 2019


On Thu, May 2, 2019 at 4:39 PM Fabiano Fidêncio <fidencio at redhat.com> wrote:
>
> Tree based installations will require a kernel-url-argument to be
> assed. Let's provide an API to the apps to get this info from OsinfoOS.
>
> https://gitlab.com/libosinfo/osinfo-db/issues/28
>
> Signed-off-by: Fabiano Fidêncio <fidencio at redhat.com>

I've discusses this with Cole off-list and we've decided that going
for an "inheritance" (pero no mucho) way would be better.
I'll change the implementation for something towards the line of:
current.kernel_url_argument = current.kernel_url_argument or
derived_from.kernel_url_argument

With that we'll be able to keep kernel_url_argument as a single one
and just replace it in case a new one is added (which will be needed
for Fedora >= 19, for instance).

A v3 (of the whole thing) will be submitted.




More information about the Libosinfo mailing list