Skip to content

Commit 358d93e

Browse files
committed
[sonic-slave-buster]: build sonic-slave-buster docker
- add sonic-slave-buster docker - remove debhelper from buster backports debhelper in buster is enough to build smartmontools 6.6 Signed-off-by: Guohan Lu <lguohan@gmail.com>
1 parent 695652c commit 358d93e

6 files changed

+451
-1
lines changed

Makefile

+3
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,9 @@ ifeq ($(NOJESSIE), 0)
1515
make -f Makefile.work jessie
1616
endif
1717

18+
buster:
19+
BLDENV=buster make -f Makefile.work
20+
1821
clean reset init configure showtag sonic-slave-build sonic-slave-bash :
1922
@echo "+++ Making $@ +++"
2023
ifeq ($(NOJESSIE), 0)

Makefile.work

+4-1
Original file line numberDiff line numberDiff line change
@@ -76,11 +76,14 @@ ifeq ($(PLATFORM_ARCH),)
7676
override PLATFORM_ARCH = $(CONFIGURED_ARCH)
7777
endif
7878

79-
ifeq ($(BLDENV), stretch)
79+
ifeq ($(BLDENV), buster)
80+
SLAVE_DIR = sonic-slave-buster
81+
else ifeq ($(BLDENV), stretch)
8082
SLAVE_DIR = sonic-slave-stretch
8183
else
8284
SLAVE_DIR = sonic-slave-jessie
8385
endif
86+
8487
SLAVE_BASE_TAG = $(shell CONFIGURED_ARCH=$(CONFIGURED_ARCH) j2 $(SLAVE_DIR)/Dockerfile.j2 > $(SLAVE_DIR)/Dockerfile && sha1sum $(SLAVE_DIR)/Dockerfile | awk '{print substr($$1,0,11);}')
8588
SLAVE_TAG = $(shell cat $(SLAVE_DIR)/Dockerfile.user $(SLAVE_DIR)/Dockerfile | sha1sum | awk '{print substr($$1,0,11);}')
8689
SLAVE_BASE_IMAGE = $(SLAVE_DIR)

0 commit comments

Comments
 (0)