As devices are inherited whenever a new entry "derives-from" or "clones"
an existing entry, we have to have a way to express that the device from
the previous entry is now removed in the current one.

https://gitlab.com/libosinfo/osinfo-db/issues/13

Signed-off-by: Fabiano Fidêncio <[email protected]>
---
 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 214c195..e15b6c7 100644
--- a/data/schema/osinfo.rng.in
+++ b/data/schema/osinfo.rng.in
@@ -252,6 +252,11 @@
               <ref name='bool'/>
             </attribute>
           </optional>
+          <optional>
+            <attribute name='removed'>
+              <ref name='bool'/>
+            </attribute>
+          </optional>
           <optional>
             <element name='driver'>
               <text/>
-- 
2.19.1

_______________________________________________
Libosinfo mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/libosinfo

Reply via email to