Hi Bernard, the check in the %pre script is a pretty bad idea, isn't it? It prevents us from fixing this cleanly inside config.xml :-( 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, > > Bernard > > On 1/29/07, Bernard Li <[EMAIL PROTECTED]> 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. > > > > The reason I asked is because the RPM dependency was removed from the > > systemimager-bittorrent package and I had to add the bittorrent > > dependency to OSCAR's SIS package manually. The only problem is the > > systemimager-bittorrent package is installed prior to bittorrent > > package and the %pre section will fail. > > > > Thanks, > > > > Bernard > > ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ sisuite-devel mailing list sisuite-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sisuite-devel