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.

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

Change-Id: I6d28421e2778ca5f6815a450678df3a8e08033e3
Signed-off-by: default avatarPhilippe Coval <>
Reviewed-on: default avatarjenkins-iotivity <>
Reviewed-by: default avatarJaehong Jo <>
Reviewed-by: default avatarDave Thaler <>
Reviewed-by: default avatarZiran Sun <>
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
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/
# 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