Skip to content

Commit feb2acf

Browse files
committed
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 (Azure#2) 67c2c78 v0.1.0 b24a96b Initial commit 4a93639 Initial commit 9c4b19e Initial commit Signed-off-by: Martin Jansa <[email protected]>
1 parent 73b9528 commit feb2acf

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

recipes-core/iotedge-cli/iotedge-cli_1.0.9.4.bb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -235,13 +235,13 @@ SRC_URI += " \
235235
"
236236

237237
SRCREV_FORMAT .= "_hyperlocal-windows"
238-
SRCREV_hyperlocal-windows = "${AUTOREV}"
238+
SRCREV_hyperlocal-windows = "2bd432bbbfb5b1cf38429733dd9a593c7b97a850"
239239
EXTRA_OECARGO_PATHS += "${WORKDIR}/hyperlocal-windows"
240240
SRCREV_FORMAT .= "_mio-uds-windows"
241-
SRCREV_mio-uds-windows = "${AUTOREV}"
241+
SRCREV_mio-uds-windows = "87a4a9970e668fdbe9205f4039967e175182c70e"
242242
EXTRA_OECARGO_PATHS += "${WORKDIR}/mio-uds-windows"
243243
SRCREV_FORMAT .= "_tokio-uds-windows"
244-
SRCREV_tokio-uds-windows = "${AUTOREV}"
244+
SRCREV_tokio-uds-windows = "b689a914dbaa905f359f89200c01fed7a6c8df3f"
245245
EXTRA_OECARGO_PATHS += "${WORKDIR}/tokio-uds-windows"
246246

247247
LIC_FILES_CHKSUM=" \

recipes-core/iotedge-daemon/iotedge-daemon_1.0.9.4.bb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -235,13 +235,13 @@ SRC_URI += " \
235235
"
236236

237237
SRCREV_FORMAT .= "_hyperlocal-windows"
238-
SRCREV_hyperlocal-windows = "${AUTOREV}"
238+
SRCREV_hyperlocal-windows = "2bd432bbbfb5b1cf38429733dd9a593c7b97a850"
239239
EXTRA_OECARGO_PATHS += "${WORKDIR}/hyperlocal-windows"
240240
SRCREV_FORMAT .= "_mio-uds-windows"
241-
SRCREV_mio-uds-windows = "${AUTOREV}"
241+
SRCREV_mio-uds-windows = "87a4a9970e668fdbe9205f4039967e175182c70e"
242242
EXTRA_OECARGO_PATHS += "${WORKDIR}/mio-uds-windows"
243243
SRCREV_FORMAT .= "_tokio-uds-windows"
244-
SRCREV_tokio-uds-windows = "${AUTOREV}"
244+
SRCREV_tokio-uds-windows = "b689a914dbaa905f359f89200c01fed7a6c8df3f"
245245
EXTRA_OECARGO_PATHS += "${WORKDIR}/tokio-uds-windows"
246246

247247
LIC_FILES_CHKSUM=" \

0 commit comments

Comments
 (0)