Permalink
Browse files

Merge branch 'master' of github.com:djs55/driver-domain-template

  • Loading branch information...
2 parents cdb07b5 + f7f31f9 commit 48964ef1f38ac1101f9e353972e5522c1997a208 David Scott committed Jun 23, 2012
Showing with 9 additions and 0 deletions.
  1. +6 −0 builder-post-install.sh
  2. +3 −0 make-initrd.sh
View
@@ -32,6 +32,12 @@ name=updates
baseurl=http://ely.uk.xensource.com/CentOS/\$releasever/updates/\$basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5
+
+# XCP-specific stuff
+[extra]
+name=extra
+baseurl=http://ely.uk.xensource.com/extra
+gpgcheck=0
EOT
yum clean all
View
@@ -21,6 +21,9 @@ if [ ! -x "${EXPAND_GLOB}" ]; then
exit 1
fi
+# Make sure the yum metadata cache exists
+yum makecache
+
FEBOOTSTRAP_OUTPUT=$(pwd)/$(mktemp -d febootstrap.XXXXXX)
echo "Using febootstrap to add \"$*\""
${FEBOOTSTRAP} --names $* -o ${FEBOOTSTRAP_OUTPUT}

0 comments on commit 48964ef

Please sign in to comment.