Hello guys, I have a problem.
So I want to make an image for my WR940N with the unnecessary things removed with the image builder. So I use:
make image PROFILE=tl-wr941nd-v6 PACKAGES="luci luci-app-commands luci-app-watchcat -ppp -ppp-mod-pppoe -ip6tables -odhcp6c -kmod-ipv6 -kmod-ip6tables -luci-proto-ipv6 -luci-proto-ppp"
But it still including the the packages that I want removed. (As I checked some places you must put - in front of the package to remove it, but its still included, so what am i missing?)
jow
January 10, 2017, 8:30am
2
The packages you're trying to remove are selected byluci
. Omit the luci
meta package and pick the luci components individually.
jow
January 10, 2017, 10:14am
4
Simply do not put "luci" into your PACKAGES
list but specify luci-base luci-mod-admin-full luci-theme-bootstrap
instead.
jow
January 10, 2017, 10:19am
6
make image PROFILE=tl-wr941nd-v6 PACKAGES="uhttpd uhttpd-mod-ubus libiwinfo-lua luci-base luci-app-firewall luci-mod-admin-full luci-theme-bootstrap luci-app-commands luci-app-watchcat -ppp -ppp-mod-pppoe -ip6tables -odhcp6c -kmod-ipv6 -kmod-ip6tables"
That's very nice of you explaining me how. I'm very grateful.
One last thing. For DHCP I should incluide udhcpc too, right? (Since it's not as I see)
jow
January 10, 2017, 10:50am
9
Our busybox binaries contain a DHCP client already.
Well...
kmod-ip6tables, ip6tables are still there, over wise it more than perfect now.
P.S.: Is the size of those two combined big?
I need help. So I use:
make image PROFILE=tl-wr941nd-v6 PACKAGES="uhttpd uhttpd-mod-ubus libiwinfo-lua luci-base luci-app-firewall luci-mod-admin-full luci-theme-bootstrap luci-app-upnp luci-app-sqm -kmod-ipv6 -kmod-nf-conntrack6 -kmod-nf-ipt6 -libip6tc -odhcp6c -ip6tables -ppp -ppp-mod-pppoe" FILES_REMOVE="files_remove" &> results.txt
But ip6tables, kmod-ip6tables and kmod-nf-conntrack6 are still installing and they're actually installed too, when I flash.
Installing ip6tables (1.4.21-2) to root...
Copying /home/ssadistic/openwrt/lede-imagebuilder-ar71xx-generic.Linux-x86_64/dl/ip6tables_1.4.21-2_mips_24kc.ipk.
Installing kmod-ip6tables (4.4.40-1) to root...
Downloading file:packages/kmod-ip6tables_4.4.40-1_mips_24kc.ipk.
Installing kmod-nf-ipt6 (4.4.40-1) to root...
Downloading file:packages/kmod-nf-ipt6_4.4.40-1_mips_24kc.ipk.
Installing kmod-nf-conntrack6 (4.4.40-1) to root...
Downloading file:packages/kmod-nf-conntrack6_4.4.40-1_mips_24kc.ipk.
Full log: http://pastebin.com/1tay6sE8
make image PROFILE=tl-wr941nd-v6 PACKAGES="uhttpd uhttpd-mod-ubus libiwinfo-lua luci-base luci-app-firewall luci-mod-admin-full luci-theme-bootstrap luci-app-upnp luci-app-sqm -ip6tables -kmod-iptunnel6 -kmod-ipv6 -kmod-nf-conntrack6 -kmod-nf-ipt6 -odhcp6c -ppp -ppp-mod-pppoe" FILES_REMOVE="files_remove"
make image PROFILE=tl-wr941nd-v6 PACKAGES="uhttpd uhttpd-mod-u
bus libiwinfo-lua luci-base luci-app-firewall luci-mod-admin-full luci-theme-bootstrap luci-app-upnp luci-app-sqm -ppp -ppp-mod-pppoe" FILES_REMOVE="files_remove"
Both make equal packages, with the same packages included. So there should be something wrong with the first code and jow's one..
roger
March 18, 2017, 6:01pm
13
I'm interested in this too.
Any updates on removing those extra IPv6 packages using just the image builder?
mike1
March 20, 2017, 8:44am
14
There are packages that may be adding the kmod-ip6tables and kmod-nf-conntrack6 packages as a dependency:
mike@mikedesktop:~/code/lede/source/package$ grep -R kmod-ip6tables .
./kernel/linux/modules/netfilter.mk: $(call AddDepends/ipt,+kmod-ip6tables)
./kernel/linux/modules/netfilter.mk: $(call AddDepends/ipt,+kmod-ip6tables)
./kernel/linux/modules/netfilter.mk: DEPENDS+=+kmod-ipt-conntrack +IPV6:kmod-ip6tables
./kernel/linux/modules/netfilter.mk: DEPENDS:=+kmod-ip6tables
./network/utils/iptables/Makefile: DEPENDS:=@IPV6 +kmod-ip6tables +iptables
./network/utils/iptables/Makefile: DEPENDS:=ip6tables +kmod-ip6tables-extra
./network/utils/xtables-addons/Makefile:$(eval $(call BuildTemplate,compat-xtables,API compatibilty layer,,compat_xtables,+IPV6:kmod-ip6tables))
mike@mikedesktop:~/code/lede/source/package$ grep -R kmod-nf-conntrack6 .
./kernel/linux/modules/netfilter.mk: DEPENDS:=+kmod-nf-ipt +kmod-nf-conntrack6
./kernel/linux/modules/netfilter.mk: DEPENDS:=+kmod-nf-conntrack6 +kmod-nf-ipt6 +kmod-nf-nat
./kernel/linux/modules/netfilter.mk: DEPENDS:=+kmod-nfnetlink +kmod-nf-conntrack6 +kmod-nf-ipt +kmod-nf-ipt6
./feeds/packages/jool/Makefile: +kmod-nf-conntrack6
./feeds/packages/openvswitch/Makefile: DEPENDS:=+kmod-stp @IPV6 +kmod-gre +kmod-lib-crc32c +kmod-vxlan +kmod-nf-conntrack +kmod-nf-conntrack6 @($(SUPPORTED_KERNELS))