--------------------------------------------------
From: <[EMAIL PROTECTED]>
Sent: Tuesday, October 21, 2008 6:09 PM
To: "T.J. Yang" <[EMAIL PROTECTED]>
Cc: "Chris Ridd" <[EMAIL PROTECTED]>; <[email protected]>
Subject: Re: [docs-discuss] [pkg-discuss] Please Review : OpenSolaris2008.11IPS
Guide
> (Removing docs-discuss from cc).
>
> Thanks, TJ Yang, for your feedback.
>
> Should there be two definitions for package in the document then, a
> package and an IPS package?
Yes. IPS package is very different with packages created by other package
management system.
> Could you elaborate on the "functions of scripts" phrase?
I should have said, "functions in package scripts".
for other non-IPS package, I need to write my own functions (by shell,with
awk,sed,cp) , SVR4 package
that allow packager to write following 4 kinds of script to better automate
the package installation.
1. preinstall script: add an user into a Unix system if not already there.
If user is in already, I may skip this step of back out package
installation.
in IPS, "user" action will create an user account for me without my own
scripting.
2. postinstall: start up the software in this package from
/etc/init.d/mypkginit script.
in Solaris 10, user svcadm to start up the program
after successful installation.
3. pre-remove: check if the program is running, if yes then run
"/etc/init.d/mypkginit stop"
4. post-remove: delete all the files(like logs) generated after package got
install.
the Functions in those scripts need to be mapped into actions in IPS.
Currently I only see user and group interesting actions that can save me
time to code those
user/group add/delete functions.
I can provide a helloworld SVR4 package with above four pkg scripts, if you
are interested.
And you can provide the instruction to do it in IPS way.
TJ Yang
>
> Thanks,
> Jyothi
>
> T.J. Yang wrote:
>
>>Let me try it it again.
>>This is my understanding of difference between regular
>>packages(rpm,pkgadd,swdepot,lpp..) and ips' package.
>>
>> package: A package is a collection of files, directories, links,
>> drivers,scripts and dependencies in a defined format.
>>IPS package: An IPS package is a collection of files, directories, links,
>>drivers,actions and dependencies in a defined format.
>>
>>where "functions of scripts" = "actions" in IPS
>>
>>
>>tj
>>----------------------------------------
>>
>>>From: [EMAIL PROTECTED]
>>>To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
>>>Date: Tue, 21 Oct 2008 13:33:09 -0500
>>>CC: [EMAIL PROTECTED]; [email protected];
>>>[EMAIL PROTECTED]
>>>Subject: Re: [pkg-discuss] Please Review : OpenSolaris 2008.11 IPS Guide
>>>
>>>
>>>About the definition of package. To my understanding a general non-ips
>>>approach package include scripts.
>>>
>>>Old: package: A package is a collection of files, directories, links,
>>>drivers and dependencies in a defined format.
>>>
>>>New:
>>>package: A package is a collection of files, directories, links,
>>>drivers,scripts and dependencies in a defined format.
>>>
>>>
>>>T.J. Yang
>>>
>>>----------------------------------------
>>>
>>>>From: [EMAIL PROTECTED]
>>>>To: [EMAIL PROTECTED]
>>>>Date: Tue, 21 Oct 2008 19:15:32 +0100
>>>>CC: [EMAIL PROTECTED]; [email protected];
>>>>[EMAIL PROTECTED]
>>>>Subject: Re: [pkg-discuss] Please Review : OpenSolaris 2008.11 IPS Guide
>>>>
>>>>
>>>>On 21 Oct 2008, at 18:52, [EMAIL PROTECTED] wrote:
>>>>
>>>>
>>>>>IPS and Indiana Folks,
>>>>>
>>>>>The first draft of OpenSolaris 2008.11 IPS Guide is ready for review.
>>>>>The pdf document is available at :
>>>>>
>>>>>http://www.opensolaris.org/os/project/indiana/files/ips.pdf
>>>>>
>>>>>This is a WIP book and some links may be missing or pointing to older
>>>>>documentation. More examples and glossary terms will be added.
>>>>>
>>>>>New information is spread throughout the book and chapters 5 and 7,
>>>>>on
>>>>>Keys and Certificates and Mirroring Repositories is completely new.
>>>>>
>>>>>Please send me your feedback and comments by 10/28.
>>>>>
>>>>I'm not sure what is (or will be) in the man pages on this subject, but
>>>>it seems to me that it is worth showing an example of publishing a
>>>>slightly more complicated package that creates an SMF service when
>>>>installed. (And removes it when being uninstalled.)
>>>>
>>>>Cheers,
>>>>
>>>>Chris
>>>>_______________________________________________
>>>>pkg-discuss mailing list
>>>>[email protected]
>>>>http://mail.opensolaris.org/mailman/listinfo/pkg-discuss
>>>>
>>>_________________________________________________________________
>>>You live life beyond your PC. So now Windows goes beyond your PC.
>>>http://clk.atdmt.com/MRT/go/115298556/direct/01/
>>>_______________________________________________
>>>pkg-discuss mailing list
>>>[email protected]
>>>http://mail.opensolaris.org/mailman/listinfo/pkg-discuss
>>>
>>
>>_________________________________________________________________
>>Want to read Hotmail messages in Outlook? The Wordsmiths show you how.
>>http://windowslive.com/connect/post/wedowindowslive.spaces.live.com-Blog-cns!20EE04FBC541789!167.entry?ocid=TXT_TAGLM_WL_hotmail_092008
>>_______________________________________________
>>docs-discuss mailing list
>>[EMAIL PROTECTED]
>>
>
> --
> Jyothi Srinath
> Technical Writer
> Solaris Developers Group
> 650-786-9830
>
>
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss