Floppy Drive Gone

Jason L Tibbitts III tibbs at math.uh.edu
Fri Jul 29 04:13:03 UTC 2005


>>>>> "SC" == Steve Croteau <stevecroteau at comcast.net> writes:

SC> Excellent!!  Just one question, how does one go about installing a
SC> patch if it's not done through up2date or yum?

Check the source out of Fedora CVS, hack the spec file to apply the
patch at build time, change the version and build the package.  Not
too hard if you know all of the basics, pretty difficult if you don't.

But, hey, I have a few minutes, so here's the procedure:

Make sure you have "cvs" installed.
CVSROOT=:pserver:anonymous at cvs.fedora.redhat.com:/cvs/dist
export CVSROOT 
cvs login
(when asked for a password, just hit enter)
cvs co hal
cd hal/FC-3
Grab the patch from
 https://bugzilla.redhat.com/bugzilla/attachment.cgi?id=117249
 and save it in hal-0.4.7-floppy.patch.
Edit hal.spec:
Change the Release field; I ended up at "1.FC3.UH.2"

After the "Source0" line, add:
Patch0: hal-0.4.7-floppy.patch

After the "%setup -q" line, add:
%patch0 -p1

Save the file.
Run "make build"
It will probably complain about prerequisites; install them all.
Run "make build" again and repeat until the package builds.
Enjoy your new RPM; with luck it will fix the problem.  (It works for
me, but your milage may vary.  You should just need to install it with
"rpm -Fvh" and you'll see the floppy in /media if it works.)

 - J<




More information about the fedora-list mailing list