Project

General

Profile

Actions

action #67468

open

Add the possibility to apply rootfs overlays on qcow2/raw images

Added by ggardet_arm over 4 years ago. Updated about 4 years ago.

Status:
New
Priority:
Low
Assignee:
-
Category:
Feature requests
Target version:
Start date:
2020-05-29
Due date:
% Done:

0%

Estimated time:

Description

It would be great to have the possibility to apply rootfs overlays on qcow2/raw images.

For example, this would allow to apply a wlan0 config (on generalhw backend) for systems without Ethernet, but with WiFi, such as the Hikey960.

Actions #1

Updated by ggardet_arm over 4 years ago

  • Subject changed from Add the possibility to apply overlays on qcow2/raw images to Add the possibility to apply rootfs overlays on qcow2/raw images
  • Description updated (diff)
Actions #2

Updated by okurz about 4 years ago

  • Priority changed from Normal to Low
  • Target version set to future

Hm, where would you rootfs come from? Maybe you could provide a proof-of-concept how you would create or where to get the rootfs from? In principle test code can run arbitrary code so you could merge the content from a rootfs overlay into the fs of a mounted qcow image and use that one for further tests

Actions #3

Updated by ggardet_arm about 4 years ago

The rootfs could be an archive pointed by HDD_1_OVERLAY0 var and statically stored in fixed/ asset folder or downloaded from HDD_1_OVERLAY0_URL.

Actions #4

Updated by okurz about 4 years ago

I see. So is the important point for you that multiple rootfs overlays can be stored as openQA assets with different configuration and parameterized so that one can combine them within test configurations?

Again, currently I don't see any issue that should block that from openQA or os-autoinst point of view. Custom assets can be provided to tests (not only "iso" or "hdd"), see http://open.qa/docs/#_asset_handling . Given that one could follow #67468#note-2 to apply the overlay within the test flow.

Actions

Also available in: Atom PDF