refine strategy to spot ip address, keep on calling guest_ipv4
[build.git] / modules.update
index fb8caa9..fc3c448 100755 (executable)
@@ -2,8 +2,14 @@
 
 # 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 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$'
+
+# run on several distros as we filter out duplicates anyways
+# centos5 has more of our modules, but skips sfa
+fcdistros="f14 f16"
+
+( for fcdistro in $fcdistros; do 
+    make stage1=true PLDISTRO=onelab PLDISTROTAGS=onelab-tags.mk DISTRONAME=${fcdistro} module-tools ;
+    make stage1=true PLDISTRO=lxc PLDISTROTAGS=lxc-tags.mk DISTRONAME=${fcdistro} module-tools ;
+  done 2>/dev/null ;
+  echo tests
+) | sort -uf | grep -v '^build$'