![]() |
I'm sorry, I'm not trying to be dense deliberately, but I'm not having any luck with these instructions. I upgraded rpm to version 3.0.5 and attempted the rpm2cpio command with the RH7 rpm. I rummaged high and low through /etc and could not find the init script. I also grabbed the hylafax-4.1beta2-8rh6.src.rpm RPM and installed it. No sign of the init script there, either. Again, I'm sorry for being so feeble, but I'm stumped. Can anyone nudge me a little farther along? Thanks so much for the help, Jon Wright mailto:jon.wright@spudboy.com -----Original Message----- From: hylafax-users-bounce@hylafax.org [mailto:hylafax-users-bounce@hylafax.org]On Behalf Of Giulio Orsero Sent: Sunday, January 14, 2001 11:51 PM To: hylafax-users@hylafax.org Subject: Re: [hylafax-users] hylafax-4.1beta2-8rh6.i386.rpm missing init script On Sun, 14 Jan 2001 23:50:46 -0700, you wrote: >Get the rh7 RPM file and pull the init script out of there. >(/etc/rc.d/init.d/hylafax) Jon, you need at least rpm 3.0.5 to manage rpm made on rh7, is it so? If yes then you can rpm2cpio <hylafax_rpm_name>.i386.rpm | cpio -dim etc/rc.d/init.d/hylafax and look into the newly created etc subdir or rpm -i <hylafax_rpm_name>.src.rpm and look into /usr/src/redhat/SOURCES for the hylafax_rh.init script If you don't have rpm >= 3.0.5 and don't want to install it just to get the HylaFAX init script, you can try a dirty hack cp <hylafax_rpm_name>.<whatever>.rpm testfile echo -en "\003"|dd bs=1 conv=notrunc of=testfile seek=4 then use "testfile" as it was the real rpm, now hopefully with v3 format header. >Also, if you're using RPM4, you may want to give the rh7 RPM a try. Has >anyone tried using the rh7 RPM on a rh6 system? I doubt it will work; they have made binary format changes between the 2 versions so that something compiled on rh7 has almost no chance to run on rh6, moreover the path in the binary rpm are targeted to rh7. On the other hand, he could certainly download the rh7 src.rpm and rebuild it on rh6. ____________________ HylaFAX(tm) Users Mailing List _______________________ To unsub: mail -s unsubscribe hylafax-users-request@hylafax.org < /dev/null