Skip to content

Commit

Permalink
iotedge-{cli,daemon}: use static SRCREV instead of AUTOREV
Browse files Browse the repository at this point in the history
* 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 <martin.jansa@lge.com>
  • Loading branch information
shr-project committed Jan 21, 2021
1 parent 227bed0 commit 62670f5
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions recipes-core/iotedge-cli/iotedge-cli_1.0.9.4.bb
Original file line number Diff line number Diff line change
Expand Up @@ -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=" \
Expand Down
6 changes: 3 additions & 3 deletions recipes-core/iotedge-daemon/iotedge-daemon_1.0.9.4.bb
Original file line number Diff line number Diff line change
Expand Up @@ -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=" \
Expand Down

0 comments on commit 62670f5

Please sign in to comment.