[SunHELP] pkgmk prompt

Nathan Nichols sunhelp at sunhelp.org
Sun Nov 11 22:58:43 CST 2001


I am calling it using:

pkgmk -r <base directory>

----- Original Message -----
From: "Joshua Fielden" <jf at fielden.org>
To: <nathan.nichols at cicadacorp.com>
Cc: <sunhelp at sunhelp.org>
Sent: Friday, November 09, 2001 10:50 AM
Subject: Re: [SunHELP] pkgmk prompt


> I don't have this problem building packages -- what's the command-line
you're running that actually creates the package?
>
> JF
>
> nathan.nichols at cicadacorp.com quoth, on Fri, Nov 09, 2001 at
03:19:31AM -0600:
> > From: nathan.nichols at cicadacorp.com
> > To: sunhelp at sunhelp.org
> > X-Mailer: Internet Mail Service (5.5.2653.19)
> > Subject: [SunHELP] pkgmk prompt
> > Reply-To: sunhelp at sunhelp.org
> > Date: Fri, 9 Nov 2001 03:19:31 -0600
> >
> > I have built some scripts to automate the building of a package (for use
> > with pkgadd) on Solaris 7.  Everything works well, except that there is
one
> > little quirk that I'd like to get rid of.
> >
> > The pkgmk command insists on querying for an instance to make.
> >
> > The following packages are available:
> >   1  <PKGNAME>     <PKG Description>
> >                   (sparc) <Version>
> >
> > Select package(s) you wish to process (or 'all' to process
> > all packages). (default: all) [?,??,q]:
> >
> > I would like to be able to skip this query and automatically build #1,
or
> > all.
> >
> > The pkgmk man page says that an instance can be specified on the command
> > line, but the man page is very vague on what effect this will have on
the
> > operation of it.
> >
> >      pkginst   A package designation by its instance. An instance
> >                can  be  the  package  abbreviation  or a specific
> >                instance (for  example,  inst.1  or  inst.2).  All
> >                instances of a package can be requested by inst.*.
> >                The asterisk character (*) is a special  character
> >                to  some shells and may need to be escaped. In the
> >                C-Shell, "*" must be surrounded by  single  quotes
> >                (') or preceded by a backslash (\).
> >
> > I've tried 1, init.*, init.\*, init.1, <PKGNAME>, <PKGNAME>.1, with no
> > results.  <PKGNAME>.1 creates a second entry on the list.  I'm also not
even
> > certain that specifying this parameter in any form will cause this
prompt to
> > be skipped.
> >
> > Anyone have any ideas?
> >
> > Thanks,
> > -----
> > Nathan Nichols
> > Unix System Administrator
> > Cicada - http://www.cicadacorp.com/
> > _______________________________________________
> > SunHELP maillist  -  SunHELP at sunhelp.org
> > http://www.sunhelp.org/mailman/listinfo/sunhelp
>
> --
> "We are either doing something, or we are not.
> 'Talking about' is a subset of 'not'."
>
> Joshua Fielden - jf at fielden.org
>




More information about the SunHELP mailing list