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

Fabiano Fidêncio fabiano at fidencio.org
Sun Jun 3 16:44:28 UTC 2018


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




More information about the Libosinfo mailing list