Skip to content

[build] Add environment when using dpkg hook to avoid lock loop.#13233

Merged
xumia merged 2 commits intosonic-net:202012from
liushilongbuaa:dpkg-202012-fix
Jan 4, 2023
Merged

[build] Add environment when using dpkg hook to avoid lock loop.#13233
xumia merged 2 commits intosonic-net:202012from
liushilongbuaa:dpkg-202012-fix

Conversation

@liushilongbuaa
Copy link
Copy Markdown
Contributor

@liushilongbuaa liushilongbuaa commented Jan 3, 2023

Why I did it

In some cases, dpkg will call dpkg to validate version.
dpkg hook will get stuck in a loop to lock.

How I did it

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)

@liushilongbuaa liushilongbuaa changed the title [ci] Fix dpkg lock issue when building image [build] Add environment when using dpkg hook to avoid lock loop. Jan 3, 2023
@liushilongbuaa liushilongbuaa marked this pull request as ready for review January 3, 2023 08:21
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.

2 participants