Custom installation procedure
This custom installation procedure is reserved for users who need to change a portion of the installation procedure or its contents in their specific environment. Reasons for such changes include the need to change the directory where files are installed or to modify the source code.
Note Modifications to the source package may cause Digi to refuse support for that package in that environment.
See Install the Driver: RPM methods for important information on entering commands in this procedure.
- Download the RPM package from Digi's Support site. For consistency, consider downloading the source RPM to the directory /usr/src/redhat/SRPMS.
- Navigate to Digi RealPort support page.
- Scroll down to the Product Resources section.
- From the Drivers & Patches section, click RealPort Driver. The RealPort Driver page displays.
- From the list box, select the Linux option.
Click download for the RealPort Driver for Linux, src.rpm version option to download the file
-
Install the source code in the SOURCES directory used by RPM,
/usr/src/redhat/SOURCES, with this command:rpm -ivv dgrp-version-revision.src.rpm
This command also copies the specification file
/usr/src/redhat/SPECS/dgrp-version.spec to the SPECS directory. -
Use the RPM tools to open the source archive:
cd /usr/src/redhat/SPECS
rpm -bp dgrp-version.specThe -bp option specifies that only the preparation section (%prep) of the specification file should be executed. This might result in the source files being uncompressed, removed from the archive, and placed in the following directory:
/usr/src/redhat/BUILD/dgrp-version
-
Make desired modifications to the source files and/or the specification file. The source files are found in the directory.
/usr/src/redhat/BUILD/dgrp-version
The specification file is named:
/usr/src/redhat/SPECS/dgrp-version.spec
Additionally:
- Save the original and final versions of any changed file after making and testing the changes. Put these backup copies somewhere other than the /usr/src/redhat tree.
- If you change the final location of any of the files in the package, update the %file list in the specification file. Otherwise, a message that the installation was incomplete is displayed, because some files were not found.
- Digi recommends that you document changes in the %description section of the specification file.