SHA256
1
0
forked from pool/osinfo-db
osinfo-db/modify-volume-id-for-windows.patch
Charles Arnold 04c7f594a4 - bsc#974580 - modify volume id for some windows iso files
First, use "X64FREE?" instead of "X64FRE". 
  Second, add "IR1_SSS_X64FREV_EN-US_DV5".
  modify-volume-id-for-windows.patch

OBS-URL: https://build.opensuse.org/package/show/Virtualization/osinfo-db?expand=0&rev=54
2018-04-05 16:58:00 +00:00

145 lines
7.8 KiB
Diff

diff -ruN osinfo-db-20180311-org/os/microsoft.com/win-10.xml osinfo-db-20180311/os/microsoft.com/win-10.xml
--- osinfo-db-20180311-org/os/microsoft.com/win-10.xml 2018-04-04 17:46:41.451731061 -0400
+++ osinfo-db-20180311/os/microsoft.com/win-10.xml 2018-04-04 17:40:50.358930629 -0400
@@ -68,7 +68,7 @@
<media arch="x86_64">
<variant id="education"/>
<iso>
- <volume-id>(J_)?CEDN?A_X64FRE_</volume-id>
+ <volume-id>(J_)?CEDN?A_X64FREE?_</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>
@@ -120,7 +120,7 @@
</media>
<media arch="x86_64">
<iso>
- <volume-id>(J_)?(CCSN?A|CCOMA)_X64FRE_</volume-id>
+ <volume-id>(J_)?(CCSN?A|CCOMA)_X64FREE?_</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>
diff -ruN osinfo-db-20180311-org/os/microsoft.com/win-2k12r2.xml osinfo-db-20180311/os/microsoft.com/win-2k12r2.xml
--- osinfo-db-20180311-org/os/microsoft.com/win-2k12r2.xml 2018-04-04 17:46:41.451731061 -0400
+++ osinfo-db-20180311/os/microsoft.com/win-2k12r2.xml 2018-04-04 17:48:15.943930299 -0400
@@ -68,7 +68,7 @@
<media arch="x86_64">
<iso>
- <volume-id>(IRM_SSS_X64FRE|IRM_SSS_X64CHK|IR3_SSS_X64FRE|IR5_SSS_X64FRE)_</volume-id>
+ <volume-id>(IRM_SSS_X64FREE?|IRM_SSS_X64CHK|IR3_SSS_X64FREE?|IR5_SSS_X64FREE?)_</volume-id>
<publisher-id>MICROSOFT CORPORATION</publisher-id>
<l10n-language regex="true" l10n-language-map="http://microsoft.com/win/7/l10n-language">[[:upper:][:digit:]]*_([[:upper:]]*)</l10n-language>
</iso>
@@ -76,7 +76,7 @@
<media arch="x86_64">
<variant id="essentials"/>
<iso>
- <volume-id>(IRM_SSSO_X64CHK|IR5_SSSO_X64FRE|IRM_SSSO_X64FRE)_</volume-id>
+ <volume-id>(IRM_SSSO_X64CHK|IR5_SSSO_X64FREE?|IRM_SSSO_X64FREE?)_</volume-id>
<publisher-id>MICROSOFT CORPORATION</publisher-id>
<l10n-language regex="true" l10n-language-map="http://microsoft.com/win/7/l10n-language">[[:upper:][:digit:]]*_([[:upper:]]*)</l10n-language>
</iso>
@@ -84,7 +84,7 @@
<media arch="x86_64">
<variant id="hyperv"/>
<iso>
- <volume-id>(IRM_SHV_X64CHK|IRM_SHV_X64FRE)_</volume-id>
+ <volume-id>(IRM_SHV_X64CHK|IRM_SHV_X64FREE?)_</volume-id>
<publisher-id>MICROSOFT CORPORATION</publisher-id>
<l10n-language regex="true" l10n-language-map="http://microsoft.com/win/7/l10n-language">[[:upper:][:digit:]]*_([[:upper:]]*)</l10n-language>
</iso>
@@ -92,7 +92,7 @@
<media arch="x86_64">
<variant id="volume-licence"/>
<iso>
- <volume-id>(IR5_SSS_X64FREV|IR2_SSS_X64FREV)_</volume-id>
+ <volume-id>(IR5_SSS_X64FREV|IR2_SSS_X64FREV|IR1_SSS_X64FREV)_</volume-id>
<publisher-id>MICROSOFT CORPORATION</publisher-id>
<l10n-language regex="true" l10n-language-map="http://microsoft.com/win/7/l10n-language">[[:upper:][:digit:]]*_([[:upper:]]*)</l10n-language>
</iso>
diff -ruN osinfo-db-20180311-org/os/microsoft.com/win-2k12.xml osinfo-db-20180311/os/microsoft.com/win-2k12.xml
--- osinfo-db-20180311-org/os/microsoft.com/win-2k12.xml 2018-04-04 17:46:41.451731061 -0400
+++ osinfo-db-20180311/os/microsoft.com/win-2k12.xml 2018-04-04 17:41:43.167048199 -0400
@@ -68,7 +68,7 @@
<media arch="x86_64">
<iso>
- <volume-id>(HRM_SSS_X64CHK|HRM_SSS_X64FRE)_</volume-id>
+ <volume-id>(HRM_SSS_X64CHK|HRM_SSS_X64FREE?)_</volume-id>
<publisher-id>MICROSOFT CORPORATION</publisher-id>
<l10n-language regex="true" l10n-language-map="http://microsoft.com/win/7/l10n-language">[[:upper:][:digit:]]*_([[:upper:]]*)</l10n-language>
</iso>
@@ -77,7 +77,7 @@
<media arch="x86_64">
<variant id="essentials"/>
<iso>
- <volume-id>(HRM_SSSO_X64FRE)_</volume-id>
+ <volume-id>(HRM_SSSO_X64FREE?)_</volume-id>
<publisher-id>MICROSOFT CORPORATION</publisher-id>
<l10n-language regex="true" l10n-language-map="http://microsoft.com/win/7/l10n-language">[[:upper:][:digit:]]*_([[:upper:]]*)</l10n-language>
</iso>
@@ -85,7 +85,7 @@
<media arch="x86_64">
<variant id="hyperv"/>
<iso>
- <volume-id>(HRM_SHV_X64CHK|HRM_SHV_X64FRE)_</volume-id>
+ <volume-id>(HRM_SHV_X64CHK|HRM_SHV_X64FREE?)_</volume-id>
<publisher-id>MICROSOFT CORPORATION</publisher-id>
<l10n-language regex="true" l10n-language-map="http://microsoft.com/win/7/l10n-language">[[:upper:][:digit:]]*_([[:upper:]]*)</l10n-language>
</iso>
diff -ruN osinfo-db-20180311-org/os/microsoft.com/win-2k16.xml osinfo-db-20180311/os/microsoft.com/win-2k16.xml
--- osinfo-db-20180311-org/os/microsoft.com/win-2k16.xml 2018-04-04 17:46:41.451731061 -0400
+++ osinfo-db-20180311/os/microsoft.com/win-2k16.xml 2018-04-04 17:39:19.718809457 -0400
@@ -28,7 +28,7 @@
<media arch="x86_64">
<iso>
- <volume-id>^(SSS_X64CHK|SSS_X64FRE|SSS_X64FREE)_</volume-id>
+ <volume-id>^(SSS_X64CHK|SSS_X64FREE?)_</volume-id>
<publisher-id>MICROSOFT CORPORATION</publisher-id>
<l10n-language regex="true" l10n-language-map="http://microsoft.com/win/7/l10n-language">[[:upper:][:digit:]]*_([[:upper:]]*)</l10n-language>
</iso>
@@ -36,7 +36,7 @@
<media arch="x86_64">
<variant id="essentials"/>
<iso>
- <volume-id>^(SESS_X64FRE)_</volume-id>
+ <volume-id>^(SESS_X64FREE?)_</volume-id>
<publisher-id>MICROSOFT CORPORATION</publisher-id>
<l10n-language regex="true" l10n-language-map="http://microsoft.com/win/7/l10n-language">[[:upper:][:digit:]]*_([[:upper:]]*)</l10n-language>
</iso>
@@ -44,7 +44,7 @@
<media arch="x86_64">
<variant id="hyperv"/>
<iso>
- <volume-id>^(SHV_X64CHK|SHV_X64FRE)_</volume-id>
+ <volume-id>^(SHV_X64CHK|SHV_X64FREE?)_</volume-id>
<publisher-id>MICROSOFT CORPORATION</publisher-id>
<l10n-language regex="true" l10n-language-map="http://microsoft.com/win/7/l10n-language">[[:upper:][:digit:]]*_([[:upper:]]*)</l10n-language>
</iso>
diff -ruN osinfo-db-20180311-org/os/microsoft.com/win-8.1.xml osinfo-db-20180311/os/microsoft.com/win-8.1.xml
--- osinfo-db-20180311-org/os/microsoft.com/win-8.1.xml 2018-04-04 17:46:41.451731061 -0400
+++ osinfo-db-20180311/os/microsoft.com/win-8.1.xml 2018-04-04 17:39:44.510843045 -0400
@@ -148,7 +148,7 @@
</media>
<media arch="x86_64">
<iso>
- <volume-id>(IR[M35]_CCSN?A_X64FRE)_</volume-id>
+ <volume-id>(IR[M35]_CCSN?A_X64FREE?)_</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>
diff -ruN osinfo-db-20180311-org/os/microsoft.com/win-8.xml osinfo-db-20180311/os/microsoft.com/win-8.xml
--- osinfo-db-20180311-org/os/microsoft.com/win-8.xml 2018-04-04 17:46:41.451731061 -0400
+++ osinfo-db-20180311/os/microsoft.com/win-8.xml 2018-04-04 17:42:28.079156558 -0400
@@ -78,7 +78,7 @@
</media>
<media installer-reboots="2" arch="x86_64">
<iso>
- <volume-id>(HB1_CCPA_X64FRE|HRM_CCSN?A_X64FRE)_</volume-id>
+ <volume-id>(HB1_CCPA_X64FREE?|HRM_CCSN?A_X64FREE?)_</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>