Re: Problems making ipset RPM

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

 



On Wednesday 2008-08-13 06:11, Pablo Endres wrote:
>>>
>>>I've been trying unsuccessfully to build an RPM of the ipset
>>>extensions (which by the way a really great).
>>>
>>>The main problem is that I can't manage to do a 2 stage install:
>>>install in one temporary directory in order to package.  This is
>>>normally done with the DESTDIR variable and it works for the binaries
>>>but not for the kernel modules.  I've tried some tricks I found in
>>>other RPMs but they don't seam to work: INST_DIR, INST_PATH,
>>>0=$(DESTDIR) ....
>>
>> You can use the Xtables-addons package which carries a mirror of ipset
>> alongside in multi-stage compliant fashion (this is however just a side
>> effect ;-).
>
>Thanks for the tip.. I'll look into it.
>I managed to find the variable I was missing through Jozsef (ipset),
>so all I needed to do is set the INSTALL_MOD_PATH.

Yes that is a specialty of the kernel. In Xt-a I just set
INSTALL_MOD_PATH=${DESTDIR} in the Makefile anyway, since that
makes most sense most of the time.
--
To unsubscribe from this list: send the line "unsubscribe netfilter" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux