Building Compact v18.06.9 Image for tplink wr841nd luci-ssl problem

Hi, I am trying to create a custom image for a wr841nd acting as a wap.

This is the command I am using:
make image PROFILE=tl-wr841-v7 PACKAGES="uhttpd uhttpd-mod-ubus libiwinfo-lua luci-base luci-mod-admin-full luci-theme-bootstrap luci-ssl -ppp -ppp-mod-pppoe -ip6tables -odhcp6c -kmod-ipv6 -kmod-ip6tables -iptables -firewall -dnsmasq -odhcpd-ipv6only" -luci-proto-ppp -luci-proto-ipv6"

but for some reason image builder adds all of these including ones I have listed to remove: kmod-nf-reject, Kmod-nf-ipt. Kmod-ipt-core, Kmod-nf-conntrack, Kmod-ipt-conntrack, kmod-nf-nat, Libxtables, libip4tc, Libip6tc, Kmod-nf-conntrack6, Kmod-ipt-nat, Firewall, Luci-app-firewall, Luci-proto-ppp, luci-proto-ipv6.

When I remove luci-ssl from the command, image builder follows what I have listed to remove. Does luci-ssl depend on the above list?

Thankyou

djrock

There is an extraneous double-quote character at
-odhcpd-ipv6only"
which puts
-luci-proto-ppp -luci-proto-ipv6
outside the package list. I wonder why this works at all - the shell should prompt for more input, waiting for the closing quote.

I do not use OpenWrt 18.06.9 anymore. Note that support for it has ended in December 2020.

In OpenWrt 19.07.7, the dependency chain is:
luci-ssl -> luci -> luci-app-firewall -> firewall
This means you cannot remove firewall when luci or luci-ssl is installed.

Hi, I must of copied the old command where I accidently put a quotation there. Maybe 18.06.9 has the same dependency chain?

I have tried my custom version of 19.07.7 but theres not much ram left. So 18.06.9 should be good enough for just a wap.

Thankyou

If you could skip ssl, this might be an option

ok thankyou, I do want ssl but will have a look.