<div dir="ltr">On Sat, Sep 21, 2013 at 9:06 AM, Gary Buhrmaster <span dir="ltr"><<a href="mailto:gary.buhrmaster@gmail.com" target="_blank">gary.buhrmaster@gmail.com</a>></span> wrote:<br><div class="gmail_extra"><div class="gmail_quote">
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">On Fri, Sep 20, 2013 at 9:59 PM, Gary Buhrmaster<br>
<<a href="mailto:gary.buhrmaster@gmail.com">gary.buhrmaster@gmail.com</a>> wrote:<br>
> On Fri, Sep 20, 2013 at 8:43 PM, Richard Shaw <<a href="mailto:hobbes1069@gmail.com">hobbes1069@gmail.com</a>> wrote:<br>
> ....<br>
>> Yup, I have a test package but yum/rpm is telling me the data directories<br>
>> between the two packages conflict... Right now I've got the symbolic link in<br>
>> %install and then a %pre and %post to migrate the data.<br>
><br>
> There is a really ugly hack to use the %pretrans hook<br>
> to change directories to symlinks, or files.<br>
<br>
</div>If none of the references make sense, if you send me your<br>
current files(s) (off-line), I'll ramp up my plague-client (I<br>
am pretty sure I have to re-generate my certificate it at<br>
this point; have not used them in years) and work on the<br>
spec files to try and make things happy.<br></blockquote><div><br></div><div>I'm working through it but it's a major PITA... I don't think I'm going to have to resort to the "lua" trick since new installs should get the old package and /bin/sh will be available for updates.</div>
<div><br></div><div>For some reason my symbolic link isn't getting made with I update so I've got to debug that. I also had to add an additional ugly hack to make the symlink part of the RPM so it will be removed during uninstall... Basically I used the %ghost directive, but for it to work you actually have to have a file there so I'm using touch to create an empty file so %ghost will be happy so I can get the symlink to be part of the package so it will removed upon uninstall... Talk about a chain of events... And ALL of this because RPM can't handle replacing a directory with a symlink.</div>
<div><br></div><div>Thanks,</div><div>Richard</div></div></div></div>