From 4b9d3c542a191c2167b08b32f5cddb41040953c7 Mon Sep 17 00:00:00 2001 From: Ronan Le Martret Date: Fri, 12 May 2017 16:40:40 +0200 Subject: Update Renesas gen3 setup script for BSP 2.19. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * directly use the *.zip file, no need to untar any more. Bug-AGL: SPEC-605 Change-Id: I970c0f7a7d2eeae05f2a53fd9eca1e0a37916938 Signed-off-by: Ronan Le Martret Reviewed-on: https://gerrit.automotivelinux.org/gerrit/9373 Tested-by: Jenkins Job builder account Reviewed-by: Changhyeok Bae Reviewed-by: Stéphane Desneux Reviewed-by: Jan-Simon Moeller --- .../meta-rcar-gen3/scripts/setup_mm_packages.sh | 20 ++++++-------------- 1 file changed, 6 insertions(+), 14 deletions(-) diff --git a/meta-agl-bsp/meta-rcar-gen3/scripts/setup_mm_packages.sh b/meta-agl-bsp/meta-rcar-gen3/scripts/setup_mm_packages.sh index ee678d8c5..fc10889a9 100644 --- a/meta-agl-bsp/meta-rcar-gen3/scripts/setup_mm_packages.sh +++ b/meta-agl-bsp/meta-rcar-gen3/scripts/setup_mm_packages.sh @@ -1,7 +1,7 @@ #!/bin/bash -ZIP_1="R-Car_Gen3_Series_Evaluation_Software_Package_for_Linux-20170324.zip" -ZIP_2="R-Car_Gen3_Series_Evaluation_Software_Package_of_Linux_Drivers-20170324.zip" +ZIP_1="R-Car_Gen3_Series_Evaluation_Software_Package_for_Linux-20170427.zip" +ZIP_2="R-Car_Gen3_Series_Evaluation_Software_Package_of_Linux_Drivers-20170427.zip" COPY_SCRIPT="$METADIR/meta-renesas-rcar-gen3/meta-rcar-gen3/docs/sample/copyscript/copy_evaproprietary_softwares.sh" @@ -13,20 +13,12 @@ EXTRACT_DIR=$METADIR/binary-tmp function copy_mm_packages() { if [ -f $DOWNLOAD_DIR/$ZIP_1 -a -f $DOWNLOAD_DIR/$ZIP_2 ]; then mkdir -p $EXTRACT_DIR - unzip -n $DOWNLOAD_DIR/$ZIP_1 -d $EXTRACT_DIR - if [ $? -ne 0 ]; then - echo -e "ERROR: FILES \""+$DOWNLOAD_DIR/$ZIP_1+"\" NOT EXTRACTING CORRECTLY" - return 1 - fi - unzip -n $DOWNLOAD_DIR/$ZIP_2 -d $EXTRACT_DIR - if [ $? -ne 0 ]; then - echo -e "ERROR: FILES \""+$DOWNLOAD_DIR/$ZIP_2+"\" NOT EXTRACTING CORRECTLY" - return 1 - fi + cp --update $DOWNLOAD_DIR/$ZIP_1 $EXTRACT_DIR + cp --update $DOWNLOAD_DIR/$ZIP_2 $EXTRACT_DIR else echo -n "The graphics and multimedia acceleration packages for " - echo -e "the R-Car Gen3 board can be downloaded from:" - echo -e " " + echo -e "the R-Car Gen3 board BSP 2.19 can be downloaded from:" + echo -e " " echo -e echo -n "These 2 files from there should be stored in your" echo -e "'$DOWNLOAD_DIR' directory." -- cgit 1.2.3-korg