From: Mark Huang <mlhuang@cs.princeton.edu>
Date: Fri, 10 Mar 2006 18:20:34 +0000 (+0000)
Subject: - run yum-arch on Bootstrap RPMS directory before using
X-Git-Tag: planetlab-3_3-branch-point~2
X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=e68eff749575e7cec6f8f06a74f1de6ca993cd45;p=vserver-reference.git

- run yum-arch on Bootstrap RPMS directory before using
---

diff --git a/build.sh b/build.sh
index 1305756..f7db0c9 100755
--- a/build.sh
+++ b/build.sh
@@ -8,7 +8,7 @@
 # Mark Huang <mlhuang@cs.princeton.edu>
 # Copyright (C) 2004-2005 The Trustees of Princeton University
 #
-# $Id: build.sh,v 1.1 2005/09/03 21:44:16 mlhuang Exp $
+# $Id: build.sh,v 1.2 2005/10/01 18:20:08 mlhuang Exp $
 #
 
 # Get the production /etc/yum.conf file. XXX When MAs begin deploying
@@ -33,6 +33,7 @@ d
 EOF
 
     # And replace them with a section for the RPMS that were just built
+    yum-arch $(dirname $RPM_BUILD_DIR)/RPMS
     cat >> yum.conf <<EOF
 [Bootstrap]
 name=Bootstrap RPMS -- $(dirname $RPM_BUILD_DIR)/RPMS/