smarter modules.update, was missing onelab-specific modules
[build.git] / modules.update
index 9668629..0f5a27b 100755 (executable)
@@ -3,4 +3,7 @@
 # redirect this into modules.list to get it refreshed
 #
 # we set DISTRONAME as this cannot be correctly guessed from the build box root context
-for tags in *tags.mk ; do make stage1=true PLDISTROTAGS=$tags DISTRONAME=f8 module-tools ; done | sort -u | grep -v '^build$'
+for distro in onelab planetlab ; do
+    tags=${distro}-tags.mk 
+    make stage1=true PLDISTRO=${distro} PLDISTROTAGS=${tags} DISTRONAME=f8 module-tools 
+done | sort -u | grep -v '^build$'