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.


Any idea?


Thanks,

Koen


https://git.openwrt.org/?p=openwrt/openwrt.git;a=commit;h=905a3f249a261aa7fc162dd5ea184bd701044469

_______________________________________________
Lede-dev mailing list
Lede-dev@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/lede-dev

Reply via email to