Re: anaconda barfs (ZeroDivisionError)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Thanks for the tips.

This will be my first time doing changes to a src package and repackaging it
again. I followed your instructions but when I try to repackage the file
with <rpm -ta ...> I am getting "-ta unknown option error".

1. Is it possible to get a more detailed description?

2. Also, once I have repackaged the rpm, I guess I need to install the newly
created rpm. How do I make the stage2.img file from there?

3. Can I not just simply do this change by editing the looped stage2.img
file? I tried it but I can not write the edited file (although I looped with
the -o rw option) Suggestions?

All help is appreciated.

Thanks

AR
----- Original Message ----- 
From: "Armijn Hemel" <armijn@xxxxxxxxxxxxxxxxxxxxx>
To: "Alexander Rau" <alexander_rau@xxxxxxxxx>
Sent: Tuesday, September 16, 2003 7:02 AM
Subject: Re: anaconda barfs (ZeroDivisionError)


> On Mon, Sep 15, 2003 at 07:44:26PM -0400, Alexander Rau wrote:
>
> > I am having the exact same problem but I am kind of a newbee to anaconda
compiling. I am also working on a customized RH9 distro w/ ximian xd2.
> >
> > I am getting the same error message. Now you are saying you did
> >
> > def setPackageScale(self, amount, total):
> >         #self.s.set(int(((amount * 1.0)/ total) * 100))
> >         self.s.set(50)
> >
> > to fix the problem.
> >
> > Could I ask for help on how to exactely go about doing this change? I
found the progress_text.py file and did the change. Do I now need to
re-compile anaconda? How do I go about this since I have never done this
before.
>
> No, anaconda is a Python script. What I did is that I took the source
> RPM for anaconda for Red Hat 9, unpacked it (rpm -i <src-rpm>), unpacked
> the sources (can be found in /usr/src/redhat/SOURCES/), made the change,
> repacked the anaconda sources (with the change) and then rebuilt the RPM
> (rpm -ta <source tarball>).
>
> armijn
>
> -- 
>  -------------------------------------------------------------------------
--
>    armijn@xxxxxxxxxxxx | http://people.nl.linux.org/~armijn/ | Penguin
Power
>  -------------------------------------------------------------------------
--
>                  http://nl.linux.org/ | Alles over Linux
>  -------------------------------------------------------------------------
--




[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux