[Libosinfo] [PATCH 7/7] win7: Map medias to appr. variants
Christophe Fergeau
cfergeau at redhat.com
Wed Nov 27 09:41:45 UTC 2013
How would we map one media corresponding to multiple variants (depending on
the serial you enter at install time)?
Christophe
On Tue, Nov 26, 2013 at 04:16:33PM +0000, Zeeshan Ali (Khattak) wrote:
> ---
> data/oses/windows.xml.in | 62 ++++++++++++++++++++++++++++++++++++++++++++++--
> 1 file changed, 60 insertions(+), 2 deletions(-)
>
> diff --git a/data/oses/windows.xml.in b/data/oses/windows.xml.in
> index f62595a..11efca2 100644
> --- a/data/oses/windows.xml.in
> +++ b/data/oses/windows.xml.in
> @@ -755,16 +755,74 @@
> <_name>Microsoft Windows 7 Ultimate</_name>
> </variant>
>
> + <!-- Home Premium -->
> + <media arch="x86_64" installer-reboots="2" variant="home-premium">
> + <iso>
> + <volume-id>(GSP1RMCNHPXFRER)_</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>
> + </media>
> +
> + <!-- Professional -->
> + <media arch="i686" installer-reboots="2" variant="professional">
> + <iso>
> + <volume-id>(GSP1RMCNPRFRER|GSP1RMCPRFRER|GSP1RMCPRVOL)_</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>
> + </media>
> + <media arch="x86_64" installer-reboots="2" variant="professional">
> + <iso>
> + <volume-id>(GSP1RMCPRXFRER|GSP1RMCPRXVOL)_</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>
> + </media>
> +
> + <!-- Enterprise -->
> + <media arch="i686" installer-reboots="2" variant="enterprise">
> + <iso>
> + <volume-id>(GRMCENVOL|GRMCNENVOL|GSP1RMCNENVOL)_</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>
> + </media>
> + <media arch="x86_64" installer-reboots="2" variant="enterprise">
> + <iso>
> + <volume-id>(GSP1RMCENXVOL|GRMCENXVOL|GRMCNENXVOL)_</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>
> + </media>
> +
> + <!-- Ultimate -->
> + <media arch="i686" installer-reboots="2" variant="ultimate">
> + <iso>
> + <volume-id>(GRMCULFRER|GSP1RMCNULFRER|GSP1RMCULFRER)_</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>
> + </media>
> + <media arch="x86_64" installer-reboots="2" variant="ultimate">
> + <iso>
> + <volume-id>(GRMCULXFRER|GSP1RMCNULXFRER)_</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>
> + </media>
> +
> + <!-- Variant unknown -->
> <media arch="i686" installer-reboots="2">
> <iso>
> - <volume-id>(GRMCULFRER|GSP1RMCNPRFRER|GSP1RMCNULFRER|GSP1RMCULFRER|GSP1RMCPRFRER|GRMCENVOL|GRMCNENVOL|GRMCPRFRER|GSP1RMCPRVOL|GSP1RMCNENVOL)_</volume-id>
> + <volume-id>(GRMCPRFRER)_</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>
> </media>
> <media arch="x86_64" installer-reboots="2">
> <iso>
> - <volume-id>(GRMCULXFRER|GSP1RMCPRXFRER|GSP1RMCNHPXFRER|GRMCHPXFRER|GRMCXCHK|GSP1RMCENXVOL|GRMCENXVOL|GRMCNENXVOL|GRMCPRXFRER|GSP1RMCPRXVOL|GSP1RMCNULXFRER)_</volume-id>
> + <volume-id>(GRMCHPXFRER|GRMCXCHK|GRMCPRXFRER)_</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>
> --
> 1.8.4.2
>
> _______________________________________________
> Libosinfo mailing list
> Libosinfo at redhat.com
> https://www.redhat.com/mailman/listinfo/libosinfo
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libosinfo/attachments/20131127/75322292/attachment.sig>
More information about the Libosinfo
mailing list