Using iptables --list without -n takes a long time
on some configurations during boot up which is a problem.
This commit resolves this by not trying resolve hostnames
as it is not necessary for the functionality.
It also splits up the check in two: one for IPv4 and one
for IPv6 to make the logic more robust and fail-safe.
DCHP lease start time is needed to calculate remaining lease time
which is needed for Device.DHCPv4.Client.{i}.LeaseTimeRemaining.
Earlier this was being provided via interface.status, but that was
leading to unnecessary hotplug events for interface data update so
it had to be removed from there.
Add the logic in udhcpc.user.d script separate from netifd as
there does not seem to be a need in netifd for this information.
On GenXOS we've for some time used this to avoid running
into issues with reloading scripts at the same time.
Adding the same functionality to feeds/iopsys.
When compiling for other platforms than Broadcom, the broadcom feed with
its packages does not exist, so ignore the error if the file does not
exist.
Signed-off-by: Andreas Gnau <andreas.gnau@iopsys.eu>
Move bcm-toolchain.mk to further to the top so that the appending to
TARGET_CFLAGS with -Wall -Werror in this file is done properly and not
overridden.
Signed-off-by: Andreas Gnau <andreas.gnau@iopsys.eu>
Do not set CFLAGS and others explicitly for BCM, the ones set by
bcm-toolchain.mk since feeds/broadcom commit 3191be5482a8 (bcmkernel:
toolchain: Set more flags and tools, 2024-04-17) are sufficient.
Signed-off-by: Andreas Gnau <andreas.gnau@iopsys.eu>
CheckDependencies failed because DT_RUNPATH had not been set. Since
commit 084691a29a (voicemngr: Do not manually specify BCM lib paths,
2024-03-25) we do set a proper RUNPATH, so we can re-enable dependency
checking.
Signed-off-by: Andreas Gnau <andreas.gnau@iopsys.eu>
This is no longer necessary since feeds/broadcom commit 3191be5482a8
(bcmkernel: toolchain: Set more flags and tools, 2024-04-17).
Signed-off-by: Andreas Gnau <andreas.gnau@iopsys.eu>
* sshmngr uci is deprecated and so are the library functions
related to managing that uci, sshmngr will directly interact
with the backend uci now
* a compile time flag is introduced which tells sshmngr code
whether dropbear backend is being used or not