Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Delete stretch and jessie references #17075

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 1 addition & 3 deletions .azure-pipelines/docker-sonic-slave-template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# Start with a minimal pipeline that you can customize to build and deploy your code.
# Add steps that build, run tests, deploy, and more:
# https://aka.ms/yaml
# Build and push sonic-slave-[buster|jessie|stretch] images for amd64/armhf/arm64
# Build and push sonic-slave-[bullseye|buster] images for amd64/armhf/arm64
parameters:
- name: arch
type: string
Expand All @@ -18,8 +18,6 @@ parameters:
values:
- bullseye
- buster
- stretch
- jessie
- name: registry_url
type: string
default: sonicdev-microsoft.azurecr.io
Expand Down
4 changes: 1 addition & 3 deletions .azure-pipelines/docker-sonic-slave.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# Start with a minimal pipeline that you can customize to build and deploy your code.
# Add steps that build, run tests, deploy, and more:
# https://aka.ms/yaml
# Build and push sonic-slave-[buster|jessie|stretch] images for amd64/armhf/arm64
# Build and push sonic-slave-[bullseye|buster] images for amd64/armhf/arm64
resources:
repositories:
- repository: buildimage
Expand Down Expand Up @@ -46,8 +46,6 @@ parameters:
default:
- bullseye
- buster
- stretch
- jessie
- name: registry_url
type: string
default: sonicdev-microsoft.azurecr.io
Expand Down
30 changes: 0 additions & 30 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
# SONiC make file

NOJESSIE ?= 1
NOSTRETCH ?= 1
NOBUSTER ?= 0
NOBULLSEYE ?= 0

Expand All @@ -13,14 +11,6 @@ override SONIC_OVERRIDE_BUILD_VARS += $(SONIC_BUILD_VARS)
override SONIC_OVERRIDE_BUILD_VARS += Q=$(Q)
export Q SONIC_OVERRIDE_BUILD_VARS

ifeq ($(NOJESSIE),0)
BUILD_JESSIE=1
endif

ifeq ($(NOSTRETCH),0)
BUILD_STRETCH=1
endif

ifeq ($(NOBUSTER),0)
BUILD_BUSTER=1
endif
Expand All @@ -37,12 +27,6 @@ MAKE_WITH_RETRY := ./scripts/run_with_retry $(MAKE)

%::
@echo "+++ --- Making $@ --- +++"
ifeq ($(NOJESSIE), 0)
$(MAKE_WITH_RETRY) EXTRA_DOCKER_TARGETS=$(notdir $@) -f Makefile.work jessie
endif
ifeq ($(NOSTRETCH), 0)
$(MAKE_WITH_RETRY) EXTRA_DOCKER_TARGETS=$(notdir $@) BLDENV=stretch -f Makefile.work stretch
endif
ifeq ($(NOBUSTER), 0)
$(MAKE_WITH_RETRY) EXTRA_DOCKER_TARGETS=$(notdir $@) BLDENV=buster -f Makefile.work buster
endif
Expand All @@ -51,18 +35,6 @@ ifeq ($(NOBULLSEYE), 0)
endif
BLDENV=bullseye $(MAKE) -f Makefile.work docker-cleanup

jessie:
@echo "+++ Making $@ +++"
ifeq ($(NOJESSIE), 0)
$(MAKE) -f Makefile.work jessie
endif

stretch:
@echo "+++ Making $@ +++"
ifeq ($(NOSTRETCH), 0)
$(MAKE) -f Makefile.work stretch
endif

