Hi, Thanks for suggestion!! But that didn't work here.
I used pkgmk -o -d . -r / command Package installer completed. :-) Here files are installed at local folder. I want to copy the files from my local folder to /usr/bin. I do not want it that in request script asking user for base directory. How I can achieve that with any script or additional statements in present scripts? I want to run my application when system gets restart everytimes. Can anyone send some idea on this. which script I need to create and what contenets script will contain.If possible please explain it with an example.can I use the script already in /etc/init.d/ for imq/pppd/aac? I think I need to implement a script in /etc/init.d/ as well as in /etc/rc2.d/ , /etc/rc3.d/, etc/rcS.d/. But I do not exactly how that will work. Thansk & Regards, Aakash On 2/27/08, James Carlson <[EMAIL PROTECTED]> wrote: > aakash berde writes: > > *Error in prototype > > no obeject found for <file name > in root directory > > not able to make pkgmap from prototype. > > * > > what does it mean? > > It means that pkgmk can't find the file you're talking about. > > > In prototype I have written as > > d none testutil/bin/ 0644 root other > > *f none testutil/bin/file1 0644 root other* > > *f none testutil/bin/file2 0644 root other* > > Either supply "-b $ROOT" on the pkgmk line, so that pkgmk can find > those files by the relative paths given, or provide the proper path as > part of the prototype(4) file. > > > while for directories I am not getting this error. > > > > I tried to write as > > *f none testutil/bin/='file1' 0644 root other* > > *f none testutil/bin/='file2' 0644 root other* > > Assuming that "file1" and "file2" are located in the current > directory, and you don't want to use the -b option, do this: > > f none testutil/bin/file1=file1 0644 root other > f none testutil/bin/file2=file2 0644 root other > > -- > James Carlson, Solaris Networking <[EMAIL PROTECTED]> > Sun Microsystems / 35 Network Drive 71.232W Vox +1 781 442 2084 > MS UBUR02-212 / Burlington MA 01803-2757 42.496N Fax +1 781 442 1677 > _______________________________________________ opensolaris-code mailing list [email protected] http://mail.opensolaris.org/mailman/listinfo/opensolaris-code
