> -----Original Message----- > From: PrasannaKumar [mailto:prasanna_k@xxxxxxxxxxxx] > Sent: 31-10-2002 12:21 > Subject: RE: custom distro > and in the RedHat/comps file, in 'base system' section, anaconda > package is not specified. > So why do i want to add it to the RedHat/RPMS directory ? Because the > image file has anaconda works no ? > (Is it true ? I dont know ?! ) The buildscript creates the images from files taken from the rpm-packages in your build-directory. It decompresses the packages and copies the needed files to the loopmounted images. So if you want to change the installation appearance or functionality then you'll have to change the code in the installation-packages. > Regarding buildng , I followed these steps: > 6. Modified the package summary info (replaced Redhat) in > anaconda-prasanna.spec (this wont take effect when i give > rpm -qpi on the rpms i got from step 8). Something fishy happens at this point. The package information should contain your changes. Can you paste the output? > Any idea where i went wrong ? It looks ok. To compare I ran the steps: ## First do some editing in the source, then make the diff: diff -urN anaconda-8.0 anaconda-8.0-cardinal > anaconda-8.0-cardinal-date +'%Y%m%d-%H'.patch ## The modified spec-file contains the following rows: <SNIP> BuildRoot: %{_tmppath}/anaconda-%{PACKAGE_VERSION} Patch: anaconda-8.0-cardinal-20021031-12.patch <SNIP> %setup -q %patch -p1 %build <SNIP> ## Build the new packages: [root@alicia SPECS]# rpmbuild -ba anaconda-cardinal.spec ## The output contains the following lines: + echo 'Patch #0 (anaconda-8.0-cardinal-20021031-12.patch):' Patch #0 (anaconda-8.0-cardinal-20021031-12.patch): + patch -p1 -s + exit 0 <SNIP> Wrote: /usr/src/redhat/SRPMS/anaconda-8.0-11Cardinal.src.rpm Wrote: /usr/src/redhat/RPMS/i386/anaconda-8.0-11Cardinal.i386.rpm Wrote: /usr/src/redhat/RPMS/i386/anaconda-runtime-8.0-11Cardinal.i386.rpm ## We install the binary packages: [root@alicia SPECS]# rpm -Fvh /usr/src/redhat/RPMS/i386/anaconda-8.0-11Cardinal.i386.rpm /usr/src/redhat/RPMS/i386/anaconda-runtime-8.0-11Cardinal.i386.rpm ## And copy them to the buildtree: cp /usr/src/redhat/RPMS/i386/anaconda-8.0-11Cardinal.i386.rpm /usr/src/redhat/RPMS/i386/anaconda-runtime-8.0-11Cardinal.i386.rpm /redhat/i386/Cardinal/RPMS/ ## The package information: [root@alicia SPECS]# rpm -qip /usr/src/redhat/RPMS/i386/anaconda-8.0-11Cardinal.i386.rpm Name : anaconda Relocations: (not relocateable) Version : 8.0 Vendor: (none) Release : 11Cardinal Build Date: Thu 31 Oct 2002 12:43:24 PM EET Install date: (not installed) Build Host: alicia.intra.cardinal.fi Group : Applications/System Source RPM: anaconda-8.0-11Cardinal.src.rpm Size : 8362098 License: GPL Signature : (none) URL : http://www.cardinal.fi/ Summary : The Cardinal Linux installation program. Description : The anaconda package contains the Cardinal Linux installation program. These files are of little use on an already installed system. After this I go through the CDROM-building steps and as a result get a distribution which shows the changes. Does your rpm -qip-output show the correct Release-number if you bump the number up? Poltsi _________________________________________ Paul-Erik Törrönen Cardinal Information Systems Ltd Pursimiehenkatu 29-31 C, 00150 Helsinki, FINLAND E-mail: paul-erik.torronen@xxxxxxxxxxx Mobile: +358 (0) 40 703 1231 Phone: +358 (0) 424 162 4204 Fax: +358 (0) 424 162 4207 Web: <www.cardinal.fi>