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

[Build][201811] Fix the jessie mirror removed issue #14526

Merged
merged 4 commits into from
Apr 7, 2023

Conversation

xumia
Copy link
Collaborator

@xumia xumia commented Apr 5, 2023

Why I did it

[Build] Fix the jessie mirror removed issue.

How I did it

Change to use the snapshot mirror http://packages.trafficmanager.net/snapshot.

Cherry-picked from 201911 and fix the code conflict.
737a50e [build] Fix issues caused by docker.com gpg key update. (#14063)
e9dc0cc Fix build break for jessie apt key expiration. (#13328)
42f9a47 [Build][201811] Fix the jessie mirror removed issue

Warning: The Jessie distribution is EOL, please avoid to use it if you can. And the snapshot mirror will be removed in near future as well.

How to verify it

Which release branch to backport (provide reason below if selected)

  • 201811
  • 201911
  • 202006
  • 202012
  • 202106
  • 202111
  • 202205
  • 202211

Description for the changelog

Ensure to add label/tag for the feature raised. example - PR#2174 under sonic-utilities repo. where, Generic Config and Update feature has been labelled as GCU.

Link to config_db schema for YANG module changes

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

@xumia xumia added the Build label Apr 5, 2023
saiarcot895 and others added 2 commits April 5, 2023 04:15
The GPG key used for Jessie's official repos has since expired, which means building 201911 images no longer works.

Fake the time to be before the expiry date.
)

Why I did it
docker.com's gpg key start to work from 2023-02-23. While debian.org's gpg key expired in 2022-11.
We used a walkaround for security checking for debian gpg keys. Now we need to exclude docker.com's gpg key.

How I did it
Update docker.com's gpg key without faketime.
Update others' gpg key with faketime '2022-11'

How to verify it
@xumia xumia force-pushed the fix-jessie-mirror-201811 branch from 9eb0dc9 to 9a6b425 Compare April 6, 2023 05:14
@liuh-80 liuh-80 requested a review from yxieca April 6, 2023 06:37
@xumia xumia force-pushed the fix-jessie-mirror-201811 branch from 9a6b425 to f71cdcf Compare April 6, 2023 06:52
@yxieca yxieca merged commit ef76e82 into sonic-net:201811 Apr 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants