[prev in list] [next in list] [prev in thread] [next in thread] 

List:       opensolaris-code
Subject:    Re: [osol-code] Package Installer
From:       James Carlson <james.d.carlson () sun ! com>
Date:       2008-02-27 14:32:13
Message-ID: 18373.29805.269525.41963 () gargle ! gargle ! HOWL
[Download RAW message or body]

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              <james.d.carlson@sun.com>
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
opensolaris-code@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/opensolaris-code
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic