Jean McCormack wrote:
> Karen,
>
> Did you test the IPS script? I'm concerned because at the end of the 
> pkg_image area population,
> we set the authority to whatever is specified as the post_install 
> authority. Seems like this would
>  change that.
>   
I didn't test these particular script, because I don't have my own repo 
setting anymore,
but I based them using ones that I used before.
As for the authority, they will not depend on what's specified as the 
post_install_authority,
because both examples are adding packages from a test repo, and the script
deliberately do a set-authority to the test repo.  The script does need 
a little cleanup though,
the scripts should unset the authority set during the testing, so 
whatever value we specified
in the manifest for post_install_authority will work.
> Of course since wanting to do this is probably a common want, maybe we 
> should move the setting
> of the post_install authority to later in the build?
>
> What do you think?
>   
Theoretically yes, but where later in the build?  We could insert it in 
between the finalizer
scripts, but they could also be overwritten by finalizer scripts that 
come later than that script.
So, we are back to the same problem.  The examples are just supposed to 
be for their testing, and
I will add some note on there to tell them that if they don't unset the 
authority, it will remain in there.

In the long run, I think it might be better to do the whole image 
creation process as a series of
finalizer scripts.  So, break up what we do now to populate the pkg 
image area into a few scripts
and list them in the manifest.  That way, people can have the 
flexibility to add or remove things
between the scripts.  Of course, this will be for post 2008.11.

Thanks,

