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

rpm: build and package debug hypervisor #170

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

marmarek
Copy link
Member

Ease debugging by building a separate subpackage with debug hypervisor.
It's installed as xen-debug-(version).

QubesOS/qubes-issues#5989

Ease debugging by building a separate subpackage with debug hypervisor.
It's installed as xen-debug-(version).

QubesOS/qubes-issues#5989
@marmarek
Copy link
Member Author

marmarek commented Dec 4, 2023

The way currently grub.cfg is generated puts the debug version as the default one (xen-debug-4.17.2.gz sorts as newer than xen-4.17.2.gz). I don't like it. The question is what would be a better approach. Some options:

  • name it xen-0-debug-4.17.2.gz - it will make it non-default without changing grub config generator
  • adjust grub to sort debug one specifically at the end
  • adjust grub to put debug into separate section (might be an overkill, given rare need for this package)
  • something else?

Any opinions @HW42 @DemiMarie ?

@HW42
Copy link
Contributor

HW42 commented Dec 5, 2023

I think the options to adjust grub are the cleanest. Menu indeed likely overkill. xen-0-debug-... is ugly, but acceptable.

@DemiMarie
Copy link
Contributor

I would prefer for debugging to be a separate section. I agree that even if the debug hypervisor is installed, it should not be booted by default.

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