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

Pick dependency files in submodules. #15142

Merged
merged 1 commit into from
Jul 11, 2023

Conversation

iMasaruOki
Copy link
Contributor

@iMasaruOki iMasaruOki commented May 18, 2023

MSFT ADO: 24531339

Why I did it

Failed to build sonic-dhcp6relay_1.0.0-0_amd64.deb

How I did it

src/dhcprelay has git submodule.
Dependency files by "git ls-files" are not picked files in submodules.
Add --recurse-submodules, work again.

How to verify it

make all

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

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

Tested branch (Please provide the tested image version)

Description for the changelog

Link to config_db schema for YANG module changes

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

@saiarcot895
Copy link
Contributor

Can you change the title of the PR to include the fact that this is for dhcprelay, to make it clearer what this PR is for?

@saiarcot895
Copy link
Contributor

@xumia Could you review this when you get a chance? This causes a clean SONiC build to fail when caching is enabled, but a retry succeeds (which is why we don't see an issue in the official nightly builds).

@dgsudharsan
Copy link
Collaborator

@saiarcot895 @iMasaruOki Should we backport this to other branches (202205 and 202211) given DHCPrelay submodule doesn't have these branches and updating submodule of dhcprelay in these branches might potentially run into this issue there?

@vivekrnv
Copy link
Contributor

If this is planned to be ported to 2211 (sonic-net/sonic-dhcp-relay#34) then we need to cherry-pick this to 202211 as well

@jcaiMR
Copy link
Contributor

jcaiMR commented Jul 11, 2023

@yxieca Hi Ying, would you please help merge this commit.

@qiluo-msft qiluo-msft merged commit 51b5008 into sonic-net:master Jul 11, 2023
mssonicbld pushed a commit to mssonicbld/sonic-buildimage that referenced this pull request Jul 13, 2023
#### Why I did it

Failed to build sonic-dhcp6relay_1.0.0-0_amd64.deb

#### How I did it

src/dhcprelay has git submodule.
Dependency files by "git ls-files" are not picked files in submodules.
Add --recurse-submodules, work again.

#### How to verify it

make all
mssonicbld pushed a commit to mssonicbld/sonic-buildimage that referenced this pull request Jul 13, 2023
#### Why I did it

Failed to build sonic-dhcp6relay_1.0.0-0_amd64.deb

#### How I did it

src/dhcprelay has git submodule.
Dependency files by "git ls-files" are not picked files in submodules.
Add --recurse-submodules, work again.

#### How to verify it

make all
@mssonicbld
Copy link
Collaborator

Cherry-pick PR to 202205: #15827

@mssonicbld
Copy link
Collaborator

Cherry-pick PR to 202211: #15828

mssonicbld pushed a commit to mssonicbld/sonic-buildimage that referenced this pull request Jul 17, 2023
#### Why I did it

Failed to build sonic-dhcp6relay_1.0.0-0_amd64.deb

#### How I did it

src/dhcprelay has git submodule.
Dependency files by "git ls-files" are not picked files in submodules.
Add --recurse-submodules, work again.

#### How to verify it

make all
@mssonicbld
Copy link
Collaborator

Cherry-pick PR to 202305: #15872

mssonicbld pushed a commit that referenced this pull request Jul 19, 2023
#### Why I did it

Failed to build sonic-dhcp6relay_1.0.0-0_amd64.deb

#### How I did it

src/dhcprelay has git submodule.
Dependency files by "git ls-files" are not picked files in submodules.
Add --recurse-submodules, work again.

#### How to verify it

make all
mssonicbld pushed a commit that referenced this pull request Jul 22, 2023
#### Why I did it

Failed to build sonic-dhcp6relay_1.0.0-0_amd64.deb

#### How I did it

src/dhcprelay has git submodule.
Dependency files by "git ls-files" are not picked files in submodules.
Add --recurse-submodules, work again.

#### How to verify it

make all
sonic-otn pushed a commit to sonic-otn/sonic-buildimage that referenced this pull request Sep 20, 2023
#### Why I did it

Failed to build sonic-dhcp6relay_1.0.0-0_amd64.deb

#### How I did it

src/dhcprelay has git submodule.
Dependency files by "git ls-files" are not picked files in submodules.
Add --recurse-submodules, work again.

#### How to verify it

make all
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.

10 participants