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

dom0_kernel_installer: fix make install failure #2927

Merged
merged 1 commit into from
Aug 30, 2023

Conversation

anirudhrb
Copy link
Contributor

The /sbin/installkernel script in Mariner expects /boot/mariner.cfg to be present. However, in dom0 (which uses its own derivative of Mariner) this file doesn't exist because it is not needed by dom0 boot.

Due to the missing /boot/mariner.cfg, the installkernel script fails and in turn, the make install command fails while installing a new kernel.

To make the installkernel script happy, create an empty mariner.cfg file. This has no functional impact on dom0 boot configuration since it doesn't use that file at all.

The /sbin/installkernel script in Mariner expects /boot/mariner.cfg to
be present. However, in dom0 (which uses its own derivative of Mariner)
this file doesn't exist because it is not needed by dom0 boot.

Due to the missing /boot/mariner.cfg, the installkernel script fails and
in turn, the `make install` command fails while installing a new kernel.

To make the installkernel script happy, create an empty mariner.cfg
file. This has no functional impact on dom0 boot configuration since it
doesn't use that file at all.

Signed-off-by: Anirudh Rayabharam <anrayabh@linux.microsoft.com>
@squirrelsc squirrelsc merged commit f4c7c3f into microsoft:main Aug 30, 2023
23 checks passed
@anirudhrb anirudhrb deleted the fix_dom0_kernel_installer branch December 22, 2023 05:18
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