Database Reference
In-Depth Information
Finally the cfgrsp.properties file contains the ASM and ASMSNMP passwords, and again is identical to the one
used for the silent installation.
Building the RPM
With all preparations in place it is time to build the RPM. Change directory to “SPEC” and execute the rpmbuild
executable as shown here:
[rpmbuild@server1 SPECS]$ rpmbuild -ba --rebuild grid.spec
Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.gz353e
+ umask 022
+ cd /home/rpmbuild/rpmbuild/BUILD
+ rm -rf /home/rpmbuild/rpmbuild/BUILDROOT/GridInfrastructure-12.1.0.1-0.el6.x86_64
+ mkdir -p /home/rpmbuild/rpmbuild/BUILDROOT/GridInfrastructure-12.1.0.1-0.el6.x86_64/etc
+ mkdir -p /home/rpmbuild/rpmbuild/BUILDROOT/GridInfrastructure-12.1.0.1-0.el6.x86_64/opt/oracle
+ cp oraInst.loc /home/rpmbuild/rpmbuild/BUILDROOT/GridInfrastructure-12.1.0.1-0.el6.x86_64/etc/
+ cp grid.rsp /home/rpmbuild/rpmbuild/BUILDROOT/GridInfrastructure-12.1.0.1-0.el6.x86_64/opt/oracle
+ cp cfgrsp.properties /home/rpmbuild/rpmbuild/BUILDROOT/GridInfrastructure-12.1.0.1-0.el6.x86_64/
opt/oracle
+ /usr/lib/rpm/check-rpaths /usr/lib/rpm/check-buildroot
+ /usr/lib/rpm/brp-compress
+ /usr/lib/rpm/brp-strip
+ /usr/lib/rpm/brp-strip-static-archive
+ /usr/lib/rpm/brp-strip-comment-note
Processing files: GridInfrastructure-12.1.0.1-0.el6.x86_64
warning: File listed twice: /etc/oraInst.loc
Provides: config(GridInfrastructure) = 12.1.0.1-0.el6
Requires(interp): /bin/sh
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(PayloadFilesHavePrefix)
<= 4.0-1
Requires(post): /bin/sh
Conflicts: Database
Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/rpmbuild/rpmbuild/BUILDROOT/
GridInfrastructure-12.1.0.1-0.el6.x86_64
Wrote: /home/rpmbuild/rpmbuild/SRPMS/GridInfrastructure-12.1.0.1-0.el6.src.rpm
Wrote: /home/rpmbuild/rpmbuild/RPMS/x86_64/GridInfrastructure-12.1.0.1-0.el6.x86_64.rpm
Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.3aTrRY
+ umask 022
+ cd /home/rpmbuild/rpmbuild/BUILD
+ rm -rf /home/rpmbuild/rpmbuild/BUILDROOT/GridInfrastructure-12.1.0.1-0.el6.x86_64
+ exit 0
The exit code of each step was 0, indicating success. Two RPMs have been build: the source RPM as well as the
one to be deployed. Check the contents of the RPM/x86-64 directory for the result.
 
Search WWH ::




Custom Search