From b389cd92e2ec0361a6a7d7244ca9c06c1ee46665 Mon Sep 17 00:00:00 2001 From: Patrick Williams Date: Wed, 15 Dec 2021 21:34:22 -0600 Subject: meta-phosphor: prefer https protocol A few recipes are specifying 'protocol=git' to the git-fetcher, which is already the default[1]. For github URLs, upstream Yocto / OE suggest that 'protocol=https' is used[2]. Switch any URL that has a protocol specified to be 'https' instead of 'git'. 1. https://docs.yoctoproject.org/bitbake/bitbake-user-manual/bitbake-user-manual-fetching.html#git-fetcher-git 2. https://lists.openembedded.org/g/openembedded-devel/message/94255 Signed-off-by: Patrick Williams Change-Id: Ibf1ab0fa2cb83c8cb9f4e535a0781f41e3b0dafe --- meta-phosphor/conf/distro/include/phosphor-base.inc | 2 +- meta-phosphor/recipes-phosphor/health/phosphor-health-monitor_git.bb | 2 +- meta-phosphor/recipes-phosphor/ipmi/phosphor-ipmi-ssif_git.bb | 2 +- meta-phosphor/recipes-phosphor/sel-logger/phosphor-sel-logger_git.bb | 2 +- meta-phosphor/recipes-phosphor/sensors/phosphor-nvme_git.bb | 2 +- meta-phosphor/recipes-phosphor/sensors/phosphor-virtual-sensor_git.bb | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) (limited to 'meta-phosphor') diff --git a/meta-phosphor/conf/distro/include/phosphor-base.inc b/meta-phosphor/conf/distro/include/phosphor-base.inc index 64f293cf03..1de312f196 100644 --- a/meta-phosphor/conf/distro/include/phosphor-base.inc +++ b/meta-phosphor/conf/distro/include/phosphor-base.inc @@ -32,7 +32,7 @@ https://.*/.* http://downloads.yoctoproject.org/mirror/sources/ \n" # The CONNECTIVITY_CHECK_URI's are used to test whether we can successfully # fetch from the network (and warn you if not). To disable the test set # the variable to be empty. -# Git example url: git://git.yoctoproject.org/yocto-firewall-test;protocol=git;rev=master +# Git example url: git://git.yoctoproject.org/yocto-firewall-test;protocol=https;rev=master CONNECTIVITY_CHECK_URIS ?= "https://www.example.com/" SANITY_TESTED_DISTROS ?= " \ diff --git a/meta-phosphor/recipes-phosphor/health/phosphor-health-monitor_git.bb b/meta-phosphor/recipes-phosphor/health/phosphor-health-monitor_git.bb index cf3f7ad12c..cdeba6516a 100644 --- a/meta-phosphor/recipes-phosphor/health/phosphor-health-monitor_git.bb +++ b/meta-phosphor/recipes-phosphor/health/phosphor-health-monitor_git.bb @@ -14,7 +14,7 @@ DEPENDS += "sdeventplus" DEPENDS += "phosphor-logging" DEPENDS += "nlohmann-json" -SRC_URI = "git://github.com/openbmc/phosphor-health-monitor.git;protocol=git" +SRC_URI = "git://github.com/openbmc/phosphor-health-monitor.git;protocol=https" SRCREV = "f5151879326e36880ddf2c46fe8c539ce721b0d6" S = "${WORKDIR}/git" diff --git a/meta-phosphor/recipes-phosphor/ipmi/phosphor-ipmi-ssif_git.bb b/meta-phosphor/recipes-phosphor/ipmi/phosphor-ipmi-ssif_git.bb index 73fea8ad43..a5459c88f4 100644 --- a/meta-phosphor/recipes-phosphor/ipmi/phosphor-ipmi-ssif_git.bb +++ b/meta-phosphor/recipes-phosphor/ipmi/phosphor-ipmi-ssif_git.bb @@ -20,6 +20,6 @@ DEPENDS += "sdbusplus" DEPENDS += "cli11" S = "${WORKDIR}/git" -SRC_URI = "git://github.com/openbmc/ssifbridge.git;protocol=git;branch=master" +SRC_URI = "git://github.com/openbmc/ssifbridge.git;protocol=https;branch=master" SRCREV= "2c2b8280584d05d16a4d0c180be8c3a6ee37aec2" diff --git a/meta-phosphor/recipes-phosphor/sel-logger/phosphor-sel-logger_git.bb b/meta-phosphor/recipes-phosphor/sel-logger/phosphor-sel-logger_git.bb index 6c10cb7c54..a80b3e7e8a 100644 --- a/meta-phosphor/recipes-phosphor/sel-logger/phosphor-sel-logger_git.bb +++ b/meta-phosphor/recipes-phosphor/sel-logger/phosphor-sel-logger_git.bb @@ -21,7 +21,7 @@ DEPENDS += " \ systemd \ " -SRC_URI = "git://github.com/openbmc/phosphor-sel-logger.git;protocol=git" +SRC_URI = "git://github.com/openbmc/phosphor-sel-logger.git;protocol=https" SRCREV = "87e3fcf439f2b943272365e1d294984f39bb52b8" PV = "0.1+git${SRCPV}" diff --git a/meta-phosphor/recipes-phosphor/sensors/phosphor-nvme_git.bb b/meta-phosphor/recipes-phosphor/sensors/phosphor-nvme_git.bb index 7928b2bcd2..d9749a6367 100644 --- a/meta-phosphor/recipes-phosphor/sensors/phosphor-nvme_git.bb +++ b/meta-phosphor/recipes-phosphor/sensors/phosphor-nvme_git.bb @@ -14,7 +14,7 @@ DEPENDS += "sdeventplus" DEPENDS += "phosphor-logging" DEPENDS += "nlohmann-json" -SRC_URI = "git://github.com/openbmc/phosphor-nvme.git;protocol=git" +SRC_URI = "git://github.com/openbmc/phosphor-nvme.git;protocol=https" SRCREV = "5022a4ee5cd4d3eaeabc4e991507e71b35b26a16" S = "${WORKDIR}/git" diff --git a/meta-phosphor/recipes-phosphor/sensors/phosphor-virtual-sensor_git.bb b/meta-phosphor/recipes-phosphor/sensors/phosphor-virtual-sensor_git.bb index 621f33673c..5465d70388 100644 --- a/meta-phosphor/recipes-phosphor/sensors/phosphor-virtual-sensor_git.bb +++ b/meta-phosphor/recipes-phosphor/sensors/phosphor-virtual-sensor_git.bb @@ -15,7 +15,7 @@ DEPENDS += "phosphor-logging" DEPENDS += "nlohmann-json" DEPENDS += "exprtk" -SRC_URI = "git://github.com/openbmc/phosphor-virtual-sensor.git;protocol=git" +SRC_URI = "git://github.com/openbmc/phosphor-virtual-sensor.git;protocol=https" SRCREV = "05b1d41788058cdf255ce1d46b2ff8041abf5656" S = "${WORKDIR}/git" -- cgit v1.2.3