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

[1.10]Enhance the check enum lock script #1740

Merged
merged 2 commits into from
Feb 8, 2023

Conversation

richardyu-ms
Copy link
Collaborator

@richardyu-ms richardyu-ms commented Feb 8, 2023

Why
fix for

 git --work-tree=temp/ checkout 

after checkout from other branch, data will be left in git

then in when running command from sonic-buildimage/rules/sairedis.dep, it will report

[sonic-buildimage/rules/sairedis.dep](make: *** No rule to make target 'src/sonic-sairedis/SAI/inc/saigenericprogrammable.h', needed by 'target/debs/buster/libsairedis_1.0.0_amd64.deb.smdep'.)

How
clean up the git env

Verify
run script

checkenumlock.sh

Signed-off-by: richardyu-ms richard.yu@microsoft.com

Why
workaround fix for git --work-tree=temp/ checkout ...
after checkout from other branch, data will be left in git

then in when running command from sonic-buildimage/rules/sairedis.dep, it will report
```
sonic-buildimage/rules/sairedis.dep
```

How
clean up the git env

Verify
run script

Signed-off-by: richardyu-ms <richard.yu@microsoft.com>
@richardyu-ms richardyu-ms changed the title Enhance the check enum lock script [202205]Enhance the check enum lock script Feb 8, 2023
@richardyu-ms richardyu-ms changed the title [202205]Enhance the check enum lock script [1.10]Enhance the check enum lock script Feb 8, 2023
Signed-off-by: richardyu-ms <richard.yu@microsoft.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants