Sean McGrath wrote:
>  Thanks folks I've filed: 
>    7986 AI should validate manifests against an install image's schema
>    http://defect.opensolaris.org/bz/show_bug.cgi?id=7986
>   

Thanks.

-ethan

> jan damborsky stated:
>   
>> Hi Sean,
>>
>>
>> On 04/06/09 23: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>
>>>       
>> New format supporter from build 111 specifying list of packages
>> to be installed has following structure:
>>
>> ...
>> <ai_install_packages>
>>    <pkg name="entire"/>
>>    <pkg name="SUNWcsd"/>
>>    <pkg name="SUNWcs"/>
>>    <pkg name="babel_install"/>
>> </ai_install_packages>
>> ...
>>
>> Please see Heads-up message with following subject for more details:
>> "Automated Installer can remove packages -  format of AI manifest  
>> changed - build 111"
>>
>>     
>>>   which is nice and neater but (I think) not backwards compatible, right ?
>>>       
>> Yes, this is correct. Old AI images can't process new AI manifest.
>>
>>     
>>>   so to install older builds of osol_0906, even the b110 bits.. I can't
>>>   unless I use older SUNWinstalladm-tools right ?
>>>       
>> The intent was to continue to support old manifests with new  
>> SUNWinstalladm-tools.
>> That said, it seems old AI client can accept list of packages in several  
>> formats
>> and apparently not all were taken into account.
>> Following format of old manifest which old AI client can understand as well
>> is accepted by new SUNWinstalladm-tools:
>>
>> <ai_packages>
>>    <package_name>
>>        entire
>>        SUNWcsd
>>        SUNWcs
>>        babel_install
>>    </package_name>
>> </ai_packages>
>>
>>
>> In order to be able to use old AI manifests with new SUNWinstalladm-tools,
>> you could convert your old AI manifests to that format, e.g.
>>
>> <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>
>> ...
>>
>> ->
>>
>> <ai_packages>
>>    <package_name>
>>        SUNWcsd at 0.5.11,5.11-0.111
>>        SUNWcs at 0.5.11,5.11-0.111
>>        ...
>>    </package_name>
>> </ai_packages>
>>
>>
>> If this solution might not be feasible, then AI RelaxNG schema might
>> be modified in such a way it also accepts the format you have used
>> so far - in that case please fee free to file bug for this issue.
>>
>> My apologies for the inconvenience,
>> Jan
>>
>>     
>
>   

Reply via email to