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

Resolve deployment issues with Ubuntu/Cloudimg builds + a custom kernel #176

Closed
wants to merge 1 commit into from

Conversation

alanbach
Copy link
Contributor

@alanbach alanbach commented Dec 6, 2023

Ubuntu/Cloudimg: Register and then install custom
kernels in-target at deployment time.

This fixes unbootable machines due to
missing kernel image and initrd in
/boot.

Closes: #175

kernels in-target at deployment time.

This fixes unbootable machines due to
missing kernel image and initrd in
/boot.

Closes: canonical#175
@alanbach
Copy link
Contributor Author

alanbach commented Dec 6, 2023

This has been tested with BIOS and UEFI deployments, with and without the kernel version variable.

@alexsander-souza
Copy link
Contributor

This PR moves steps that should be executed in build-time to deployment-time, and I don't think this is the best fix. The root cause of the issue is the introduction of a BLS-compatible /boot in newer Ubuntu releases, and the fix is to include this partition in the image. See #178

@alanbach
Copy link
Contributor Author

alanbach commented Dec 6, 2023

There is another PR addressing this issue in a much better way. Closing this one.

@alanbach alanbach closed this Dec 6, 2023
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.

Ubuntu: Building cloudimg images with custom kernel does not work
2 participants