Skip to content

[firsttime boot] suppress error message on platforms not supporting k…#9521

Merged
yxieca merged 1 commit intosonic-net:masterfrom
dflynn-Nokia:firstime-boot
Jan 21, 2022
Merged

[firsttime boot] suppress error message on platforms not supporting k…#9521
yxieca merged 1 commit intosonic-net:masterfrom
dflynn-Nokia:firstime-boot

Conversation

@dflynn-Nokia
Copy link
Copy Markdown
Contributor

@dflynn-Nokia dflynn-Nokia commented Dec 13, 2021

…dump

Why I did it

Eliminate benign firsttime boot error reported when running on platforms that do not support kdump.

How I did it

Change rc.local to check for presence of the file /etc/default/kdump-tools before referencing it.

How to verify it

Install a new image on an armhf or arm64 platform and check for a failed reference to /etc/default/kdump-tools on firsttime boot.

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

  • 201811
  • 201911
  • [] 202006
  • 202012
  • 202106
  • 202111

Description for the changelog

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

@dflynn-Nokia
Copy link
Copy Markdown
Contributor Author

@yxieca This is the one-line change I mentioned in our meeting this morning.
Can you help review this?

Thanks

@yxieca yxieca merged commit b6939b9 into sonic-net:master Jan 21, 2022
yxieca pushed a commit that referenced this pull request Jan 21, 2022
…dump (#9521)

Why I did it
Eliminate benign firsttime boot error reported when running on platforms that do not support kdump.

How I did it
Change rc.local to check for presence of the file /etc/default/kdump-tools before referencing it.

How to verify it
Install a new image on an armhf or arm64 platform and check for a failed reference to /etc/default/kdump-tools on firsttime boot.
judyjoseph pushed a commit that referenced this pull request Jan 23, 2022
…dump (#9521)

Why I did it
Eliminate benign firsttime boot error reported when running on platforms that do not support kdump.

How I did it
Change rc.local to check for presence of the file /etc/default/kdump-tools before referencing it.

How to verify it
Install a new image on an armhf or arm64 platform and check for a failed reference to /etc/default/kdump-tools on firsttime boot.
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.

3 participants