[LEDE-DEV] Question regarding kmod-ipt-offload and imagebuilder

Felix Fietkau nbd at nbd.name
Thu Mar 29 07:14:11 PDT 2018


On 2018-03-29 13:42, Koen Vandeputte wrote:
> Hi Felix,
> 
> Regarding your commit ("build: include kmod-ipt-offload in default 
> images") [1]
> 
> By default, this package is only supported (and selectable) when the 
> target device uses kernel 4.14.
> 
> 
> I've just tried this:
> 
> - Checkout OpenWrt master
> - Select a target using kernel 4.9 (ar71xx)
> - Build it normally
> - Use Imagebuilder to customize the image and rebuild it.
> 
> The imagebuilder logically fails, as package kmod-ipt-offload is 
> required but not available.
> 
> Is there any possibility to mark a package to be required within 
> include/target.mk , but only when the kernel version matches some 
> minimum/specific version?
> I know it's possible in the imagebuilder to de-select a package using 
> the make command .. but it would be nicer to have a solution which does 
> not require specifying this explicitly.
Could you please test this commit from my staging tree?

http://git.openwrt.org/b2b70e8b62937ff2b1459e9095cb026fa9688fc4

Thanks,

- Felix



More information about the Lede-dev mailing list