summaryrefslogtreecommitdiffstats
path: root/meta-rcar-gen3
diff options
context:
space:
mode:
authorDuy Dang <duy.dang.yw@rvc.renesas.com>2018-10-16 13:59:47 +0700
committerDuy Dang <duy.dang.yw@rvc.renesas.com>2018-12-20 13:09:08 +0700
commit3362cc263b8bae72eea1734098b038cdc4fdd88d (patch)
treee143eb465743b0ded352dd8e5b21733beba71a30 /meta-rcar-gen3
parentdccf487bde165487eb21238ba2c3ad7af6d2d69a (diff)
rcar-gen3: copyscript: Add DVD Encryption Library package
This commit adds DVD Encryption Library to use with copy proprietary software script. Signed-off-by: Duy Dang <duy.dang.yw@rvc.renesas.com> Signed-off-by: Khang Nguyen <khang.nguyen.xw@renesas.com> Signed-off-by: Thuy Tran <thuy.tran.xh@renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com>
Diffstat (limited to 'meta-rcar-gen3')
-rwxr-xr-xmeta-rcar-gen3/docs/sample/copyscript/copy_proprietary_softwares.sh15
-rw-r--r--meta-rcar-gen3/docs/sample/copyscript/md5list.txt1
2 files changed, 12 insertions, 4 deletions
diff --git a/meta-rcar-gen3/docs/sample/copyscript/copy_proprietary_softwares.sh b/meta-rcar-gen3/docs/sample/copyscript/copy_proprietary_softwares.sh
index 7916652..2ce4148 100755
--- a/meta-rcar-gen3/docs/sample/copyscript/copy_proprietary_softwares.sh
+++ b/meta-rcar-gen3/docs/sample/copyscript/copy_proprietary_softwares.sh
@@ -100,7 +100,8 @@ _dtv_um_list="dtv_lib,RTM0RC0000TE020000SL41C,Software.tar.gz,RTM0RC0000TE020000
# dvd_list="<software_name>,<package_name>,<copy_file_name>,<MD5_name> \
# <software_name>,<package_name>,<copy_file_name>,<MD5_name> \
# <software_name>,<package_name>,<copy_file_name>,<MD5_name>"
-_dvd_list="dvd_lib,RTM0RC0000XDVDC301SL41C,Software.tar.gz"
+_dvd_list="dvd_lib,RTM0RC0000XDVDC301SL41C,Software.tar.gz \
+ dvd_encrypt_lib,RTM0RC0000XDVDF301SL41C,Software.tar.gz"
# CMS Library
# Please add CMS library to "_cms_list"
@@ -163,7 +164,8 @@ _UVCS_INST_DIR="../meta-rcar-gen3/recipes-kernel/kernel-module-uvcs/kernel-modul
_OMX_UM_INST_DIR="../meta-rcar-gen3/recipes-multimedia/omx-module/omx-user-module"
_DTV_KM_INST_DIR="../meta-rcar-gen3/recipes-kernel/kernel-module-dtv/files"
_DTV_UM_INST_DIR="../meta-rcar-gen3/recipes-multimedia/dtv-module/dtv-user-module"
-_DVD_UM_INST_DIR="../meta-rcar-gen3/recipes-multimedia/dvd-module/dvd-user-module"
+_DVD_UM_INST_DIR="../meta-rcar-gen3/recipes-multimedia/dvd-module/dvd-user-module \
+ ../meta-rcar-gen3/recipes-multimedia/dvd-module/dvd-encryption-module"
_CMS_UM_INST_DIR="../meta-rcar-gen3/recipes-multimedia/cms-module/cms-user-module"
_ADSP_KM_INST_DIR="../meta-rcar-gen3/recipes-kernel/kernel-module-adsp/xtensa-hifi"
_ADSP_UM_INST_DIR="../meta-rcar-gen3/recipes-multimedia/adsp-module/files"
@@ -1113,7 +1115,7 @@ func_dvd_lib()
echo "Copying for DVD Library Packages"
# MD5 check (rigid flag=TRUE)
- func_list_search_and_md5check "${_dvd_list}" "1"
+ func_list_search_and_md5check "${_dvd_list}"
if [ $? -eq 0 ]; then
# library not found.
echo ""
@@ -1121,8 +1123,13 @@ func_dvd_lib()
return
fi
+ index="1"
# install searched library
- func_list_search_and_install_wo_md5check "${_dvd_list}" "${_DVD_UM_INST_DIR}"
+ for i in ${_dvd_list}; do
+ install_dir=`echo ${_DVD_UM_INST_DIR} | cut -d " " -f ${index}`
+ func_list_search_and_install_wo_md5check ${i} ${install_dir}
+ index=`expr ${index} + 1`
+ done
echo ""
echo "DVD Package were found and copied."
diff --git a/meta-rcar-gen3/docs/sample/copyscript/md5list.txt b/meta-rcar-gen3/docs/sample/copyscript/md5list.txt
index c1cea0c..9fd385f 100644
--- a/meta-rcar-gen3/docs/sample/copyscript/md5list.txt
+++ b/meta-rcar-gen3/docs/sample/copyscript/md5list.txt
@@ -49,6 +49,7 @@ _MD5_RCG3T001L4101ZDO=""
_MD5_RTM0RC0000TE020000SL41C1=""
_MD5_RTM0RC0000TE020000SL41C2=""
_MD5_RTM0RC0000XDVDC301SL41C=""
+_MD5_RTM0RC0000XDVDF301SL41C=""
# CMS
_MD5_RTM0AC0000JRCMBCV0SL41C="7d9943cbd62af72229165c09ba986331"
_MD5_RTM0AC0000JRCMBLC0SL41C="29039f184168d6c647dedc5c74996f39"