[Libosinfo] [osinfo-db][PATCH 1/5] rng: Add "network-installer" media attribute

Christophe Fergeau cfergeau at redhat.com
Tue Jun 5 09:10:11 UTC 2018


Can you change 'rng' to 'schema' or 'relax-ng' in the shortlog? At first
I thought it was about Random Number Generators, which was puzzling :)

Acked-by: Christophe Fergeau <cfergeau at redhat.com>

On Sun, Jun 03, 2018 at 06:44:28PM +0200, Fabiano Fidêncio wrote:
> In the same way we have the "live" attribute to help apps using
> libosinfo to find out whether they can rely on the media being a live
> media or not, I'd like to propose the "network-installer" attribute.
> 
> This attribute would be used by the apps to find out which medias, from
> the same distro and version, should be considered a network-installer so
> the apps could make as clear as possible that network is required in
> order to proceed with the installation.
> 
> Signed-off-by: Fabiano Fidêncio <fabiano at fidencio.org>
> ---
>  data/schema/osinfo.rng.in | 5 +++++
>  1 file changed, 5 insertions(+)
> 
> diff --git a/data/schema/osinfo.rng.in b/data/schema/osinfo.rng.in
> index 843519d..c1dc0a5 100644
> --- a/data/schema/osinfo.rng.in
> +++ b/data/schema/osinfo.rng.in
> @@ -345,6 +345,11 @@
>            <ref name='bool'/>
>          </attribute>
>        </optional>
> +      <optional>
> +        <attribute name="network-installer">
> +          <ref name='bool'/>
> +        </attribute>
> +      </optional>
>        <optional>
>          <attribute name="installer">
>            <ref name='bool'/>
> -- 
> 2.14.3
> 
> _______________________________________________
> Libosinfo mailing list
> Libosinfo at redhat.com
> https://www.redhat.com/mailman/listinfo/libosinfo
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libosinfo/attachments/20180605/49d584b1/attachment.sig>


More information about the Libosinfo mailing list