build: switch to vanilla copy to avoid "origin/" woes

This commit is contained in:
Franco Fichtner 2015-08-05 08:58:23 +02:00
parent 2dd7845ad0
commit 613a63a5a1
2 changed files with 3 additions and 2 deletions

View File

@ -205,7 +205,8 @@ setup_copy()
echo ">>> Setting up ${2} copy in ${1}"
# in case we want to clobber HEAD
git clone ${2} ${1}${2}
mkdir -p $(dirname ${1}${2})
cp -r ${2} ${1}${2}
}
setup_chroot()

View File

@ -45,7 +45,7 @@ extract_packages ${STAGEDIR}
for CORE_TAG in ${CORE_TAGS}; do
if [ -n "${*}" ]; then
git_update ${STAGEDIR}${COREDIR} ${CORE_TAG}
git_checkout ${STAGEDIR}${COREDIR} ${CORE_TAG}
fi
CORE_NAME=$(make -C ${STAGEDIR}${COREDIR} name)
CORE_DEPS=$(make -C ${STAGEDIR}${COREDIR} depends)