Creating Packages in Solaris 10
674481Oct 28 2010 — edited Nov 1 2010I 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 ? ? ?