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

[Marvell-armhf] Fixing issues related to partition label #10203

Merged
merged 2 commits into from
Mar 24, 2022
Merged

[Marvell-armhf] Fixing issues related to partition label #10203

merged 2 commits into from
Mar 24, 2022

Conversation

pavannaregundi
Copy link
Contributor

Why I did it

  1. Removing incorrect check in plt setup for fw_env config: This check was added before to compare 2 different types of disk. Now the check is redundant and check is not required as transition is complete.

2)Removing legacy_volume_label in create_partition: legacy_volume_label is not used in armhf install files. With legacy_volume_label initialized to NULL, current code will always return true for check, if demo_part exits.

How I did it

Change is about removing the redundant/incorrect code explained above.

How to verify it

  1. uboot fw_printenv and fw_setenv is tested
  2. onie-nos-install has be verified.

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

  • 201811
  • 201911
  • 202006
  • 202012
  • 202106
  • 202111

Description for the changelog

Marvell-armhf: Fixing issues related to partition label

Link to config_db schema for YANG module changes

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

Change-Id: Icd5a867d22fa3e5e72ac1597f3e73430e8ca2675
Signed-off-by: Pavan Naregundi <pnaregundi@marvell.com>
Change-Id: Ieb3e9c8821172c90e606b1209b2cef23a2dce271
Signed-off-by: Pavan Naregundi <pnaregundi@marvell.com>
@ghost
Copy link

ghost commented Mar 10, 2022

CLA assistant check
All CLA requirements met.

@Blueve Blueve added the Request for 202111 Branch For PRs being requested for 202111 branch label Mar 10, 2022
@radha-danda
Copy link

@yxieca, some checks are failed but seems not related to the change from the PR. Can you please retrigger the tests and have this PR merged? Thank you.

@radha-danda
Copy link

Thanks @yxieca. All checks are passed now. Can this PR be merged now please?

@yxieca yxieca merged commit 97c0207 into sonic-net:master Mar 24, 2022
qiluo-msft pushed a commit that referenced this pull request Mar 25, 2022
Why I did it
Removing incorrect check in plt setup for fw_env config: This check was added before to compare 2 different types of disk. Now the check is redundant and check is not required as transition is complete.
2)Removing legacy_volume_label in create_partition: legacy_volume_label is not used in armhf install files. With legacy_volume_label initialized to NULL, current code will always return true for check, if demo_part exits.

How I did it
Change is about removing the redundant/incorrect code explained above.

How to verify it
uboot fw_printenv and fw_setenv is tested
onie-nos-install has be verified.

Signed-off-by: Pavan Naregundi <pnaregundi@marvell.com>
judyjoseph pushed a commit that referenced this pull request Mar 28, 2022
Why I did it
Removing incorrect check in plt setup for fw_env config: This check was added before to compare 2 different types of disk. Now the check is redundant and check is not required as transition is complete.
2)Removing legacy_volume_label in create_partition: legacy_volume_label is not used in armhf install files. With legacy_volume_label initialized to NULL, current code will always return true for check, if demo_part exits.

How I did it
Change is about removing the redundant/incorrect code explained above.

How to verify it
uboot fw_printenv and fw_setenv is tested
onie-nos-install has be verified.

Signed-off-by: Pavan Naregundi <pnaregundi@marvell.com>
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.

6 participants