Permalink
Browse files

make-initrd.sh now works.

  • Loading branch information...
1 parent bd20a1e commit 0f5a14bf03231b783beaeed027fb451d66c4ed3c David Scott committed May 16, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 make-initrd.sh
View
@@ -21,7 +21,7 @@ if [ ! -x "${EXPAND_GLOB}" ]; then
exit 1
fi
-FEBOOTSTRAP_OUTPUT=$(mktemp -d febootstrap.XXXXXX)
+FEBOOTSTRAP_OUTPUT=$(pwd)/$(mktemp -d febootstrap.XXXXXX)
echo "Using febootstrap to add \"$*\" (and \"bash\" for debugging)"
${FEBOOTSTRAP} --names bash $* -o ${FEBOOTSTRAP_OUTPUT}
ROOT=${FEBOOTSTRAP_OUTPUT}/root
@@ -43,4 +43,4 @@ OUTPUT=$(pwd)/initrd
echo Repacking into ${OUTPUT}
(cd ${ROOT}; find . | cpio -o -Hnewc | gzip -9c > ${OUTPUT})
echo Cleaning up
-rm -rf ${ROOT}
+rm -rf ${FEBOOTSTRAP_OUTPUT}

0 comments on commit 0f5a14b

Please sign in to comment.