Project

General

Profile

action #67468

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

Added by ggardet_arm about 1 year ago. Updated about 1 year ago.

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

0%

Estimated time:
Difficulty:

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.

History

#1 Updated by ggardet_arm about 1 year 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)

#2 Updated by okurz about 1 year 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

#3 Updated by ggardet_arm about 1 year 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.

#4 Updated by okurz about 1 year 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.

Also available in: Atom PDF