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

[fwutil]: Use overlay driver when mounting next image filesystem #825

Merged
merged 2 commits into from
Mar 24, 2020

Conversation

nazariig
Copy link
Collaborator

This PR contains some improvements which are intended to fix a several corner cases when FW binaries and platform_components.json configuration file were not provided by user during SONiC image build.

In this case it is impossible to manually made any changes in configuration files or update binaries: fwutil will always use the original versions which exist in squashed filesystem.

- What I did

  • Updated the way fwutil mounts next image filesystem: squashfs -> overlay
  • Updated command line reference: current/next image update notes

- How I did it

  • N/A

- How to verify it

  1. Update FW binaries and platform_components.json
  2. Update platform FW using next image:
fwutil update --image=next

- Previous command output (if the output of a command-line utility has changed)

  • N/A

- New command output (if the output of a command-line utility has changed)

  • N/A

Signed-off-by: Nazarii Hnydyn <nazariig@mellanox.com>
Signed-off-by: Nazarii Hnydyn <nazariig@mellanox.com>
@nazariig
Copy link
Collaborator Author

@sujinmkang please have a look

@liat-grozovik liat-grozovik merged commit 668c116 into sonic-net:master Mar 24, 2020
abdosi pushed a commit that referenced this pull request Mar 24, 2020
* [fwutil]: Use overlay driver when mounting next image filesystem.

Signed-off-by: Nazarii Hnydyn <nazariig@mellanox.com>

* [fwutil]: Update command reference.

Signed-off-by: Nazarii Hnydyn <nazariig@mellanox.com>
abdosi pushed a commit to abdosi/sonic-utilities that referenced this pull request Aug 4, 2020
…ic-net#825)

* [fwutil]: Use overlay driver when mounting next image filesystem.

Signed-off-by: Nazarii Hnydyn <nazariig@mellanox.com>

* [fwutil]: Update command reference.

Signed-off-by: Nazarii Hnydyn <nazariig@mellanox.com>
stepanblyschak pushed a commit to stepanblyschak/sonic-utilities that referenced this pull request Apr 28, 2022
[fwutil]: Use overlay driver when mounting next image filesystem (sonic-net#825)
Fix for adding L3 interface to Vlan group (sonic-net#826)Fix for adding L3 interface to Vlan group (sonic-net#826)
[db_migrator]Do DB migration for buffer pool size change on Mellanox platform (sonic-net#833)
explicitly specify command with underscores (sonic-net#846)
[intfutil] set speed to 0 when interface speed is not available (sonic-net#839)
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.

5 participants