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

How to add packages in image tested by LAVA #39

Open
montjoie opened this issue Apr 2, 2021 · 0 comments
Open

How to add packages in image tested by LAVA #39

montjoie opened this issue Apr 2, 2021 · 0 comments
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@montjoie
Copy link
Contributor

montjoie commented Apr 2, 2021

We boot a modified stage3 rootfs in LAVA.
But for the moment, appart adding modules, we modify only minor things (password, serial, etc..).

But some tests (LUKS for example) will need packages to be added to roofs.
Adding or compiling them in the postprocessing docker is impossible (for non-x86).

So the solution is to add only portage tree and binary packages ready to be added at run time.

Constraints:

  • We cannot use a shared volume, LAVA and build are on different host
  • We cannot use network filesystem (kernel could not support or need more package for it)

proposition 1:
For compiling them, we could use the "qemu-user native" gentoo docker already running for generating libelf, bc for kernel compilation.
They will periodically generate binary package necessary for tests in a volume dedicated for binary package.
This volum will be hosted in a web server
So we will need to use a pkgbin web server.

@aliceinwire aliceinwire added enhancement New feature or request good first issue Good for newcomers labels Sep 7, 2021
@aliceinwire aliceinwire moved this from Todo to In Progress in GKernelCI issue system Aug 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
Status: In Progress
Development

No branches or pull requests

2 participants