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

support minimal (Linux) and full (Linux + Xen) imgs at the same time #49

Merged
merged 4 commits into from
Nov 6, 2024

Conversation

macpijan
Copy link
Collaborator

@macpijan macpijan commented Oct 31, 2024

support minimal (Linux) and full (Linux + Xen) imgs at the same time

Should fix: #44

Renamed the images to better match their content/usage to name than
before.

Udpdated documentation to reflect the actual content of the layer.

For development, it's recommended to use the -full image.

The -minimal image might still be useful later on, for demonstration
purposes, or perhaps for Linux upstreaming process as well.

xen recipes must be moved to dynamic-layers, to allow for building
without meta-virtualization enabled.

@macpijan
Copy link
Collaborator Author

Both images built for me.

Still need testing on HW.

Should fix: #44

Renamed the images to better match their content/usage to name than
before.

Udpdated documentation to reflect the actual content of the layer.

For development, it's recommended to use the -full image.

The -minimal image might still be useful later on, for demonstration
purposes, or perhaps for Linux upstreaming process as well.

xen recipes must be moved to dynamic-layers, to allow for building
without meta-virtualization enabled.

Signed-off-by: Maciej Pijanowski <maciej.pijanowski@3mdeb.com>
Copy link
Contributor

@SergiiDmytruk SergiiDmytruk left a comment

Choose a reason for hiding this comment

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

Linux in the full image worked fine on hardware with and without DRTM. The minimal image somehow failed to do DRTM. Not sure why given the identical GRUB configuration for Linux. Maybe something went wrong on my end. Worth testing it.

README.md Show resolved Hide resolved
README.md Show resolved Hide resolved
@krystian-hebel
Copy link

On UEFI I'm getting:

error: can't find command `echo'.

instead of the normal output of echo. This was the case with previous version as well.

Builtin modules used in legacy build:
https://github.com/zarhus/poky/blob/wic-plugin-pcbios-grub/scripts/lib/wic/plugins/source/bootimg-pcbios.py#L39

Modules: vga, biosdisk have not been present in the EFI build
and could not be included.

Signed-off-by: Maciej Pijanowski <maciej.pijanowski@3mdeb.com>
@macpijan
Copy link
Collaborator Author

macpijan commented Nov 4, 2024

error: can't find command `echo'.

I can imagine 543a022 might help here (not tested yet)

@macpijan
Copy link
Collaborator Author

macpijan commented Nov 6, 2024

I got an offline confirmation from @krystian-hebel that this has worked on HW, so I will go ahead and merge it if I manage to resolve the remaining suggestions.

Signed-off-by: Maciej Pijanowski <maciej.pijanowski@3mdeb.com>
Signed-off-by: Maciej Pijanowski <maciej.pijanowski@3mdeb.com>
@macpijan macpijan merged commit d384869 into master Nov 6, 2024
1 check passed
@macpijan macpijan deleted the images-fixes branch November 6, 2024 18:49
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.

kas-generic-tb.yml build is broken
3 participants