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

Add host startup options support to Grapefruit #1984

Merged
merged 1 commit into from
Jan 21, 2025

Conversation

mkeeter
Copy link
Collaborator

@mkeeter mkeeter commented Jan 21, 2025

This is part of #1983

@mkeeter mkeeter requested a review from citrus-it January 21, 2025 16:06
@mkeeter mkeeter force-pushed the mkeeter/grapefruit-host-startup branch from 299fbd7 to 6f24f7b Compare January 21, 2025 16:08
// We have to do this because const fn.
let bits = HostStartupOptions::STARTUP_KMDB.bits()
| HostStartupOptions::STARTUP_PROM.bits()
| HostStartupOptions::STARTUP_VERBOSE.bits();
Copy link
Contributor

Choose a reason for hiding this comment

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

Can we have HostStartupOptions::STARTUP_BOOT_RAMDISK.bits() in this default set too please?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Right, you did ask for that in the initial issue! I guess we should also be building packrat with the boot-kmdb feature, to get this set of bits?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

(fixed in 8bbbda7)

Copy link
Contributor

Choose a reason for hiding this comment

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

Yes, I think for grapefruit we're not likely to want to have the same concept of a non-lab image (where the bits would default to 0), at least for now.

@mkeeter mkeeter force-pushed the mkeeter/grapefruit-host-startup branch from 6f24f7b to 8bbbda7 Compare January 21, 2025 16:33
Copy link
Contributor

@citrus-it citrus-it left a comment

Choose a reason for hiding this comment

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

Thanks!

@mkeeter mkeeter merged commit 6b8a7f8 into master Jan 21, 2025
125 checks passed
@mkeeter mkeeter deleted the mkeeter/grapefruit-host-startup branch January 21, 2025 18:06
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.

2 participants