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

[baseimage]: upgrade base image to debian buster #4405

Merged
merged 32 commits into from
Apr 20, 2020

Conversation

lguohan
Copy link
Collaborator

@lguohan lguohan commented Apr 9, 2020

- What I did
bring up the base image to debian buster 4.19 kernel.

This pr depends on the linux-kernel pr to be merged first.

- How I did it

- How to verify it
build vs image and tested.

- Description for the changelog

- A picture of a cute animal (not mandatory but encouraged)

build_debian.sh Outdated Show resolved Hide resolved
.gitmodules Outdated Show resolved Hide resolved
@lguohan lguohan force-pushed the buster branch 2 times, most recently from c93d645 to 215a2e6 Compare April 9, 2020 11:11
@lguohan
Copy link
Collaborator Author

lguohan commented Apr 9, 2020

retest broadcom please

build_debian.sh Outdated Show resolved Hide resolved
Makefile Show resolved Hide resolved
Makefile Show resolved Hide resolved
jleveque
jleveque previously approved these changes Apr 17, 2020
qiluo-msft
qiluo-msft previously approved these changes Apr 17, 2020
@lguohan
Copy link
Collaborator Author

lguohan commented Apr 18, 2020

retest vsimage please

@lguohan lguohan dismissed stale reviews from qiluo-msft and jleveque via 9dedd5a April 19, 2020 02:57
jleveque
jleveque previously approved these changes Apr 19, 2020
lguohan and others added 3 commits April 20, 2020 07:34
add $(BLDENV) in cache flags for following targets:

- $(SONIC_MAKE_DEBS)
- $(SONIC_DPKG_DEBS)
- $(SONIC_ONLINE_DEBS)
- $(SONIC_COPY_DEBS)
- $(SONIC_MAKE_FILES)

This is because we could build a same package for both
base image and docker which can be different os distribution,
i.e., buster v.s. stretch.

- target/debs/buster/swig3.0_3.0.12-2_amd64.deb
- target/debs/stretch/swig3.0_3.0.12-2_amd64.deb

Signed-off-by: Guohan Lu <lguohan@gmail.com>
Copy link
Contributor

@Kalimuthu-Velappan Kalimuthu-Velappan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Adding the BLDENV to SONIC_COMMON_FLAGS_LIST would help to resolve the package generation based on the base image type?.

SONIC_COMMON_FLAGS_LIST += $(BLDENV)

@lguohan
Copy link
Collaborator Author

lguohan commented Apr 20, 2020

Adding the BLDENV to SONIC_COMMON_FLAGS_LIST would help to resolve the package generation based on the base image type?.

SONIC_COMMON_FLAGS_LIST += $(BLDENV)

Not quite, because other packages such as DOCKER, it does not make a difference whether it is built from buster or stretch.

@lguohan lguohan merged commit 46fad0e into sonic-net:master Apr 20, 2020
@stephenxs
Copy link
Collaborator

@lguohan @jleveque I think it also depends on the sonic-utilities PR [201911] Explicitly specify command names with underscores (continued).
Can you advance the submodule head?
Thanks.

@lguohan lguohan deleted the buster branch August 1, 2020 02:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Error message regarding ntpd found on buster
9 participants