[osinfo-db] win10: Fix detection of recent Windows 10 builds

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Recent Windows 10 builds (build 1607) seem to have dropped the J_ at the
beginning of the volume ID. While I haven't checked that this was done
for all the ISOs which are listed, it makes sense to do it for all
rather than just the few I've checked.
---
 data/os/microsoft.com/win-10.xml.in | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)

diff --git a/data/os/microsoft.com/win-10.xml.in b/data/os/microsoft.com/win-10.xml.in
index 6062d59..e443276 100644
--- a/data/os/microsoft.com/win-10.xml.in
+++ b/data/os/microsoft.com/win-10.xml.in
@@ -27,7 +27,7 @@
     <media arch="i686">
       <variant id="education"/>
       <iso>
-        <volume-id>J_CEDN?A_X86FRE_</volume-id>
+        <volume-id>(J_)?CEDN?A_X86FRE_</volume-id>
         <publisher-id>MICROSOFT CORPORATION</publisher-id>
         <l10n-language regex="true" l10n-language-map="http://microsoft.com/win/8/l10n-language";>[[:upper:][:digit:]_]*_([[:upper:]]*-[[:upper:]]*)</l10n-language>
       </iso>
@@ -35,7 +35,7 @@
     <media arch="x86_64">
       <variant id="education"/>
       <iso>
-        <volume-id>J_CEDN?A_X64FRE_</volume-id>
+        <volume-id>(J_)?CEDN?A_X64FRE_</volume-id>
         <publisher-id>MICROSOFT CORPORATION</publisher-id>
         <l10n-language regex="true" l10n-language-map="http://microsoft.com/win/8/l10n-language";>[[:upper:][:digit:]_]*_([[:upper:]]*-[[:upper:]]*)</l10n-language>
       </iso>
@@ -45,7 +45,7 @@
     <media arch="i686">
       <variant id="enterprise"/>
       <iso>
-        <volume-id>J_CENN?A_X86FREV_</volume-id>
+        <volume-id>(J_)?CEN?A_X86FREV_</volume-id>
         <publisher-id>MICROSOFT CORPORATION</publisher-id>
         <l10n-language regex="true" l10n-language-map="http://microsoft.com/win/8/l10n-language";>[[:upper:][:digit:]_]*_([[:upper:]]*-[[:upper:]]*)</l10n-language>
       </iso>
@@ -53,7 +53,7 @@
     <media arch="x86_64">
       <variant id="enterprise"/>
       <iso>
-        <volume-id>J_CENN?A_X64FREV_</volume-id>
+        <volume-id>(J_)?CENN?A_X64FREV_</volume-id>
         <publisher-id>MICROSOFT CORPORATION</publisher-id>
         <l10n-language regex="true" l10n-language-map="http://microsoft.com/win/8/l10n-language";>[[:upper:][:digit:]_]*_([[:upper:]]*-[[:upper:]]*)</l10n-language>
       </iso>
@@ -63,7 +63,7 @@
     <media arch="i686">
       <variant id="enterprise-ltsb"/>
       <iso>
-        <volume-id>J_CESN?N?_X86FREV_</volume-id>
+        <volume-id>(J_)?CESN?N?_X86FREV_</volume-id>
         <publisher-id>MICROSOFT CORPORATION</publisher-id>
         <l10n-language regex="true" l10n-language-map="http://microsoft.com/win/8/l10n-language";>[[:upper:][:digit:]_]*_([[:upper:]]*-[[:upper:]]*)</l10n-language>
       </iso>
@@ -71,7 +71,7 @@
     <media arch="x86_64">
       <variant id="enterprise-ltsb"/>
       <iso>
-        <volume-id>J_CESN?N?_X64FREV_</volume-id>
+        <volume-id>(J_)?CESN?N?_X64FREV_</volume-id>
         <publisher-id>MICROSOFT CORPORATION</publisher-id>
         <l10n-language regex="true" l10n-language-map="http://microsoft.com/win/8/l10n-language";>[[:upper:][:digit:]_]*_([[:upper:]]*-[[:upper:]]*)</l10n-language>
       </iso>
@@ -80,14 +80,14 @@
     <!-- No Variant -->
     <media arch="i686">
       <iso>
-        <volume-id>J_CCSN?A_X86FRE_</volume-id>
+        <volume-id>(J_)?CCSN?A_X86FRE_</volume-id>
         <publisher-id>MICROSOFT CORPORATION</publisher-id>
         <l10n-language regex="true" l10n-language-map="http://microsoft.com/win/8/l10n-language";>[[:upper:][:digit:]_]*_([[:upper:]]*-[[:upper:]]*)</l10n-language>
       </iso>
     </media>
     <media arch="x86_64">
       <iso>
-        <volume-id>J_CCSN?A_X64FRE_</volume-id>
+        <volume-id>(J_)?CCSN?A_X64FRE_</volume-id>
         <publisher-id>MICROSOFT CORPORATION</publisher-id>
         <l10n-language regex="true" l10n-language-map="http://microsoft.com/win/8/l10n-language";>[[:upper:][:digit:]_]*_([[:upper:]]*-[[:upper:]]*)</l10n-language>
       </iso>
-- 
2.9.3

_______________________________________________
Libosinfo mailing list
Libosinfo@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libosinfo



[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Fedora Users]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux