diff options
author | Vladimir Barinov <vladimir.barinov@cogentembedded.com> | 2017-03-22 02:01:50 +0300 |
---|---|---|
committer | Khiem Nguyen <khiem.nguyen.xt@renesas.com> | 2017-04-19 09:59:33 +0700 |
commit | 5277b94938805bf3b2a5ceb1efc55e4f7d9a0fd7 (patch) | |
tree | d1e223b5836cce61ffe59d25b960039e2b8855bd /meta-rcar-gen3/docs | |
parent | 39c23f7fecc60a03a2a3f558099e9f7e7fcbb7d0 (diff) |
rcar-gen3: copyscript: Modify ClickThrough copyscript for ZIP archive
This commit updates ClickThrough copyscript to work with ZIP archive,
which is downloaded directly from URL, instead of tarball.
Change-Id: Idb3de7922d2445d8efe7934b0b9b37796607c528
Signed-off-by: Vladimir Barinov <vladimir.barinov@cogentembedded.com>
Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com>
Diffstat (limited to 'meta-rcar-gen3/docs')
-rwxr-xr-x | meta-rcar-gen3/docs/sample/copyscript/copy_evaproprietary_softwares.sh | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/meta-rcar-gen3/docs/sample/copyscript/copy_evaproprietary_softwares.sh b/meta-rcar-gen3/docs/sample/copyscript/copy_evaproprietary_softwares.sh index 73b63c6..6096c5b 100755 --- a/meta-rcar-gen3/docs/sample/copyscript/copy_evaproprietary_softwares.sh +++ b/meta-rcar-gen3/docs/sample/copyscript/copy_evaproprietary_softwares.sh @@ -1281,17 +1281,20 @@ while [ $# -gt 0 ] ; do done #### 3) Checking ClickThrough present -if [ ! -f ${_src_full}/R-Car_Gen3_Series_Evaluation_Software_Package_for_Linux-*.tar.gz ]; then - echo "R-Car_Gen3_Series_Evaluation_Software_Package_for_Linux-*.tar.gz not found!" +if [ ! -f ${_src_full}/R-Car_Gen3_Series_Evaluation_Software_Package_for_Linux-*.zip ]; then + echo "R-Car_Gen3_Series_Evaluation_Software_Package_for_Linux-*.zip not found!" usage exit 1 fi -if [ ! -f ${_src_full}/R-Car_Gen3_Series_Evaluation_Software_Package_of_Linux_Drivers-*.tar.gz ]; then - echo "R-Car_Gen3_Series_Evaluation_Software_Package_of_Linux_Drivers-*.tar.gz not found!" +if [ ! -f ${_src_full}/R-Car_Gen3_Series_Evaluation_Software_Package_of_Linux_Drivers-*.zip ]; then + echo "R-Car_Gen3_Series_Evaluation_Software_Package_of_Linux_Drivers-*.zip not found!" usage exit 1 fi +unzip -d ${_src_full} -oq ${_src_full}/R-Car_Gen3_Series_Evaluation_Software_Package_for_Linux-*.zip +unzip -d ${_src_full} -oq ${_src_full}/R-Car_Gen3_Series_Evaluation_Software_Package_of_Linux_Drivers-*.zip + tar -C ${_src_full} -zxf ${_src_full}/R-Car_Gen3_Series_Evaluation_Software_Package_for_Linux-*.tar.gz --strip-components 2 tar -C ${_src_full} -zxf ${_src_full}/R-Car_Gen3_Series_Evaluation_Software_Package_of_Linux_Drivers-*.tar.gz --strip-components 2 |