Skip to content

setup scripts: install dmidecode before using it#15388

Merged
dagar merged 1 commit intomasterfrom
setup-dmidecode
Jul 21, 2020
Merged

setup scripts: install dmidecode before using it#15388
dagar merged 1 commit intomasterfrom
setup-dmidecode

Conversation

@MaEtUgR
Copy link
Copy Markdown
Member

@MaEtUgR MaEtUgR commented Jul 21, 2020

Describe problem solved by this pull request
On normal desktop distributions dmidecode is preinstalled and I was assuming it's part of the core tools. Thanks to a hint #15241 (comment) I found out it's not and am installing the package before using it.

Test data / coverage
I checked the package to be available and already installed on my systems on Manjaro and Ubuntu 20.04.

On normal desktop distributions dmidecode is preinstalled
and I was assuming it's part of the core tools. Thanks to a hint
#15241 (comment)
I found out it's not and am installing the package before using it.
@MaEtUgR MaEtUgR requested a review from julianoes July 21, 2020 07:14
@MaEtUgR MaEtUgR self-assigned this Jul 21, 2020
Copy link
Copy Markdown
Contributor

@julianoes julianoes left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That's ok. I would have just only done the check if dmidecode is available but up to you.

@dagar dagar merged commit aad7e88 into master Jul 21, 2020
@dagar dagar deleted the setup-dmidecode branch July 21, 2020 14:22
@MaEtUgR
Copy link
Copy Markdown
Member Author

MaEtUgR commented Jul 21, 2020

@julianoes I thought about that but if we're already addressing the problem the case where you have a VM with graphics but no dmidecode would stay broken. Not sure if this is achievable with some minimalistic distribution but that's why I added it.

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.

3 participants