Skip to content
Snippets Groups Projects
Commit 0983aa9c authored by Nadav Har'El's avatar Nadav Har'El Committed by Pekka Enberg
Browse files

build system: no need for trivial images/* files


Until now, whenever we added a new module in apps.git, e.g., apps/tomcat,
we also had to add a file images/tomcat.py in osv.git, so that
"make image=tomcat" would work.

This patch makes it unnecessary to have a images/tomcat.py - when one does
"make image=tomcat" and images/tomcat.py is absent, we try to build an
image containing the single module tomcat and its dependencies (which
is defined as usual in apps/modules.json and apps/*/module.py).

Non-default images, which contain more than one unrelated modules (e.g., both
mgmt and tests) can still be defined in files in images/).

Reviewed-by: default avatarTomasz Grabiec <tgrabiec@gmail.com>
Signed-off-by: default avatarNadav Har'El <nyh@cloudius-systems.com>
Signed-off-by: default avatarPekka Enberg <penberg@cloudius-systems.com>
parent 277e3f20
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment