diff options
author | Pierre-Jean Texier <texier.pj2@gmail.com> | 2021-11-03 22:10:20 +0100 |
---|---|---|
committer | Pierre-Jean Texier <texier.pj2@gmail.com> | 2021-11-03 22:27:01 +0100 |
commit | bef00d6e4f25b4a9d3272e0d69db7545590ed204 (patch) | |
tree | 93ee6b4fb459a7719aae1f3010d8c5d65be3e2b2 /recipes-support | |
parent | 16e922408678425a492bd109350cd217a0841280 (diff) | |
download | meta-freescale-bef00d6e4f25b4a9d3272e0d69db7545590ed204.tar.gz |
recipes: use https protocol and add explicit branch parameter
Due to https://github.blog/2021-09-01-improving-git-protocol-security-github/#no-more-unauthenticated-git
it is required to use https protocol for github repo accessing.
Update created with oe-core/scripts/contrib/convert-srcuri.py (see [0])
Fixes:
WARNING: /work/meta-freescale/recipes-bsp/u-boot/u-boot-fslc-mxsboot_2021.07.bb: URL: git://github.com/Freescale/u-boot-fslc.git;branch=2021.07+fslc uses git protocol which is no longer supported by github. Please change to ;protocol=https in the url.
[0] - https://git.openembedded.org/openembedded-core/tree/scripts/contrib/convert-srcuri.py
Signed-off-by: Pierre-Jean Texier <texier.pj2@gmail.com>
Diffstat (limited to 'recipes-support')
-rw-r--r-- | recipes-support/opencv/opencv_4.5.2.imx.bb | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/recipes-support/opencv/opencv_4.5.2.imx.bb b/recipes-support/opencv/opencv_4.5.2.imx.bb index 8e76783a..8bb492ba 100644 --- a/recipes-support/opencv/opencv_4.5.2.imx.bb +++ b/recipes-support/opencv/opencv_4.5.2.imx.bb | |||
@@ -44,13 +44,13 @@ IPP_FILENAME = "${@ipp_filename(d)}" | |||
44 | IPP_MD5 = "${@ipp_md5sum(d)}" | 44 | IPP_MD5 = "${@ipp_md5sum(d)}" |
45 | 45 | ||
46 | SRCREV_FORMAT = "opencv_contrib_ipp_boostdesc_vgg" | 46 | SRCREV_FORMAT = "opencv_contrib_ipp_boostdesc_vgg" |
47 | SRC_URI = "git://github.com/opencv/opencv.git;name=opencv \ | 47 | SRC_URI = "git://github.com/opencv/opencv.git;name=opencv;branch=master;protocol=https \ |
48 | git://github.com/opencv/opencv_contrib.git;destsuffix=contrib;name=contrib \ | 48 | git://github.com/opencv/opencv_contrib.git;destsuffix=contrib;name=contrib;branch=master;protocol=https \ |
49 | git://github.com/opencv/opencv_3rdparty.git;branch=ippicv/master_20191018;destsuffix=ipp;name=ipp \ | 49 | git://github.com/opencv/opencv_3rdparty.git;branch=ippicv/master_20191018;destsuffix=ipp;name=ipp;protocol=https \ |
50 | git://github.com/opencv/opencv_3rdparty.git;branch=contrib_xfeatures2d_boostdesc_20161012;destsuffix=boostdesc;name=boostdesc \ | 50 | git://github.com/opencv/opencv_3rdparty.git;branch=contrib_xfeatures2d_boostdesc_20161012;destsuffix=boostdesc;name=boostdesc;protocol=https \ |
51 | git://github.com/opencv/opencv_3rdparty.git;branch=contrib_xfeatures2d_vgg_20160317;destsuffix=vgg;name=vgg \ | 51 | git://github.com/opencv/opencv_3rdparty.git;branch=contrib_xfeatures2d_vgg_20160317;destsuffix=vgg;name=vgg;protocol=https \ |
52 | git://github.com/opencv/opencv_3rdparty.git;branch=contrib_face_alignment_20170818;destsuffix=face;name=face \ | 52 | git://github.com/opencv/opencv_3rdparty.git;branch=contrib_face_alignment_20170818;destsuffix=face;name=face;protocol=https \ |
53 | git://github.com/WeChatCV/opencv_3rdparty.git;branch=wechat_qrcode;destsuffix=wechat_qrcode;name=wechat-qrcode \ | 53 | git://github.com/WeChatCV/opencv_3rdparty.git;branch=wechat_qrcode;destsuffix=wechat_qrcode;name=wechat-qrcode;protocol=https \ |
54 | file://0001-3rdparty-ippicv-Use-pre-downloaded-ipp.patch \ | 54 | file://0001-3rdparty-ippicv-Use-pre-downloaded-ipp.patch \ |
55 | file://0003-To-fix-errors-as-following.patch \ | 55 | file://0003-To-fix-errors-as-following.patch \ |
56 | file://0001-Temporarliy-work-around-deprecated-ffmpeg-RAW-functi.patch \ | 56 | file://0001-Temporarliy-work-around-deprecated-ffmpeg-RAW-functi.patch \ |
@@ -243,15 +243,15 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57" | |||
243 | 243 | ||
244 | # Replace the opencv URL with the fork | 244 | # Replace the opencv URL with the fork |
245 | SRCREV_opencv = "5423d53ae0d116ee5bbe52f8b5503f0cd8586998" | 245 | SRCREV_opencv = "5423d53ae0d116ee5bbe52f8b5503f0cd8586998" |
246 | OPENCV_SRC ?= "git://source.codeaurora.org/external/imx/opencv-imx.git;protocol=https" | 246 | OPENCV_SRC ?= "git://source.codeaurora.org/external/imx/opencv-imx.git;protocol=https;branch=master" |
247 | SRCBRANCH = "4.5.2_imx" | 247 | SRCBRANCH = "4.5.2_imx" |
248 | SRC_URI:remove = "git://github.com/opencv/opencv.git;name=opencv" | 248 | SRC_URI:remove = "git://github.com/opencv/opencv.git;name=opencv;branch=master;protocol=https" |
249 | SRC_URI =+ "${OPENCV_SRC};branch=${SRCBRANCH};name=opencv" | 249 | SRC_URI =+ "${OPENCV_SRC};branch=${SRCBRANCH};name=opencv" |
250 | 250 | ||
251 | # Add opencv_extra | 251 | # Add opencv_extra |
252 | SRCREV_extra = "855c4528402e563283f86f28c6393f57eb5dcf62" | 252 | SRCREV_extra = "855c4528402e563283f86f28c6393f57eb5dcf62" |
253 | SRC_URI += " \ | 253 | SRC_URI += " \ |
254 | git://github.com/opencv/opencv_extra.git;destsuffix=extra;name=extra \ | 254 | git://github.com/opencv/opencv_extra.git;destsuffix=extra;name=extra;branch=master;protocol=https \ |
255 | file://0001-Add-smaller-version-of-download_models.py.patch;patchdir=../extra \ | 255 | file://0001-Add-smaller-version-of-download_models.py.patch;patchdir=../extra \ |
256 | " | 256 | " |
257 | SRCREV_FORMAT:append = "_extra" | 257 | SRCREV_FORMAT:append = "_extra" |