invoke buildnode.sh with fedora core release argument
authorMarc Fiuczynski <mef@cs.princeton.edu>
Thu, 8 Mar 2007 17:52:34 +0000 (17:52 +0000)
committerMarc Fiuczynski <mef@cs.princeton.edu>
Thu, 8 Mar 2007 17:52:34 +0000 (17:52 +0000)
bootmanager.spec
support-files/Makefile

index b76ab5a..ee2320e 100644 (file)
@@ -32,7 +32,9 @@ nodes.
 pushd bootmanager
 
 ./build.sh
-make -C support-files
+pushd support-files
+./buildnode.sh -r $([ -f "/etc/fedora-release" ] && awk ' { print $4 } ' /etc/fedora-release || echo "4")
+popd
 
 popd
 
index d3fc80e..8d4a571 100644 (file)
@@ -7,13 +7,13 @@
 # Mark Huang <mlhuang@cs.princeton.edu>
 # Copyright (C) 2005 The Trustees of Princeton University
 #
-# $Id: Makefile,v 1.3 2005/09/02 20:24:58 mlhuang Exp $
+# $Id: Makefile,v 1.4 2006/08/20 21:21:13 thierry Exp $
 # 
 
 all:   PlanetLab-Bootstrap.tar.bz2
 
 PlanetLab-Bootstrap.tar.bz2:
-       ./buildnode.sh
+       ./buildnode.sh -r $$([ -f "/etc/fedora-release" ] && awk ' { print $4 } ' /etc/fedora-release || echo "4")
 
 clean:
        rm -f PlanetLab-Bootstrap.tar.bz2