2 Feb 2007 08:27
Re: systemimager-bittorrent %pre scripts
Hi Andrea: For now I have put "bittorrent" in OSCAR's base prereqs, meaning that the package will be installed prior to SIS being installed. This is not ideal (IMHO) but does work. If nobody from OSCAR objects, I will leave it at that. Basically the issue is that in SystemImager 3.7.6, bittorrent RPM dependency was removed such that RPMs can be distro-neutral (SuSE calls it BitTorrent, RH/FC calls it bittorrent). There is also a check for bittorrent binaries in the %pre script, if it couldn't find them the installation of systemimager-bittorrent would fail. This can't be bypassed simply by adding bittorrent to SIS' config.xml, since there is no ordering involved. Cheers, Bernard On 1/29/07, Bernard Li <bernard@...> wrote: > Andrea: > > Currently the %pre section checks to see if the BitTorrent binaries > are available, if not, then the installation exits. > > WIll you consider removing the exit statement? I think outputing the > warning message is sufficient for the user to know that they need to > install the BitTorrent package. >(Continue reading)
Two ways seem clean to me:
Either take out the dependency entirely (also from the %pre) or take it in
cleanly, as dependency, and make the package distro dependent (but
noarch). The distro-dependency is not a big deal, actually the package should
be small. A pity that requires don't allow an ||
Regards,
Erich
On Friday 02 February 2007 08:27, Bernard Li wrote:
> Hi Andrea:
>
> For now I have put "bittorrent" in OSCAR's base prereqs, meaning that
> the package will be installed prior to SIS being installed. This is
> not ideal (IMHO) but does work.
>
> If nobody from OSCAR objects, I will leave it at that.
>
> Basically the issue is that in SystemImager 3.7.6, bittorrent RPM
> dependency was removed such that RPMs can be distro-neutral (SuSE
> calls it BitTorrent, RH/FC calls it bittorrent). There is also a
> check for bittorrent binaries in the %pre script, if it couldn't find
> them the installation of systemimager-bittorrent would fail. This
> can't be bypassed simply by adding bittorrent to SIS' config.xml,
> since there is no ordering involved.
>
> Cheers,
RSS Feed