buster:
@echo "+++ Making $@ +++"
ifeq ($(NOBUSTER), 0)
Expand All @@ -78,8 +50,6 @@ init:
#
define make_work
@echo "+++ Making $@ +++"
$(if $(BUILD_JESSIE),$(MAKE) -f Makefile.work $@,)
$(if $(BUILD_STRETCH),BLDENV=stretch $(MAKE) -f Makefile.work $@,)
$(if $(BUILD_BUSTER),BLDENV=buster $(MAKE) -f Makefile.work $@,)
$(if $(BUILD_BULLSEYE),BLDENV=bullseye $(MAKE) -f Makefile.work $@,)
endef
Expand Down
4 changes: 1 addition & 3 deletions Makefile.cache
Original file line number Diff line number Diff line change
Expand Up @@ -75,9 +75,7 @@ SONIC_COMMON_FLAGS_LIST := $(CONFIGURED_PLATFORM) \
$(SONIC_PROFILING_ON) $(SONIC_ENABLE_SYNCD_RPC)
SONIC_COMMON_DPKG_LIST := debian/control debian/changelog debian/rules \
debian/compat debian/install debian/copyright
SONIC_COMMON_BASE_FILES_LIST := sonic-slave-jessie/Dockerfile.j2 sonic-slave-jessie/Dockerfile.user.j2 \
sonic-slave-stretch/Dockerfile.j2 sonic-slave-stretch/Dockerfile.user.j2 \
sonic-slave-buster/Dockerfile.j2 sonic-slave-buster/Dockerfile.user.j2 \
SONIC_COMMON_BASE_FILES_LIST := sonic-slave-buster/Dockerfile.j2 sonic-slave-buster/Dockerfile.user.j2 \
sonic-slave-bullseye/Dockerfile.j2 sonic-slave-bullseye/Dockerfile.user.j2


Expand Down
8 changes: 2 additions & 6 deletions Makefile.work
Original file line number Diff line number Diff line change
Expand Up @@ -121,14 +121,10 @@ else
TARGET_BOOTLOADER = uboot
endif

ifeq ($(BLDENV), bullseye)
SLAVE_DIR = sonic-slave-bullseye
else ifeq ($(BLDENV), buster)
ifeq ($(BLDENV), buster)
SLAVE_DIR = sonic-slave-buster
else ifeq ($(BLDENV), stretch)
SLAVE_DIR = sonic-slave-stretch
else
SLAVE_DIR = sonic-slave-jessie
SLAVE_DIR = sonic-slave-bullseye
endif

# Define a do-nothing target for rules/config.user so that when
Expand Down
6 changes: 2 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -216,12 +216,12 @@ using cross-compilation, run the following commands:
```shell
# Execute make configure once to configure ASIC and ARCH for cross-compilation build

NOJESSIE=1 NOSTRETCH=1 BLDENV=buster CROSS_BLDENV=1 \
BLDENV=bullseye CROSS_BLDENV=1 \
make configure PLATFORM=marvell-armhf PLATFORM_ARCH=armhf

# Execute Arm32 build using cross-compilation environment

NOJESSIE=1 NOSTRETCH=1 BLDENV=buster CROSS_BLDENV=1 make target/sonic-marvell-armhf.bin
BLDENV=bullseye CROSS_BLDENV=1 make target/sonic-marvell-armhf.bin
```

Running the above Arm32 build using cross-compilation instead of qemu emulator
Expand Down Expand Up @@ -269,8 +269,6 @@ ONIE image is used for all other Broadcom ASIC based devices.

```shell
make configure PLATFORM=broadcom
# build debian stretch required targets
BLDENV=stretch make stretch
# build ONIE image
make target/sonic-broadcom.bin
# build EOS image
Expand Down
123 changes: 0 additions & 123 deletions dockers/docker-base-stretch/Dockerfile.j2

This file was deleted.

13 changes: 0 additions & 13 deletions dockers/docker-base-stretch/LICENSE

This file was deleted.

30 changes: 0 additions & 30 deletions dockers/docker-base-stretch/dpkg_01_drop

This file was deleted.

9 changes: 0 additions & 9 deletions dockers/docker-base-stretch/etc/rsyslog.d/supervisor.conf

This file was deleted.

This file was deleted.

29 changes: 0 additions & 29 deletions dockers/docker-base-stretch/etc/supervisor/supervisord.conf

This file was deleted.

4 changes: 0 additions & 4 deletions dockers/docker-base-stretch/no-check-valid-until

This file was deleted.

5 changes: 0 additions & 5 deletions dockers/docker-base-stretch/no_install_recommend_suggest

This file was deleted.

2 changes: 0 additions & 2 deletions dockers/docker-base-stretch/root/.vimrc

This file was deleted.