The validation of the manifest is done twice. First when the manifest is 
added to the service in the install server (SUNWinstalladm-tools 
validation applies) and second by the install service in the client 
(validation depends on the manifest schema in the AI image).

Currently the nightly installadm-tools use the 'new format' and all AI 
images up to osol_110 included use the 'old format'.

We ran this problem in PIT and the solution was to fall back to a 
previous version of SUNWinstalladm-tools.

Regards,
David


On 06/04/09 22:29, Sean McGrath wrote:
>   With b111 bits and newer installadm pkgs the format of ai_manifest.xml 
> changes
>
>   I list the packages needed to install, using the version numbers so
>     I could install different builds of osol_0906.
>
>   Anyways, seems the change is from:
>
>   old format:
>               <ai_packages>
>               <package_name>SUNWcsd at 0.5.11,5.11-0.111</package_name>
>               </ai_packages>
>               <ai_packages>
>               <package_name>SUNWcs at 0.5.11,5.11-0.111</package_name>
>               </ai_packages>
>      . .. and so on ..
>
>   to this new format:
>
>               <ai_packages>
>               <package_name>SUNWcsd at 0.5.11,5.11-0.111</package_name>
>               <package_name>SUNWcs at 0.5.11,5.11-0.111</package_name>
>               <package_name>entire at 0.5.11,5.11-0.111</package_name>
>               <package_name>SUNWj6rtx at 0.5.11,5.11-0.111</package_name>
>               <package_name>SUNWgroff at 0.5.11,5.11-0.111</package_name>
>               <package_name>SUNWgcc at 3.4.3,5.11-0.111</package_name>
>               <package_name>slim_install at 0.1,5.11-0.111</package_name>
>               </ai_packages>
>
>    which is nice and neater but (I think) not backwards compatible, right ?
>
>    so to install older builds of osol_0906, even the b110 bits.. I can't
>    unless I use older SUNWinstalladm-tools right ?
>
>   With the old format I get this:
>
> installadm add -m /export/install/config/oaf273/ai/c.manifest.xml -n 
> i86pc_osol_0906-111_is
> Error:  File ai.manifest.xml failed validation:
>          Element ai_manifest failed to validate content
>
>    old format ai manifest.xml attached.
>
> Regards,
> --
> Sean.
> .
>    
> ------------------------------------------------------------------------
>
> _______________________________________________
> caiman-discuss mailing list
> caiman-discuss at opensolaris.org
> http://mail.opensolaris.org/mailman/listinfo/caiman-discuss
>    

-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
<http://mail.opensolaris.org/pipermail/caiman-discuss/attachments/20090407/061f998c/attachment.html>

Reply via email to