Preparations
- install the original RedHat 6.2 with server installation
- install the following packages as follows;
for i in `cat rpmlist`; do rpm -ivh your-rpm-directory/$i; done
- build egcs-1.1.2
- install the egcs-1.1.2-30.src.rpm
rpm -ivh egcs-1.1.2-30.src.rpm
- apply the spec patch and copy the patch file to /usr/src/redhat/SOURCES directory
cd /usr/src/redhat/SPECS; patch -p0 < egcs.spec.patch
- build the egcs
rpm -bb --buildpolicy redhat /usr/src/redhat/SPEC/egcs.spec
- install the built egcs system
rpm -Uvh --force /usr/src/redhat/RPMS/i386/egcs-1.1.2-30p.i386.rpm
Build Steps
- upgrade glibc package to propolice version
- install the source RPM
- apply the spec patch and
copy the file to /usr/src/redhat/SOURCES directory.
- rpm -bb --target i686-redhat-linux /usr/src/redhat/SPECS/glibc....
- install the created glibc package in /usr/src/redhat/RPMS/i686 directory
- make kernel with propolice protection
- install the source RPM
- apply the spec patch and copy the file to /usr/src/redhat/SOURCES directory.
- rpm -bb --target i686-redhat-linux /usr/src/redhat/SPECS/kernel...
- build all packages with the command
rpm --rebuild --buildpolicy redhat src_package_name
- The following packages must be build without buildpolicy option.
- mkisofs-1.8-2.src.rpm
- popt-1.4-1.src.rpm
- usernet-1.0.9-2.src.rpm
- xpilot-4.1.0-1.src.rpm
Change Log
|