On Thu, Jul 10, 2008 at 03:13:20PM +0530, neha goel wrote:
> srry i paste the wrong error;;; the error coming is
> pkg: image-create requires authority argument to be of the form
> '<prefix>=<url>'.
> 
> 
> ---------- Forwarded message ----------
> From: neha goel <[EMAIL PROTECTED]>
> Date: Thu, Jul 10, 2008 at 2:40 PM
> Subject: problem with creating image
> To: [email protected]
> 
> 
> Hi all,
> 
> i have a CD which contains some applications which i need to install with
> package manager,for that i want to create a image..
> for creating a image we have the syntax
> 
> pkg image-create -F -a *example.com=http://pkg.example.com:10000
> /aux0/example_root
> 
> but if i have to make the image of repository on a CD, then what i can do..

Assuming I understood your question correctly, you would need to run
an instance of pkg.depotd for this.

Something like:

/usr/lib/pkg.depotd -d /cdrom/... -p 8080

Now you can use "http://localhost:8080"; as the origin_url:

Eg.
pkg image-create -F -a "cdrom=http://localhost:8080"; /where/ever
    - or -
pkg set-authority -O http://localhost:8080 cdrom

Venky.
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss

Reply via email to