build: switch to vanilla copy to avoid "origin/" woes
This commit is contained in:
parent
2dd7845ad0
commit
613a63a5a1
|
@ -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()
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue