Hi Halton,
With regards to issue 4. One needs to have the manifest be named
default (or default.xml) as per Example 2-11 (line: '<ai_manifest
name="default">'). Otherwise, you'll need to add criteria as a non-default
manifest must have criteria.
There is a bug to have a better error message printed, however,
bug 4318 - publish-manifest needs to error about no criteria in
non-default manifests.
Thank you,
Clay
On Wed, 12 Nov 2008, Halton Huo wrote:
> Hi,
>
> Four issus I found so far.
>
> 1. typo in the SC manifest example(p17)
> <!DOCTYPE service_bundle SYSTEM
> '/usrr/share/lib/xml/dtd/service_bundle.dtd.1'>
>
> usrr is typo.
>
> 2. Example 2-6(p18) miss </ai_criteria_manifest>
>
> 3. SC manifest examples lost enabled
> $installadm add -m sideline.xml -n 101a-20081111
> Error: File ./sc_manifest1.xml failed validation:
> Element instance does not carry attribute enabled
>
> It works after I change the line
> "<instance name=???default???>" to
> "<instance name='default' enabled='true'>"
>
> 4. Example 2-11(p20) does not work
> $installadm add -m sideline.xml -n 101a-20081111
> Error: Criteria None is not a valid criteria!
>
> Seems at least I need add one "ai_criteria" like following:
> <ai_criteria_manifest>
> <ai_criteria name="ARCH">
> <value>i86pc</value>
> </ai_criteria>
> <ai_manifest_file URI="./ai_osol-re.xml"/>
> <sc_manifest_file name="AI" URI="./sc_manifest1.xml"/>
> </ai_criteria_manifest>
>
> Thanks,
> Halton.
>
> On Tue, 2008-11-11 at 17:48 -0800, Barbara.Lundquist at Sun.COM wrote:
> > Sundar and Sue,
> >
> > Thanks for your edits and new material!
> > What I hope are the final AI docs are now posted at:
> >
> > AI Article:
> > http://opensolaris.org/os/project/caiman/files/AIinstallFinal.pdf
> >
> > installadm(1M) man page:
> > http://opensolaris.org/os/project/caiman/files/installadm.1m.txt
> >
> > I could do abit more tweaking tomorrow/Thursday, but I need
> > to spend most of tomorrow finishing the DC docs.
> >
> > I'll deliver these docs by 1st thing Friday morning.
> > Barbara
> >
> >
> > _______________________________________________
> > caiman-discuss mailing list
> > caiman-discuss at opensolaris.org
> > http://mail.opensolaris.org/mailman/listinfo/caiman-discuss
>
>