File tree 4 files changed +25
-9
lines changed
4 files changed +25
-9
lines changed Original file line number Diff line number Diff line change 1
- FROM docker-config-engine
1
+ FROM docker-config-engine-stretch
2
2
3
3
ARG docker_container_name
4
4
ARG frr_user_uid
@@ -13,7 +13,7 @@ ENV DEBIAN_FRONTEND=noninteractive
13
13
RUN apt-get update
14
14
15
15
# Install required packages
16
- RUN apt-get install -y libdbus-1-3 libdaemon0 libjansson4 libc-ares2 iproute2 libpython2.7 libjson-c2 logrotate
16
+ RUN apt-get install -y libdbus-1-3 libdaemon0 libjansson4 libc-ares2 iproute2 libpython2.7 libjson-c3 logrotate
17
17
18
18
{% if docker_fpm_frr_debs .strip () -%}
19
19
# Copy locally-built Debian package dependencies
Original file line number Diff line number Diff line change 2
2
3
3
DOCKER_FPM_FRR = docker-fpm-frr.gz
4
4
$(DOCKER_FPM_FRR)_PATH = $(DOCKERS_PATH ) /docker-fpm-frr
5
- $(DOCKER_FPM_FRR)_DEPENDS += $(FRR ) $(SWSS )
6
- $(DOCKER_FPM_FRR)_LOAD_DOCKERS += $(DOCKER_CONFIG_ENGINE )
5
+ $(DOCKER_FPM_FRR)_DEPENDS += $(FRR ) $(FRR_PYTHONTOOLS ) $( SWSS )
6
+ $(DOCKER_FPM_FRR)_LOAD_DOCKERS += $(DOCKER_CONFIG_ENGINE_STRETCH )
7
7
SONIC_DOCKER_IMAGES += $(DOCKER_FPM_FRR )
8
8
9
9
$(DOCKER_FPM_FRR)_CONTAINER_NAME = bgp
@@ -12,3 +12,5 @@ $(DOCKER_FPM_FRR)_RUN_OPT += -v /etc/sonic:/etc/sonic:ro
12
12
$(DOCKER_FPM_FRR)_RUN_OPT += -v /etc/sonic/frr:/etc/frr:rw
13
13
14
14
$(DOCKER_FPM_FRR)_BASE_IMAGE_FILES += vtysh:/usr/bin/vtysh
15
+
16
+ SONIC_STRETCH_DOCKERS += $(DOCKER_FPM_FRR )
Original file line number Diff line number Diff line change 3
3
FRR_VERSION = 6.0.2
4
4
export FRR_VERSION
5
5
6
- FRR = frr_$(FRR_VERSION ) -1~sonic.debian8 +1_amd64.deb
6
+ FRR = frr_$(FRR_VERSION ) -1~sonic.debian9 +1_amd64.deb
7
7
$(FRR)_DEPENDS += $(LIBSNMP_DEV )
8
8
$(FRR)_SRC_PATH = $(SRC_PATH ) /sonic-frr
9
9
SONIC_MAKE_DEBS += $(FRR )
10
+
11
+ # FRRouting pythontools
12
+ FRR_PYTHONTOOLS = frr-pythontools_$(FRR_VERSION ) -1~sonic.debian9+1_amd64.deb
13
+ $(FRR_PYTHONTOOLS)_DEPENDS += $(LIBSNMP_DEV )
14
+ $(FRR_PYTHONTOOLS)_SRC_PATH = $(SRC_PATH ) /sonic-frr
15
+ SONIC_MAKE_DEBS += $(FRR_PYTHONTOOLS )
Original file line number Diff line number Diff line change 2
2
SHELL = /bin/bash
3
3
.SHELLFLAGS += -e
4
4
5
- MAIN_TARGET = frr_$(FRR_VERSION ) -1~sonic.debian8+1_amd64.deb
5
+ MAIN_TARGET = frr_$(FRR_VERSION ) -1~sonic.debian9+1_amd64.deb
6
+ TOOLS_TARGET = frr-pythontools_$(FRR_VERSION ) -1~sonic.debian9+1_amd64.deb
7
+ MAIN_TARGET_DBG = frr-dbgsym_$(FRR_VERSION ) -1~sonic.debian9+1_amd64.deb
8
+ DERIVED_TARGET = $(TOOLS_TARGET ) $(MAIN_TARGET_DBG )
6
9
7
10
$(addprefix $(DEST ) /, $(MAIN_TARGET ) ) : $(DEST ) /% :
8
11
@@ -12,11 +15,16 @@ $(addprefix $(DEST)/, $(MAIN_TARGET)): $(DEST)/% :
12
15
# This could very well be tools/tarsource.sh -V -e sonic
13
16
tools/tarsource.sh -V
14
17
# This is a no-op but here in case the changelog stops being a symlink
15
- debchange -b -v $(FRR_VERSION)-1~sonic.debian8+1 'SONiC FRR debian package build'
18
+ debchange -b -v $(FRR_VERSION)-1~sonic.debian9+1 'SONiC FRR debian package build'
19
+ sudo apt-get -y install install-info
16
20
dpkg-buildpackage -rfakeroot -b -us -uc -Ppkg.frr.nortrlib
17
21
cd ..
18
- mv frr_$(FRR_VERSION)-*_amd64.deb frr_$(FRR_VERSION)-1~sonic.debian8+1_amd64.deb
19
- mv $* $(DEST)/
22
+ mv frr_$(FRR_VERSION)-*_amd64.deb $(MAIN_TARGET)
23
+ mv frr-pythontools_$(FRR_VERSION)-*_all.deb $(TOOLS_TARGET)
24
+ mv frr-dbgsym_$(FRR_VERSION)-*_amd64.deb $(MAIN_TARGET_DBG)
25
+ mv $(DERIVED_TARGET) $* $(DEST)/
20
26
21
27
popd
22
28
29
+ $(addprefix $(DEST ) /, $(DERIVED_TARGET ) ) : $(DEST ) /% : $(DEST ) /$(MAIN_TARGET )
30
+
You can’t perform that action at this time.
0 commit comments