action #67468
openAdd the possibility to apply rootfs overlays on qcow2/raw images
0%
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.
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)
Updated by okurz over 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
Updated by ggardet_arm over 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
.
Updated by okurz over 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.