meta-agl-core-test: delete the layer of meta-agl-core-test
[AGL/meta-agl.git] / templates / machine / ebisu / 50_setup.sh
index c8471ae..188da6e 100644 (file)
@@ -1,7 +1,7 @@
 # setup proprietary gfx drivers and multimedia packages
 pushd $METADIR 2>/dev/null
 
-COPY_SCRIPT="$METADIR/bsp/meta-renesas-rcar-gen3/meta-rcar-gen3/docs/sample/copyscript/copy_proprietary_softwares.sh"
+COPY_SCRIPT="$METADIR/bsp/meta-renesas/meta-rcar-gen3/docs/sample/copyscript/copy_proprietary_softwares.sh"
 EXTRACT_DIR=$METADIR/binary-tmp
 #EBISU_BIN_PATH should contain the path where the .zip archive of E3 binaries is.
 #CUSTOM_RENESAS_CONFIG_SCRIPT should contain the custom script needed for setup. If not filled, do not failed, just warn.
@@ -19,9 +19,12 @@ fi
 if [ -f $COPY_SCRIPT ]; then
        # Extract the ZIP into the tmp directory
        mkdir -p $EXTRACT_DIR
-       unzip -q -o $EBISU_BIN_PATH/*.zip -d $EXTRACT_DIR
+       for PROPRIETARY_BIN in `ls -1 $EBISU_BIN_PATH/*.zip`
+       do
+               unzip -q -o $PROPRIETARY_BIN -d $EXTRACT_DIR
+       done
 
-       cd $METADIR/bsp/meta-renesas-rcar-gen3/
+       cd $METADIR/bsp/meta-renesas/
        $COPY_SCRIPT $EXTRACT_DIR
        cd ..