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

hypervisor: add ability to unpack hypervisor specialization package #53

Merged
merged 3 commits into from
Feb 12, 2025

Conversation

MofX
Copy link
Collaborator

@MofX MofX commented Feb 11, 2025

Changes

This allows automatic download and unpacking of a debian package with
the hypervisor specialization without any external tooling

Tests results

==============================================================================
Robot Tests                                                                   
==============================================================================
Robot Tests.Boot                                                              
==============================================================================
Kernel exists                                                         | PASS |
------------------------------------------------------------------------------
Config is OK                                                          | PASS |
------------------------------------------------------------------------------
Script was executed                                                   | PASS |
------------------------------------------------------------------------------
Robot Tests.Boot                                                      | PASS |
3 tests, 3 passed, 0 failed
==============================================================================
Robot Tests.Initrd                                                            
==============================================================================
Root Device is Mounted                                                | PASS |
------------------------------------------------------------------------------
Devices are Created                                                   | PASS |
------------------------------------------------------------------------------
Rootfs should be set up                                               | PASS |
------------------------------------------------------------------------------
File dummy.txt should be OK                                           | PASS |
------------------------------------------------------------------------------
File other.txt should be OK                                           | PASS |
------------------------------------------------------------------------------
Modules are installed                                                 | PASS |
------------------------------------------------------------------------------
Check modules loaded by init                                          | PASS |
------------------------------------------------------------------------------
Robot Tests.Initrd                                                    | PASS |
7 tests, 7 passed, 0 failed
==============================================================================
Robot Tests.Root                                                              
==============================================================================
Systemd should exist                                                  | PASS |
------------------------------------------------------------------------------
Fakeoot config executed                                               | PASS |
------------------------------------------------------------------------------
Fakechroot config was executed                                        | PASS |
------------------------------------------------------------------------------
Chroot config was executed                                            | PASS |
------------------------------------------------------------------------------
Robot Tests.Root                                                      | PASS |
4 tests, 4 passed, 0 failed
==============================================================================
Robot Tests                                                           | PASS |
14 tests, 14 passed, 0 failed
==============================================================================

Developer Checklist:

  • Test: Changes are tested
  • Git: Informative git commit message(s)

Reviewer checklist:

  • Review: Changes are reviewed
  • Review: Tested by the reviewer

@MofX MofX requested review from thir820 and simone-weiss February 11, 2025 08:16
Copy link
Collaborator

@simone-weiss simone-weiss left a comment

Choose a reason for hiding this comment

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

Ok, but we should also update the docs under https://elektrobit.github.io/ebcl_template/tools/hypervisor.html as the specialization is mentioned there.

ebcl/tools/hypervisor/config_gen.py Outdated Show resolved Hide resolved
ebcl/tools/hypervisor/config_gen.py Outdated Show resolved Hide resolved
@MofX
Copy link
Collaborator Author

MofX commented Feb 11, 2025

Thanks for the review

Ok, but we should also update the docs under https://elektrobit.github.io/ebcl_template/tools/hypervisor.html as the specialization is mentioned there.

Dokumentation of the whole tool is the next "big thing" planned. In the current state it is barely usable at all.

This allows automatic download and unpacking of a debin package with
the hypervisor specialization without any external tooling
@MofX MofX force-pushed the hypervisor_specialization_download branch from b674b72 to 59d00b9 Compare February 11, 2025 13:30
@MofX MofX requested a review from simone-weiss February 11, 2025 13:36
@MofX MofX merged commit 65c8379 into main Feb 12, 2025
1 check passed
@MofX MofX deleted the hypervisor_specialization_download branch February 12, 2025 06:09
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