Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

what goes in the license fields for mkinstallp?

Status
Not open for further replies.

frostback

Programmer
Sep 15, 2008
3
0
0
US
I've read the README, and the "Writing and Debugging"
manual, but I still do not understand how to specify
the license fields correctly. I want to include the
license in the fileset, and require that the user
accept it when installed.

From the template:

[tt]
License agreement acceptance required: y
Name of license agreement: LAR/usr/swlag/en_US/foo-license.la
Include license files in this package: y
License file path: LAF/usr/swlag/foo-license.la;
[/tt]

from the documentation, I assume that "Name of license
agreement:" is where the file is supposed to end up on
the user's machine, and that "License file path:" is
where the license file can be found in the packaging
directory ("relative to buildroot").
However, when I run mkinstallp on the above template,
with my license file in
<buildroot>/usr/swlag/foo-license.la,
and then try to run SMIT (or installp) to verify the
package, they claim that the license file required
by the fileset is not contained in the fileset.
What should I be specifying?

Thanks.

 
As I said in my previous posting, I have already read the README, the man page, the manuals, and even the abbreviated article you pointed me too, none of which resolved the problem for me.
If you have used mkinstallp to create a fileset with an attached (and required) license, can you tell me what you supplied for the license fields?

 
It's been a while since I used mkinstallp but if I remember right, I think you have to specify the location of the license file IN the directory structure you are using for the software package you are creating so it gets packaged up with the fileset(s) you are creating.

Regards,
Chuck
 
Thanks, that did help.
(So did an update of the bos.adt.insttools).
Why are permissions of mkinstallp and makebff.pl
set to r-xr-x---?
Surely other users than root would want to make packages?

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top