Tagging module dummynet_image - dummynet_image-1.0-5
[build.git] / modules.update
index 56e3a6c..fb8caa9 100755 (executable)
@@ -1,5 +1,9 @@
 #!/bin/bash
 
 # redirect this into modules.list to get it refreshed
-
-for tags in *tags*mk ; do make stage1=true PLDISTROTAGS=$tags module-tools ; done | sort -u
+#
+# we set DISTRONAME as this cannot be correctly guessed from the build box root context
+for distro in onelab planetlab ; do
+    tags=${distro}-tags.mk 
+    make stage1=true PLDISTRO=${distro} PLDISTROTAGS=${tags} DISTRONAME=centos5 module-tools 
+done | sort -u | grep -v '^build$'