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

bc command not found error in DTS #1178

Open
m-iwanicki opened this issue Dec 16, 2024 · 7 comments
Open

bc command not found error in DTS #1178

m-iwanicki opened this issue Dec 16, 2024 · 7 comments
Labels
bug Something isn't working DasharoToolsSuite needs review novacustom_ns5x/7x_adl NovaCustom NS5x/7xPU (12th Gen) novacustom_ns5x/7x_tgl NovaCustom NS5x/7xMU (11th Gen)

Comments

@m-iwanicki
Copy link

m-iwanicki commented Dec 16, 2024

Component

Dasharo Tools Suite

Device

NovaCustom NS5x 11th Gen, other

Dasharo version

No response

Dasharo Tools Suite version

v2.1.0

Test case ID

No response

Brief summary

Missing command error shown during initial deployment

How reproducible

100%

How to reproduce

Try to install Dasharo on Intel platform

Expected behavior

No errors

Actual behavior

/usr/sbin/dts-functions.sh: line 1654: bc: command not found

Screenshots

No response

Additional context

This PR was closed Dasharo/meta-dts#139 (adds missing bc command) but this dts-scripts PR Dasharo/dts-scripts#15 was merged (uses bc command).
@PLangowski should we reverse those commits?

Solutions you've tried

No response

@m-iwanicki m-iwanicki added bug Something isn't working needs review labels Dec 16, 2024
@github-actions github-actions bot added DasharoToolsSuite novacustom_ns5x/7x_tgl NovaCustom NS5x/7xMU (11th Gen) novacustom_ns5x/7x_adl NovaCustom NS5x/7xPU (12th Gen) labels Dec 16, 2024
@PLangowski
Copy link

The checks don't really work like they're supposed to, as mentioned in #1129.
Perhaps for now we should get rid of those checks? @miczyg1 cc

@miczyg1
Copy link
Contributor

miczyg1 commented Dec 18, 2024

Well, they work as long as ME is visible and only for a subset of platforms. Older platforms have different FWSTS registers layout and the checks would have to be more specific for platforms. I guess we may just care about the platforms we support in DTS, which should make things a bit easier.

@m-iwanicki
Copy link
Author

As of now check_if_fused and check_if_boot_guard_enabled always returns false because of missing bc command.

@PLangowski
Copy link

Ok, we should then add bc back to DTS

@PLangowski
Copy link

Dasharo/meta-dts#209

@m-iwanicki
Copy link
Author

Older platforms have different FWSTS registers layout and the checks would have to be more specific for platforms. I guess we may just care about the platforms we support in DTS, which should make things a bit easier.

And do those checks work for all platforms we currently support?
Those questions will probably be asked again and again, because those checks are completely undocumented.

@PLangowski
Copy link

@m-iwanicki I think the error only appeared on Minnowboard, which we decided not to support.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working DasharoToolsSuite needs review novacustom_ns5x/7x_adl NovaCustom NS5x/7xPU (12th Gen) novacustom_ns5x/7x_tgl NovaCustom NS5x/7xMU (11th Gen)
Projects
None yet
Development

No branches or pull requests

3 participants