Skip to Main Content

Infrastructure Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Creating Packages in Solaris 10

674481Oct 28 2010 — edited Nov 1 2010
I have couple scripts (shell files) I need to package. How do I start packaging my files?
I got these files:
1. installCPU.sh
2. shutdb.sh
3. startdb.sh
4. startlsnrctl.sh
5. stoplsnrctl.sh

I need to put these files into a single package to help our System Admin (SA) to perform these instructions when he or she is in the field. I have done some reading and here what I came up with. I was told to create a pkginfo and prototype files. I managed the pkginfo file, but has no clue on the prototype file, but please see what I got below and give me some clues what to do next.

I just don't know where to include my shell scritps in the package creation procudure.

#pkginfo_file
CLASSES=none
BASEDIR=/h/USERS/local/oracle
TZ=PST
PATH=/sbin:/usr/sbin:/usr/bin:/usr/sadm/install/bin
PKG=SecPkgOracleCPU
NAME=pkg-get
VERSION=1.0
CATEGORY=system
DESC=Automate Oracle CPU install
VENDOR=Myinfo
EMAIL=myemail@email.com
PKGSAV=/var/sadm/pkg/SecPkgOracleCPU/save

#protofype_file (
i pkginfo
!default 0755 root bin
d none bin ? ? ?
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Nov 29 2010
Added on Oct 28 2010
3 comments
1,539 views