Skip to content
Browse files

Make sure the yum cache exists

  • Loading branch information...
1 parent c4b92fe commit f7f31f9d55ad9014f85fec0a8f0eb8afe304793c David Scott committed
Showing with 3 additions and 0 deletions.
  1. +3 −0 make-initrd.sh
View
3 make-initrd.sh
@@ -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 f7f31f9

Please sign in to comment.
Something went wrong with that request. Please try again.