[Libosinfo] [osinfo-db PATCH 1/3] schema: Add installer to the media

Fabiano Fidêncio fidencio at redhat.com
Wed Feb 6 15:54:06 UTC 2019


Having the instsaller tied to the OS is something that has been shown
not optimal, unfortunately.

An OS may have a few different medias and each media may support a
specific type of script or, even, not support an installer script at
all. With this in mind, let's have the installer scripts tied to the
medias themselves.

Signed-off-by: Fabiano Fidêncio <fidencio at redhat.com>
---
 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 5e6f5e7..6fc03a1 100644
--- a/data/schema/osinfo.rng.in
+++ b/data/schema/osinfo.rng.in
@@ -412,6 +412,11 @@
             <text/>
           </element>
         </optional>
+        <optional>
+          <zeroOrMore>
+            <ref name='installer'/>
+          </zeroOrMore>
+        </optional>
       </interleave>
     </element>
   </define>
-- 
2.20.1




More information about the Libosinfo mailing list