[OpenWrt-Devel] Remove iptables-1.4.21 packages from openwrt

Arjav Parikh parikharjav24 at gmail.com
Wed Feb 28 04:28:08 EST 2018


Thank You for your response.

Can you share me the detailed steps for building image to be performed
after removing iptables from DEFAULT_PACKAGES.router because I
executed below steps and found below observations:

1. Removed DEFAULT_PACKAGES.router and just did make V=s.
Observation: Checked my kernel image, it has iptable module support.

2. Removed DEFAULT_PACKAGES.router and from make menuconfig also
removed iptables support and did make V=s.
Observation: Compilation error related to packages.

3. Removed iptables-1.4.21.tar.gz from dl directory, iptables from
DEFAULT_PACKAGES.router and did make V=s.
Observation: Same error as observed in 2.

Thanks & Regards,
Arjav Parikh

On Wed, Feb 28, 2018 at 11:42 AM, Yousong Zhou <yszhou4tech at gmail.com> wrote:
> On 28 February 2018 at 13:55, Arjav Parikh <parikharjav24 at gmail.com> wrote:
>> Hi,
>> I want to remove support of iptables from my kernel image. For that I
>> have disabled its support from menuconfig and when I am trying to
>> build my kernel image again it shows error related to missing files.
>> On debugging I identified that even though removing support from
>> menuconfig it still compiles all the packages present in build_dir
>> directory. I removed the complete iptables-1.4.21 package from
>> build_dir as well but it gets copied again from some other directory
>> and throws the same error.
>> Kindly guide me how to remove such from being compiled in order to
>> reduce my kernel image size. As this method will help me to remove
>> unwanted libraries/packages from kernel.
> Please try removing iptables from the DEFAULT_PACKAGES.router in
> include/target.mk and see if it helps.
> Regards,
>                 yousong
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org

More information about the openwrt-devel mailing list