Fix build break for jessie apt key expiration.#13328
Merged
qiluo-msft merged 2 commits intosonic-net:201911from Jan 30, 2023
Merged
Fix build break for jessie apt key expiration.#13328qiluo-msft merged 2 commits intosonic-net:201911from
qiluo-msft merged 2 commits intosonic-net:201911from
Conversation
Toposort 1.8 drops support for Python 2, but Stretch still uses Python 2. Therefore, make sure nothing newer than version 1.7 gets installed. Signed-off-by: Saikrishna Arcot <[email protected]>
lguohan
reviewed
Jan 19, 2023
| curl "https://sonicstoragepublic.blob.core.windows.net/packages/libfaketime_0.9.7-2_amd64.deb?sp=r&st=2022-12-05T06:39:44Z&se=2032-12-05T14:39:44Z&spr=https&sv=2021-06-08&sr=b&sig=SDqUC7DtESpNHTc1Dsh%2B9%2Finxfo4OwNiXGw762OV2tM%3D" -o libfaketime_0.9.7-2_amd64.deb; \ | ||
| curl "https://sonicstoragepublic.blob.core.windows.net/packages/faketime_0.9.7-2_amd64.deb?sp=r&st=2022-12-05T04:50:15Z&se=2033-12-06T12:50:15Z&spr=https&sv=2021-06-08&sr=b&sig=7l4dm4tyO73RwwAbRM6zNEglkOjs8bLV%2BJe9coiEHxo%3D" -o faketime_0.9.7-2_amd64.deb; \ | ||
| cp faketime_0.9.7-2_amd64.deb libfaketime_0.9.7-2_amd64.deb dockers/docker-base/; \ | ||
| cp faketime_0.9.7-2_amd64.deb libfaketime_0.9.7-2_amd64.deb sonic-slave-jessie/ |
Collaborator
|
others look fine. |
qiluo-msft
approved these changes
Jan 30, 2023
lguohan
approved these changes
Jan 30, 2023
xumia
pushed a commit
to xumia/sonic-buildimage-1
that referenced
this pull request
Apr 5, 2023
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.
8 tasks
yxieca
pushed a commit
that referenced
this pull request
Apr 7, 2023
* [Build][201811] Fix the jessie mirror removed issue * Fix build break for jessie apt key expiration. (#13328) 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. * [build] Fix issues caused by docker.com gpg key update. (#14063) 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 * Fix build break for jessie apt key expiration --------- Co-authored-by: Saikrishna Arcot <[email protected]> Co-authored-by: Liu Shilong <[email protected]>
guxianghong
pushed a commit
to CentecNetworks/sonic-buildimage
that referenced
this pull request
Apr 13, 2023
#### Why I did it The GPG key used for Jessie's official repos has since expired, which means building 201911 images no longer works. #### How I did it Fake the time to be before the expiry date.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Why I did it
The GPG key used for Jessie's official repos has since expired, which means building 201911 images no longer works.
How I did it
Fake the time to be before the expiry date.
How to verify it
Which release branch to backport (provide reason below if selected)
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)