Commit 5fb0d343 authored by Philippe Coval's avatar Philippe Coval Committed by Phil Coval

tizen: Remove extlibs git history for gbs export

Note this is executed just before gbs build,
to allow prepare scripts to use git if needed.

Note:
I noticed an old version of mbedtls is cached on jenkins.

Bug: https://jira.iotivity.org/browse/IOT-1745
Change-Id: I6d28421e2778ca5f6815a450678df3a8e08033e3
Signed-off-by: default avatarPhilippe Coval <philippe.coval@osg.samsung.com>
Origin: https://gerrit.iotivity.org/gerrit/#/c/20345/
Reviewed-on: https://gerrit.iotivity.org/gerrit/20345Tested-by: default avatarjenkins-iotivity <jenkins@iotivity.org>
Reviewed-by: default avatarJaehong Jo <jaehong.jo@samsung.com>
Reviewed-by: default avatarDave Thaler <dthaler@microsoft.com>
Reviewed-by: default avatarZiran Sun <ziran.sun@samsung.com>
parent e1fb8f8e
......@@ -27,7 +27,6 @@ cp -R ./examples $sourcedir/tmp
# tinycbor is available as soft-link, so copying with 'dereference' option.
cp -LR ./extlibs/tinycbor $sourcedir/tmp/extlibs
rm -rf $sourcedir/tmp/extlibs/tinycbor/tinycbor/.git
cp -R ./extlibs/cjson $sourcedir/tmp/extlibs
cp -R ./extlibs/mbedtls $sourcedir/tmp/extlibs
......@@ -76,7 +75,6 @@ do
done
gbscommand="${gbscommand} -B ~/GBS-ROOT-OIC --include-all --repository ./"
if [ $secured -eq 1 ];then
echo `pwd`
# Prepare mbedTLS dependency
......@@ -86,6 +84,9 @@ fi
# Prepare TinyCBOR dependency
$SHELL ./extlibs/tinycbor/prep.sh
# Remove modules history for gbs export (Applies to tinycbor, mbedtls...)
rm -rf ./extlibs/*/*/.git
# Initialize Git repositoryㅣ
if [ ! -d .git ]; then
git init ./
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment