3d0a0da24f
This fixes lldpcli hitting some error related to being unable to get a lock on /var/run/lldpd.socket. This version is the version in Debian Bookworm, even though lldpd is in the lldp container, and that is on Bullseye. This is because there is a change that went into 1.0.12 that uses a separate lock file for the lldpd socket instead of locking the socket file itself. This appears to cause problems in an unprivileged docker container for unknown reasons (privileged docker container is fine). Bullseye is on 1.0.11, which isn't new enough to have this change. I can't see any specific system capability that might address this. Rather than debugging this further, just upgrade to the Bookworm version. Signed-off-by: Saikrishna Arcot <sarcot@microsoft.com>
30 lines
900 B
Makefile
30 lines
900 B
Makefile
# lldpd package
|
|
|
|
LLDPD_VERSION = 1.0.16
|
|
LLDPD_VERSION_SUFFIX = 1+deb12u1
|
|
LLDPD_VERSION_FULL = $(LLDPD_VERSION)-$(LLDPD_VERSION_SUFFIX)
|
|
|
|
LLDPD = lldpd_$(LLDPD_VERSION_FULL)_$(CONFIGURED_ARCH).deb
|
|
$(LLDPD)_DEPENDS += $(LIBSNMP_DEV)
|
|
$(LLDPD)_RDEPENDS += $(LIBSNMP)
|
|
$(LLDPD)_SRC_PATH = $(SRC_PATH)/lldpd
|
|
SONIC_MAKE_DEBS += $(LLDPD)
|
|
|
|
LIBLLDPCTL = liblldpctl-dev_$(LLDPD_VERSION_FULL)_$(CONFIGURED_ARCH).deb
|
|
$(eval $(call add_derived_package,$(LLDPD),$(LIBLLDPCTL)))
|
|
|
|
LLDPD_DBG = lldpd-dbgsym_$(LLDPD_VERSION_FULL)_$(CONFIGURED_ARCH).deb
|
|
$(eval $(call add_derived_package,$(LLDPD),$(LLDPD_DBG)))
|
|
|
|
# Export these variables so they can be used in a sub-make
|
|
export LLDPD_VERSION
|
|
export LLDPD_VERSION_FULL
|
|
export LLDPD
|
|
export LIBLLDPCTL
|
|
export LLDPD_DBG
|
|
|
|
# The .c, .cpp, .h & .hpp files under src/{$DBG_SRC_ARCHIVE list}
|
|
# are archived into debug one image to facilitate debugging.
|
|
#
|
|
DBG_SRC_ARCHIVE += lldpd
|