Removing dependencies in the menuconfig

When changing packages through the make menuconfig, I observe the following feature:

How to add basic support for Luci, without enabling the firewall package and module luci-app-firewall?

By looking at the LuCI Makefile and adding all other LuCI components one by one, except the firewall. Might not be that easy, as firewall is rather tigthly ingrated into network components

(or look at the "luci" package details and dependencies in menuconfig, and use that info to start over and select just the other packages.)

Personally, I don’t see the point in deleting firewall and firewall4.
You can delete ipv6, for example, then it will make sense.
Here they roughly describe how to do this - https://openwrt.org/docs/guide-user/additional-software/saving_space

When installing the zram-swap package, in order for it to work in new builds, you need to additionally install kmod-lib-lzo
This is me just in case you want to install this package

Thanks for the information, but I have a simple access point in DUMB mode - without firewall, dnsmasq, odhcpd, iptables, ppp, etc...

If you're using a device in a dumb AP mode, you don't need to disable services or remove any packages -- simply (explicitly) disable the DHCP via the config file, and that's all that you need to do. The other packages/services will not harm anything.

The only reason to go through the exercise of removing packages is if your device is space constrained. This would be relevant if you are trying to install other packages and have run out of space and/or if you've got an older device that is not officially supported anymore due to limited RAM/flash storage and you're trying to make a minimized build specifically to fit the small footprint.

Precisely for this reason - flash = 8Mb

8MB is sufficient for 23.05. Are you trying to add additional packages?

I need to remove dependencies - it doesn't work in the menuconfig.
see my 1st post...

What I'm asking is if you need to free up space to install other packages? If yes, then it makes sense to do what you are doing now. However, if you aren't installing other packages, there is no value in removing packages/dependencies.

You only asked about removing stuff... it is not clear if you are trying to add things into your build that will not fit otherwise.

I have already freed up the space I need by removing unnecessary packages.
I also added almost all the necessary packages except LucI.
There is a place - through SSH I add Luci in a minimal configuration, without firewall and without problem. ))
But, I would like to have all the necessary packages immediately in the firmware.

How to add basic support for Luci, without enabling the firewall package and module luci-app-firewall?

That's what I want to do

Don't select the luci or luci-ssl meta packages, they will pull in opkg, firewall etc. Rather select desired LuCI components individually. The minimum set for a working LuCI should be luci-base, luci-theme-bootstrap, luci-mod-network, luci-mod-status, luci-mod-system

2 Likes

Thanks, it works!

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.