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

packaging kernel-specific packages (here ipvsadm)



Hi *,

I recently uploaded ipvsadm 1.26 which depends on the ip_vs kernel
module version >= 1.1.4.  This version is included in kernels 2.6.x.
Kernels 2.4.x (x >= 23) bring ip_vs version 1.0.11 which won't work with
the current version of ipvsadm and instead needs ipvsadm 1.21 (see also
bug #270774).  Now the only viable solution seems to me to provide two
ipvsadm packages, one for 2.6 and one for 2.4 kernels.  How can I do
this?  Provide two source packages and name the binaries accordingly
(ipvsadm-1.21, ipvsadm-1.26 or ipvsadm-2.4, ipvsadm-2.6), pack both into
the same source package and create two binary packages?  Hack up ipvsadm
to support both kernel versions?  Install both versions from a single
package and use a wrapper script that chooses the version to use?
Any suggestions welcome.

Thanks in advance,
  Joerg

-- 
Joerg "joergland" Wendland  |  http://www.wendlandnet.de/joerg/
GPG: 51CF8417 FP: 79C0 7671 AFC7 315E 657A  F318 57A3 7FBD 51CF 8417



Reply to: