[SunHELP] pkgmk prompt
sunhelp at sunhelp.org
sunhelp at sunhelp.org
Fri Nov 9 03:19:31 CST 2001
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/
More information about the SunHELP
mailing list