Skip to content

Commit

Permalink
make-initrd.sh now works.
Browse files Browse the repository at this point in the history
  • Loading branch information
David Scott committed May 16, 2012
1 parent bd20a1e commit 0f5a14b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions make-initrd.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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.