[Libosinfo] [libosinfo 4/4] Stop using <foo>true</foo> in libosinfo database

Christophe Fergeau cfergeau at redhat.com
Wed Nov 6 13:41:53 UTC 2013


libosinfo can now parse <foo/> as an alternative to <foo>true</foo> to
represent a boolean. As the former is the preferred representation, switch
to using this in the data libosinfo ships.
---
 data/install-scripts/windows-cmd.xml      | 2 +-
 data/install-scripts/windows-sif.xml      | 4 ++--
 data/install-scripts/windows-unattend.xml | 4 ++--
 3 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/data/install-scripts/windows-cmd.xml b/data/install-scripts/windows-cmd.xml
index 876cf53..04ffb23 100644
--- a/data/install-scripts/windows-cmd.xml
+++ b/data/install-scripts/windows-cmd.xml
@@ -4,7 +4,7 @@
     <profile>desktop</profile>
     <path-format>dos</path-format>
     <expected-filename>windows.cmd</expected-filename>
-    <can-post-install-drivers>true</can-post-install-drivers>
+    <can-post-install-drivers/>
     <post-install-drivers-signing-req>strict</post-install-drivers-signing-req>
     <config>
       <param name="admin-password" policy="optional"/>
diff --git a/data/install-scripts/windows-sif.xml b/data/install-scripts/windows-sif.xml
index 2bccc5d..b45f154 100644
--- a/data/install-scripts/windows-sif.xml
+++ b/data/install-scripts/windows-sif.xml
@@ -5,7 +5,7 @@
     <path-format>dos</path-format>
     <product-key-format>$$$$$-$$$$$-$$$$$-$$$$$-$$$$$</product-key-format>
     <expected-filename>winnt.sif</expected-filename>
-    <can-pre-install-drivers>true</can-pre-install-drivers>
+    <can-pre-install-drivers/>
     <config>
       <param name="admin-password" policy="optional"/>
       <param name="reg-product-key" policy="required"/>
@@ -75,7 +75,7 @@
     <path-format>dos</path-format>
     <product-key-format>$$$$$-$$$$$-$$$$$-$$$$$-$$$$$</product-key-format>
     <expected-filename>winnt.sif</expected-filename>
-    <can-pre-install-drivers>true</can-pre-install-drivers>
+    <can-pre-install-drivers/>
     <config>
       <param name="admin-password" policy="optional"/>
       <param name="reg-product-key" policy="required"/>
diff --git a/data/install-scripts/windows-unattend.xml b/data/install-scripts/windows-unattend.xml
index 93fafa4..37fefdb 100644
--- a/data/install-scripts/windows-unattend.xml
+++ b/data/install-scripts/windows-unattend.xml
@@ -4,7 +4,7 @@
     <path-format>dos</path-format>
     <product-key-format>$$$$$-$$$$$-$$$$$-$$$$$-$$$$$</product-key-format>
    <expected-filename>autounattend.xml</expected-filename>
-   <can-pre-install-drivers>true</can-pre-install-drivers>
+   <can-pre-install-drivers/>
     <config>
       <param name="admin-password" policy="optional"/>
       <param name="hardware-arch" policy="optional"/>
@@ -216,7 +216,7 @@
    <path-format>dos</path-format>
    <product-key-format>$$$$$-$$$$$-$$$$$-$$$$$-$$$$$</product-key-format>
    <expected-filename>autounattend.xml</expected-filename>
-   <can-pre-install-drivers>true</can-pre-install-drivers>
+   <can-pre-install-drivers/>
    <config>
     <param name="admin-password" policy="optional"/>
     <param name="hardware-arch" policy="required"/>
-- 
1.8.4.2




More information about the Libosinfo mailing list