Help in understanding limitations of firmware-selector

on using
https://firmware-selector.openwrt.org/

i noticed the 'installed packages' section, but on removing some not needed packages and then requesting a build, the firmware is built with those packages

need some help in understanding if the point of the 'installed packages' section is to not 'remove packages' only to add as required?

in the screenshot below, for example, i would like to remove the highlighted packages, however, on removing them, and then requesting a build, the build includes the packages removed from the 'installed packages' section

thanks

That usually happens when a package selected for installation depends on a package you removed. In that case, the removed package gets pulled into the build as a dependency.

1 Like

makes sense, i want to remove ipv6 completely and don't need ppp and opkg

odhcp6c odhcpd-ipv6only opkg ppp ppp-mod-pppoe

could you suggest what all i need to remove from

base-files busybox ca-bundle dnsmasq dropbear firewall4 fstools kmod-gpio-button-hotplug kmod-leds-gpio kmod-nft-offload kmod-rt2800-soc libc libgcc libustream-mbedtls logd mtd netifd nftables odhcp6c odhcpd-ipv6only opkg ppp ppp-mod-pppoe procd procd-seccomp procd-ujail swconfig uci uclient-fetch urandom-seed urngd wpad-basic-mbedtls kmod-mt76x0e kmod-usb2 kmod-usb-ohci kmod-usb-ledtrig-usbport luci

also

i delete the package names, but somewhere i saw putting a minus sign - before the package name ... which is best to remove a package

thanks

IPv6 support can't he removed with the imagebuilder (and attempting to so so would leave you in a horribly insecure situation, as the kernel would fall back to its default behaviour, without firewall, conciguration options, etc.).

2 Likes

thanks, appreciate it

stock includes the following packages (6.1 mb)

Package base-files (1562-r24106-10cc5fcd00) installed in root is up to date.
Package busybox (1.36.1-1) installed in root is up to date.
Package ca-bundle (20230311-1) installed in root is up to date.
Package dnsmasq (2.90-2) installed in root is up to date.
Package dropbear (2022.82-6) installed in root is up to date.
Package firewall4 (2023-09-01-598d9fbb-1) installed in root is up to date.
Package fstools (2023-02-28-bfe882d5-1) installed in root is up to date.
Package kernel (5.15.167-1-5bc03255e08a37a54dbb31ad01735f42) installed in root is up to date.
Package kmod-gpio-button-hotplug (5.15.167-3) installed in root is up to date.
Package kmod-leds-gpio (5.15.167-1) installed in root is up to date.
Package kmod-mt76x0e (5.15.167+2024-04-03-1e336a85-1) installed in root is up to date.
Package kmod-nft-offload (5.15.167-1) installed in root is up to date.
Package kmod-rt2800-soc (5.15.167+6.1.110-1-1) installed in root is up to date.
Package kmod-usb-ledtrig-usbport (5.15.167-1) installed in root is up to date.
Package kmod-usb-ohci (5.15.167-1) installed in root is up to date.
Package kmod-usb2 (5.15.167-1) installed in root is up to date.
Package libc (1.2.4-4) installed in root is up to date.
Package libgcc1 (12.3.0-4) installed in root is up to date.
Package libustream-mbedtls20201210 (2023-02-25-498f6e26-1) installed in root is up to date.
Package logd (2022-08-13-4c7b720b-2) installed in root is up to date.
Package mtd (26) installed in root is up to date.
Package netifd (2024-01-04-c18cc79d-2) installed in root is up to date.
Package nftables-json (1.0.8-1) installed in root is up to date.
Package odhcp6c (2023-05-12-bcd28363-20) installed in root is up to date.
Package odhcpd-ipv6only (2023-10-24-d8118f6e-1) installed in root is up to date.
Package opkg (2022-02-24-d038e5b6-2) installed in root is up to date.
Package ppp (2.4.9.git-2021-01-04-4) installed in root is up to date.
Package ppp-mod-pppoe (2.4.9.git-2021-01-04-4) installed in root is up to date.
Package procd (2023-06-25-2db83655-2) installed in root is up to date.
Package procd-seccomp (2023-06-25-2db83655-2) installed in root is up to date.
Package procd-ujail (2023-06-25-2db83655-2) installed in root is up to date.
Package swconfig (12) installed in root is up to date.
Package uci (2023-08-10-5781664d-1) installed in root is up to date.
Package uclient-fetch (2023-04-13-007d9454-1) installed in root is up to date.
Package urandom-seed (3) installed in root is up to date.
Package urngd (2023-11-01-44365eb1-1) installed in root is up to date.
Package wpad-basic-mbedtls (2023-09-08-e5ccbfc6-8) installed in root is up to date.

