0bca6b8468
2) Install debug tools in every debug docker image 3) Install available debug symbols in debug docker image 4) Provide additional host/docker mapping for host dirs /src & /debug 4.1) The one-image will have source code under /src 4.2) /debug is mapped as rw. User can put his core file there and use this dir to collect debug session logs too. 5) Build debug image using debug dockers 6) Source code is archived into /src of debug image 7) The welcome banner is extended to display these additional facilities in debug image.
14 lines
343 B
Makefile
14 lines
343 B
Makefile
# FRRouting (frr) package
|
|
|
|
FRR_VERSION = 4.0
|
|
export FRR_VERSION
|
|
|
|
FRR = frr_$(FRR_VERSION)-1~sonic.debian8+1_amd64.deb
|
|
$(FRR)_DEPENDS += $(LIBSNMP_DEV)
|
|
$(FRR)_SRC_PATH = $(SRC_PATH)/sonic-frr
|
|
SONIC_MAKE_DEBS += $(FRR)
|
|
|
|
FRR_DBG = frr-dbgsym_$(FRR_VERSION)-sonic-$(FRR_SUBVERSION)_amd64.deb
|
|
$(eval $(call add_derived_package,$(FRR),$(FRR_DBG)))
|
|
|