Is it possbile to add License agreement in the RPM package? When user installs the RPM, it should prompt to accept the user license agreement.
相关问题
- Error when installing TDA package on R
- installing packages for python 3
- How do I build a debian package whose sources incl
- DotNetNuke 5.6.2 - Can Community Edition Users uti
- Is there a way to recreate an ODI package using OD
相关文章
- unable to install packages(“caret”) completely in
- PHP friend/package visibility
- Ubuntu graphviz 'sfdp' not working
- Roxygen2 - how to @export reference class generato
- Change default package from com.example for Eclips
- Exclude data sets from R package build
- R: Having trouble installing rpanel
- C#: Query FlexLM License Manager
This is a bad idea for both technical and user-interface reasons.
Not only because there may be no display during install, but also because there may be no user during installation or even first run, or the mechanism for extracting the rpm file may simply not support any method to display text or accept input.
Essentially, if you have to do this, the least worst way is to do Ignacio suggests, which is what Sun do, and create a RPM file with no such restriction, then put it inside a self-extracting binary which displays the license, prompts the user and then unwraps the RPM. In the spirit of ruining the user experience, you will also require a set of instructions like these created by Sun: JRE RPM Installation for Linux.
The correct way of doing this of course is to use the
License
field and include a file as%doc
which contains your licensing terms. This does away with the 'click-through' step, which maybe unacceptable to your lawyers, although it is widely considered to be unenforceable anyway.This is the section of the RPM guidelines which addresses such things:
Remember, the first impression your user will get of your product could be either this: Software Installer http://www.virtuatopia.com/images/e/e1/Virtualbox_software_installer.jpg
or this:
Don't do that; there's no guarantee that the package will be installed when there's even a display to show the license agreement. Put it in a self-extracting archive that shows the agreement on execute.