--Karen
> Jean
>
> Karen Tung wrote:
>   
>> Hi Barbara,
>>
>> I updated the TOI page to include finalizer script examples on 
>> adding/deleting packages.
>> I even added an example for adding a SVR4 package for debugging purposes.
>> I got questions about how to do that in the last couple of weeks, so,
>> I thought I will just document it here.  I know we are only supporting 
>> IPS package now.
>> So, if there are any objections on having the SVR4 example there, I 
>> can remove it.
>>
>> The TOI link, in case you need it:
>>
>> http://opensolaris.org/os/project/caiman/Constructor/DC_docs/DC_toi.html
>>
>> Thanks,
>>
>> --Karen
>>
>> Karen Tung wrote:
>>     
>>> There are a whole bunch of things that we support in the manifest that
>>> are not there in the slim_cd.xml manifest we ship today, because those
>>> values are not used in creating the Live CD.
>>>
>>> I am thinking that we should  supply a "complete" manifest, with all
>>> the tags we currently support in there.  That way, people don't
>>> need to dig through the code to find what tags they should specify.  
>>> The documents
>>> can also point to that file.
>>>
>>> An example of how to add or delete from the "standard" set of packages
>>> for debugging purposes  would be useful.  I will come up with 
>>> something tomorrow and post it here.
>>>
>>> Thanks,
>>>
>>> --Karen
>>>
>>>
>>> Jean McCormack wrote:
>>>  
>>>       
>>>> That's one thing we should make sure to walk through on Tuesday.
>>>>
>>>> Jean
>>>>
>>>> Barbara.Lundquist at Sun.COM wrote:
>>>>      
>>>>         
>>>>> All,
>>>>>
>>>>> I'll start a list of stuff that I can add to the DC document.
>>>>>
>>>>> Jean, when you have comments in the manifest, I'd like to include 
>>>>> that copy of the manifest as an appendix in my document. And, I can 
>>>>> use your comments to improve the main doc instructions.
>>>>>
>>>>> I skimmed Willie's email about adding or deleting packages and 
>>>>> agree that this should be added to the document, but I'll have to 
>>>>> work through it some to get it in shape to add to the document. I'm 
>>>>> not understanding the procedure just from the emails.
>>>>>
>>>>> I'm going to go ahead and route the doc as is for review week today 
>>>>> or tomorrow, but we can add more of this information to the 
>>>>> document over the next couple weeks.
>>>>> Barbara
>>>>>
>>>>>
>>>>>
>>>>> On 10/16/08 14:06, Jean McCormack wrote:
>>>>>          
>>>>>           
>>>>>> I definitely agree that an example of how to add or delete 
>>>>>> packages so the user doesn't have
>>>>>> to modify the manifest and repull all the IPS packages would be good.
>>>>>>
>>>>>> pkg_repo_addl_authority is supported and the user can add it to 
>>>>>> the manifest. There are several
>>>>>> other manifest items that fall into this category. I'm going to 
>>>>>> file a bug and work on putting
>>>>>> comments into the manifest so the user understand what they are 
>>>>>> for and that they can use them.
>>>>>>
>>>>>> jean
>>>>>>
>>>>>> Barbara.Lundquist at Sun.COM wrote:
>>>>>>                
>>>>>>             
>>>>>>> Karen, Jean, and Jack,
>>>>>>> Can you take a look at the feedback we got from Willie below? 
>>>>>>> Sorry I set this feedback aside
>>>>>>> till this week, but we still have plenty of time to incorporate 
>>>>>>> some of Willie's ideas to the DC document before I deliver the 
>>>>>>> doc for 2008.11.
>>>>>>>
>>>>>>> Per Willie's suggestions, I don't see the pkg_repo_addl_authority 
>>>>>>> element in the sample slim_cd.xml file I have. Are we not using 
>>>>>>> that element for 2008.11? Should people just edit the many 
>>>>>>> repository field in the manifest instead of adding this 
>>>>>>> additional authority field?
>>>>>>>
>>>>>>> Can you also comment on Willie's suggestions about how to keep 
>>>>>>> revising packages without
>>>>>>> starting over? We could add some coverage in docs about that, but 
>>>>>>> would need your input.
>>>>>>>
>>>>>>> I won't have Willie's input in the review draft this week, but we 
>>>>>>> can still make his changes for final delivery.
>>>>>>>
>>>>>>> Barbara
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> -------- Original Message --------
>>>>>>> Subject:     Re: [caiman-discuss] FYI Alpha Draft of Distr Constr 
>>>>>>> Article
>>>>>>> Date:     Fri, 26 Sep 2008 09:06:17 -0700
>>>>>>> From:     Barbara.Lundquist at Sun.COM
>>>>>>> To:     Willie Walker <William.Walker at Sun.COM>, Barbara Lundquist 
>>>>>>> <Barbara.Lundquist at Sun.COM>
>>>>>>> References:     <48DBCEB3.50703 at Sun.COM> 
>>>>>>> <ce4f4bbcb7d02365dcef6dec02b74484 at sun.com>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> Thank you!! This is great input!
>>>>>>> I'm on another project for a few days, but will integrate your 
>>>>>>> suggestions when I do another draft of the DC article.
>>>>>>> Barbara
>>>>>>>
>>>>>>>
>>>>>>> On 09/26/08 06:30, Willie Walker wrote:
>>>>>>>                      
>>>>>>>               
>>>>>>>> Hi Barbara:
>>>>>>>>
>>>>>>>> I'm sending this just to you so it doesn't cause a flurry of 
>>>>>>>> reviews that you haven't asked for.  :-)  I think the document 
>>>>>>>> looks good and the direction/scope are great.  One thing I think 
>>>>>>>> that needs to be considered is the audience, which will probably 
>>>>>>>> non-Sun people making a custom distribution that includes 
>>>>>>>> packages and modifications that are not part of the 
>>>>>>>> opensolaris.org IPS.  For example, they might be adding 
>>>>>>>> proprietary packages maintained on a private IPS.
>>>>>>>>
>>>>>>>> Given this, I think the pkg_repo_addl_authority element of the 
>>>>>>>> manifest needs some specific discussion.  I had to search for it 
>>>>>>>> in the source code.
>>>>>>>>
>>>>>>>> In addition, if the audience is anything like I am, they won't 
>>>>>>>> get the distribution right the first time they try.  Instead, 
>>>>>>>> they will probably focus on modifications to a small set of 
>>>>>>>> packages in the distribution, rebuilding the distro each time 
>>>>>>>> they make a change.    From what I can tell from the TOI calls 
>>>>>>>> and my own personal experience, I suspect an FAQ is going to be 
>>>>>>>> "How do I replace/modify/remove specific packages in my 
>>>>>>>> distribution without having to pull all the packages each time I 
>>>>>>>> make a change?"  To help with this, an appendix that describes 
>>>>>>>> an example use of checkpointing might be very useful.  A 
>>>>>>>> specific example I'm thinking of is a finalizer that sits right 
>>>>>>>> in the front of all the other finalizers and tweaks the 
>>>>>>>> installed packages on the system.  The Sep 24, 2008 7:33 AM 
>>>>>>>> message I posted here contains a rough example: 
>>>>>>>> http://www.opensolaris.org/jive/thread.jspa?threadID=75218&tstart=15. 
>>>>>>>>
>>>>>>>>
>>>>>>>> Thanks!
>>>>>>>>
>>>>>>>> Will
>>>>>>>>
>>>>>>>> On Sep 25, 2008, at 1:47 PM, Barbara.Lundquist at Sun.COM wrote:
>>>>>>>>
>>>>>>>>                            
>>>>>>>>                 
>>>>>>>>> Gang,
>>>>>>>>>
>>>>>>>>> I've roughed out an alpha draft of a "Distribution Constructor 
>>>>>>>>> Guide" and
>>>>>>>>> posted it on this page:
>>>>>>>>>
>>>>>>>>> http://www.opensolaris.org/os/project/caiman/files/
>>>>>>>>>
>>>>>>>>> See DistroConstr.pdf.
>>>>>>>>>
>>>>>>>>> IMPORTANT: There are still significant engineering changes that 
>>>>>>>>> will affect
>>>>>>>>> this document, so I'm not asking for a review of the details of 
>>>>>>>>> this document yet.
>>>>>>>>> However, I welcome comments about the overall design and scope 
>>>>>>>>> of the document.
>>>>>>>>> I know there's alot left to do for this document, but you can 
>>>>>>>>> at least see what
>>>>>>>>> direction I'm heading in.
>>>>>>>>>
>>>>>>>>> Hopefully, we'll be ready for a full review in early October, 
>>>>>>>>> at or near the
>>>>>>>>> code freeze date, TBD.
>>>>>>>>>
>>>>>>>>> Comments welcome.
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> Barbara
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> _______________________________________________
>>>>>>>>> caiman-discuss mailing list
>>>>>>>>> caiman-discuss at opensolaris.org
>>>>>>>>> http://mail.opensolaris.org/mailman/listinfo/caiman-discuss
>>>>>>>>>                                   
>>>>>>>>>                   
>>>>>>>                         
>>>>>>>               
>>>>>> _______________________________________________
>>>>>> caiman-discuss mailing list
>>>>>> caiman-discuss at opensolaris.org
>>>>>> http://mail.opensolaris.org/mailman/listinfo/caiman-discuss
>>>>>>                 
>>>>>>             
>>>> _______________________________________________
>>>> caiman-discuss mailing list
>>>> caiman-discuss at opensolaris.org
>>>> http://mail.opensolaris.org/mailman/listinfo/caiman-discuss
>>>>       
>>>>         
>>> _______________________________________________
>>> caiman-discuss mailing list
>>> caiman-discuss at opensolaris.org
>>> http://mail.opensolaris.org/mailman/listinfo/caiman-discuss
>>>   
>>>       
>
> _______________________________________________
> caiman-discuss mailing list
> caiman-discuss at opensolaris.org
> http://mail.opensolaris.org/mailman/listinfo/caiman-discuss
>   


Reply via email to