From 8c544a25cc9824d80bd30ca2d995886821e2937d Mon Sep 17 00:00:00 2001 From: Martin Jansa Date: Thu, 21 Jan 2021 05:24:18 -0800 Subject: [PATCH] iotedge-{cli,daemon}: use static SRCREV instead of AUTOREV * using AUTOREV in public layers is wrong, forces bitbake to always run git ls-remote just to parse the recipe and breaks reproducibility (as newer SRCREV could cause whole build to fail even without any changes in metadata) * for hyperlocal-windows, tokio-uds-windows the latest commit currently matches with v0.1.0 mio-uds-windows is one commit ahead of v0.1.0: hyperlocal-windows$ git log --oneline | head 2bd432b v0.1.0 c2a9ea2 Initial commit f1eab0c Initial commit 866dd9f Initial commit tokio-uds-windows$ git log --oneline | head b689a91 v0.1.0 b317f75 Initial commit 7578e01 Initial commit c1bad3b Initial commit mio-uds-windows$ git log --oneline | head 87a4a99 Remove extra indirection from cast (#2) 67c2c78 v0.1.0 b24a96b Initial commit 4a93639 Initial commit 9c4b19e Initial commit Signed-off-by: Martin Jansa --- recipes-core/iotedge-cli/iotedge-cli_1.0.9.4.bb | 6 +++--- recipes-core/iotedge-daemon/iotedge-daemon_1.0.9.4.bb | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/recipes-core/iotedge-cli/iotedge-cli_1.0.9.4.bb b/recipes-core/iotedge-cli/iotedge-cli_1.0.9.4.bb index a5bce7c..fee6ff7 100644 --- a/recipes-core/iotedge-cli/iotedge-cli_1.0.9.4.bb +++ b/recipes-core/iotedge-cli/iotedge-cli_1.0.9.4.bb @@ -235,13 +235,13 @@ SRC_URI += " \ " SRCREV_FORMAT .= "_hyperlocal-windows" -SRCREV_hyperlocal-windows = "${AUTOREV}" +SRCREV_hyperlocal-windows = "2bd432bbbfb5b1cf38429733dd9a593c7b97a850" EXTRA_OECARGO_PATHS += "${WORKDIR}/hyperlocal-windows" SRCREV_FORMAT .= "_mio-uds-windows" -SRCREV_mio-uds-windows = "${AUTOREV}" +SRCREV_mio-uds-windows = "87a4a9970e668fdbe9205f4039967e175182c70e" EXTRA_OECARGO_PATHS += "${WORKDIR}/mio-uds-windows" SRCREV_FORMAT .= "_tokio-uds-windows" -SRCREV_tokio-uds-windows = "${AUTOREV}" +SRCREV_tokio-uds-windows = "b689a914dbaa905f359f89200c01fed7a6c8df3f" EXTRA_OECARGO_PATHS += "${WORKDIR}/tokio-uds-windows" LIC_FILES_CHKSUM=" \ diff --git a/recipes-core/iotedge-daemon/iotedge-daemon_1.0.9.4.bb b/recipes-core/iotedge-daemon/iotedge-daemon_1.0.9.4.bb index 7ba3888..0de3c13 100644 --- a/recipes-core/iotedge-daemon/iotedge-daemon_1.0.9.4.bb +++ b/recipes-core/iotedge-daemon/iotedge-daemon_1.0.9.4.bb @@ -235,13 +235,13 @@ SRC_URI += " \ " SRCREV_FORMAT .= "_hyperlocal-windows" -SRCREV_hyperlocal-windows = "${AUTOREV}" +SRCREV_hyperlocal-windows = "2bd432bbbfb5b1cf38429733dd9a593c7b97a850" EXTRA_OECARGO_PATHS += "${WORKDIR}/hyperlocal-windows" SRCREV_FORMAT .= "_mio-uds-windows" -SRCREV_mio-uds-windows = "${AUTOREV}" +SRCREV_mio-uds-windows = "87a4a9970e668fdbe9205f4039967e175182c70e" EXTRA_OECARGO_PATHS += "${WORKDIR}/mio-uds-windows" SRCREV_FORMAT .= "_tokio-uds-windows" -SRCREV_tokio-uds-windows = "${AUTOREV}" +SRCREV_tokio-uds-windows = "b689a914dbaa905f359f89200c01fed7a6c8df3f" EXTRA_OECARGO_PATHS += "${WORKDIR}/tokio-uds-windows" LIC_FILES_CHKSUM=" \