Fix genesis build script

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10501 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
jbjohnso 2011-09-12 19:43:51 +00:00
parent 03ad33614e
commit a57c83cb8a

View File

@ -1,6 +1,6 @@
DIR=`dirname $0`
mkdir -p /usr/share/dracut/modules/97xcat
cp $DIR/* /usr/share/dracut/modules/97xcat
mkdir -p /usr/share/dracut/modules.d/97xcat
cp $DIR/* /usr/share/dracut/modules.d/97xcat
mkdir -p /tmp/xcatgenesis.$$/opt/xcat/share/xcat/netboot/genesis/`uname -m`/fs
dracut -m "xcat base" -f /tmp/xcatgenesis.$$.rfs
cd /tmp/xcatgenesis.$$/opt/xcat/share/xcat/netboot/genesis/`uname -m`/fs