Skip to content

Commit

Permalink
qemu: add MODULES_PATH
Browse files Browse the repository at this point in the history
When /lib is a symlink from /usr, the modules should be overlayed into
/usr/ instead of /.  This patch enables that.

Signed-off-by: Anders Roxell <[email protected]>
  • Loading branch information
roxell committed Apr 22, 2024
1 parent b86265f commit ff94201
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lava_test_plans/qemu.jinja2
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@
{% if MODULES_URL is defined %}
modules:
url: {{MODULES_URL}}
path: {{MODULES_PATH|default("/")}}
{% if MODULES_URL_FORMAT is defined %}
format: {{MODULES_URL_FORMAT}}
{% endif %}
Expand Down Expand Up @@ -107,7 +108,7 @@
{% if OVERLAY_MODULES_URL is defined %}
modules:
url: {{OVERLAY_MODULES_URL}}
path: /
path: {{OVERLAY_MODULES_PATH|default("/")}}
{% if OVERLAY_MODULES_URL_FORMAT is defined %}
format: {{OVERLAY_MODULES_URL_FORMAT}}
{% endif %}
Expand Down

0 comments on commit ff94201

Please sign in to comment.