Re: Floppy Drive Gone

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

 



>>>>> "SC" == Steve Croteau <stevecroteau@xxxxxxxxxxx> 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@xxxxxxxxxxxxxxxxxxxxx:/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<


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux