[xen-tools-discuss] Re: Problems using Rinse with CentOS 5

From: Steve Kemp <steve_at_steve.org.uk>
Date: Fri, 25 Apr 2008 17:50:48 +0100
On Fri Apr 25, 2008 at 11:48:06 -0500, Nick Anderson wrote:

> Steve I have a patch that I almost have working for the postinstall 
> script.

  Great!

> Does the post install script get passed the arch? i need a way 
> to get x86_64 or i386 inside that script. If you have a suggestion I can 
> get this patch over to you.

  yes it does, via $ARCH.  For example you should see this in there
 already:

arch=i386
if [ $ARCH == "amd64" ] ; then
    arch=x86_64
fi


  (ie. $ARCH will be either i386 or amd64.  I know that most of the mirrors
 use x86_64 for the latter case..)

Steve
-- 
# Commercial Debian GNU/Linux Support
http://www.linux-administration.org/
Received on Fri Apr 25 2008 - 17:50:54 BST

Mailing list overview.