Thanks for the reply Alan.
I will go through the link.

>> It has nothing to do with package creation - it creates a place you can
>> install packages to.
Yes, the man page gave me that indication.
What I am trying to find out is:
1. Why would I want to do that?
2. Having installed packages to the image, what next? Where do I use it? Do I 
create a boot environment out of it? Does it help me create an image that I 
could leverage as a local zone?
I will try to find the answers to such questions in the link that you have 
provided.
Will let you know if I find it (or if I am not).

Thanks for your time!
~Amol.

-----Original Message-----
From: Alan Coopersmith [mailto:[email protected]] 
Sent: Tuesday, January 22, 2013 10:49 PM
To: Vaikar, Amol
Cc: [email protected]
Subject: Re: [pkg-discuss] Question regarding # pkg image-create

On 01/22/13 08:24 AM, Vaikar, Amol wrote:
> I had tried to ask this question as a continuation to this thread:
> http://mail.opensolaris.org/pipermail/pkg-discuss/2011-February/025606.html
> Looks like a different unrelated thread has been started though.

Trying to attach to a several year old thread is not a great idea even
if it had worked.   Much has changed in the past couple years.

For instance, the one line you quoted:
>> We do not yet have the developer documentation written as yet

is no longer true - the developer documentation was written and published
over a year ago, you can find the latest version at:
http://docs.oracle.com/cd/E26502_01/html/E21383/index.html

> Like Imran has asked in his original query, what exactly can I do with the 
> image once I've created it using the command.
> Where & how does it help me?
> Does it help me to create a package of my own?

It has nothing to do with package creation - it creates a place you can
install packages to.

> I read somewhere (...) that pkg image-create was equivalent to Debian's `dpkg 
> -build`

Not even close.   The closest I see in the dpkg(8) man page would be
creating a new directory for use with dpkg --root.

-- 
        -Alan Coopersmith-              [email protected]
         Oracle Solaris Engineering - http://blogs.oracle.com/alanc
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss

Reply via email to