after removing odhcp6c odhcpd-ipv6only opkg ppp ppp-mod-pppoe it includes the following package
(5.9 mb)


Package base-files (1562-r24106-10cc5fcd00) installed in root is up to date.
Package busybox (1.36.1-1) installed in root is up to date.
Package ca-bundle (20230311-1) installed in root is up to date.
Package dnsmasq (2.90-2) installed in root is up to date.
Package dropbear (2022.82-6) installed in root is up to date.
Package firewall4 (2023-09-01-598d9fbb-1) installed in root is up to date.
Package fstools (2023-02-28-bfe882d5-1) installed in root is up to date.
Package kernel (5.15.167-1-5bc03255e08a37a54dbb31ad01735f42) installed in root is up to date.
Package kmod-gpio-button-hotplug (5.15.167-3) installed in root is up to date.
Package kmod-leds-gpio (5.15.167-1) installed in root is up to date.
Package kmod-mt76x0e (5.15.167+2024-04-03-1e336a85-1) installed in root is up to date.
Package kmod-nft-offload (5.15.167-1) installed in root is up to date.
Package kmod-rt2800-soc (5.15.167+6.1.110-1-1) installed in root is up to date.
Package kmod-usb-ledtrig-usbport (5.15.167-1) installed in root is up to date.
Package kmod-usb-ohci (5.15.167-1) installed in root is up to date.
Package kmod-usb2 (5.15.167-1) installed in root is up to date.
Package libc (1.2.4-4) installed in root is up to date.
Package libgcc1 (12.3.0-4) installed in root is up to date.
Package libustream-mbedtls20201210 (2023-02-25-498f6e26-1) installed in root is up to date.
Package logd (2022-08-13-4c7b720b-2) installed in root is up to date.
Package mtd (26) installed in root is up to date.
Package netifd (2024-01-04-c18cc79d-2) installed in root is up to date.
Package nftables-json (1.0.8-1) installed in root is up to date.
Package procd (2023-06-25-2db83655-2) installed in root is up to date.
Package procd-seccomp (2023-06-25-2db83655-2) installed in root is up to date.
Package procd-ujail (2023-06-25-2db83655-2) installed in root is up to date.
Package swconfig (12) installed in root is up to date.
Package uci (2023-08-10-5781664d-1) installed in root is up to date.
Package uclient-fetch (2023-04-13-007d9454-1) installed in root is up to date.
Package urandom-seed (3) installed in root is up to date.
Package urngd (2023-11-01-44365eb1-1) installed in root is up to date.
Package wpad-basic-mbedtls 

hopefully all the odhcp ipv6 and ppp packages are removed but opkg can't be removed

so just clear the mentioned package and save 0.2 mb

1 Like

Addendum:

In general, you remove packages by prefixing them with a '-', so for example to do a build that uses dnsmasq-full to replace the default dnsmasq package, the installed packages would list:

... -dnsmasq ... dnsmasq-full ...

So, even if the package is one of the defaults as above, it will be successfully removed. But as @NC1 says, it's often the case that the package is included as a result of dependencies, so you have to chase up the dependency chain and remove the "top-level" package that requires it (which may not be possible without breaking something severely, so do your homework!).

1 Like

For completeness with respect to the title, can someone mention the meaning / action(s) indicated when the static red bar appears in place of the normal progression bar when adding a package or few?

it maybe down (backend server that builds custom firmware) for some time now

1 Like

TY, that's what it looks like. Just never seen the plain red bar before, and no files built.

(Suggested text for inside the bar: "Server busy, try again later")

Can always build locally, just need setup time.

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