From: Mark Huang Date: Mon, 3 Apr 2006 19:40:23 +0000 (+0000) Subject: - use mkfedora X-Git-Tag: myplc-0_4-rc1~32 X-Git-Url: http://git.onelab.eu/?p=bootmanager.git;a=commitdiff_plain;h=5019ed42fbc721dbfc9abc3ac0f89bcaecf2bc4a - use mkfedora --- diff --git a/support-files/buildnode.sh b/support-files/buildnode.sh index 7fe18e3..53b18b7 100755 --- a/support-files/buildnode.sh +++ b/support-files/buildnode.sh @@ -1,147 +1,82 @@ #!/bin/bash # # Build PlanetLab-Bootstrap.tar.bz2, the reference image for PlanetLab -# nodes. Requires the web and boot servers to be up, which complicates -# bootstrap. Alternatively, we could require the build server to host -# a local yum repository. Already, it is required to run the same -# major version of yum as the nodes. +# nodes. # # Mark Huang -# Copyright (C) 2005 The Trustees of Princeton University +# Copyright (C) 2005-2006 The Trustees of Princeton University # -# $Id: buildnode.sh,v 1.4 2006/03/10 18:20:34 mlhuang Exp $ +# $Id: buildnode.sh,v 1.5 2006/03/21 14:57:29 mlhuang Exp $ # -# Get the production /etc/yum.conf file. XXX When MAs begin deploying -# their own boot servers and/or code, this will have to change. -curl --silent http://boot.planet-lab.org/$(curl --silent --insecure --form node_id=1 --form file=/etc/yum.conf https://boot.planet-lab.org/db/plnodeconf/getsinglefile.php) > yum.conf - -# Solve the bootstrap problem by including any just built packages in -# the yum configuration. This cooperates with the PlanetLab build -# system. -if [ -n "$RPM_BUILD_DIR" ] ; then - # Remove any [PlanetLab*] sections - sed -i -f - yum.conf <> yum.conf < $VROOT/etc/fstab < $VROOT/etc/rpm/macros <