Skip to content

Commit

Permalink
Revert "Provide fixed v1.0.0 layer for the kirkstone branch (#99)"
Browse files Browse the repository at this point in the history
This reverts commit 2d7c0f3.
  • Loading branch information
k-gostev authored Jun 17, 2024
1 parent 2d7c0f3 commit d8da485
Show file tree
Hide file tree
Showing 10 changed files with 39 additions and 45 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ SRC_URI = "git://github.com/eclipse-kanto/aws-connector;protocol=https;branch=ma
file://service.template \
"

SRCREV = "05fcdc45e5829930ca7b32bb4f03c821eeaa1eef"
SRCREV = "${AUTOREV}"

PV = "1.0.0-git${SRCPV}"
PV = "0.1.0-git${SRCPV}"

GO_IMPORT = "github.com/eclipse-kanto/aws-connector"
GO_INSTALL = "${GO_IMPORT}/cmd/aws-connector"
Expand Down Expand Up @@ -39,9 +39,6 @@ RDEPENDS:${PN} += "mosquitto"
PROVIDES:${PN} += "kanto/aws-connector"
RPROVIDES:${PN} += "kanto/aws-connector"

BUILD_VERSION = "1.0.0"
export GO_EXTRA_LDFLAGS="-X main.version=${BUILD_VERSION}"

do_install() {
install -d "${D}/${SC_BIN_DD}"

Expand Down
7 changes: 2 additions & 5 deletions recipes-connectivity/azure-connector/azure-connector_git.bb
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ SRC_URI = "git://github.com/eclipse-kanto/azure-connector;protocol=https;branch=
file://service.template \
"

SRCREV = "c610acb7a3ea92afdde45b25bd4c197965266f95"
SRCREV = "${AUTOREV}"

PV = "1.0.0-git${SRCPV}"
PV = "0.1.0-git${SRCPV}"

GO_IMPORT = "github.com/eclipse-kanto/azure-connector"
GO_INSTALL = "${GO_IMPORT}/cmd/azure-connector"
Expand Down Expand Up @@ -39,9 +39,6 @@ RDEPENDS:${PN} += "mosquitto"
PROVIDES:${PN} += "kanto/azure-connector"
RPROVIDES:${PN} += "kanto/azure-connector"

BUILD_VERSION = "1.0.0"
export GO_EXTRA_LDFLAGS="-X main.version=${BUILD_VERSION}"

do_install() {
install -d "${D}/${SC_BIN_DD}"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ SRC_URI = "git://github.com/eclipse-kanto/local-digital-twins;protocol=https;bra
file://service.template \
"

SRCREV = "b12fba36af75174753223e63fafaf1a95f17c3f0"
SRCREV = "${AUTOREV}"

PV = "1.0.0-git${SRCPV}"
PV = "0.1.0-git${SRCPV}"

GO_IMPORT = "github.com/eclipse-kanto/local-digital-twins"
GO_INSTALL = "${GO_IMPORT}/cmd/twins"
Expand Down Expand Up @@ -39,8 +39,8 @@ RDEPENDS:${PN} += "mosquitto"
PROVIDES:${PN} += "kanto/local-digital-twins"
RPROVIDES:${PN} += "kanto/local-digital-twins"

BUILD_VERSION = "1.0.0"
export GO_EXTRA_LDFLAGS="-X main.version=${BUILD_VERSION}"
# BUILD_VERSION = "0.1.0-M2"
# export GO_EXTRA_LDFLAGS="-X main.version=${BUILD_VERSION}"

do_install() {
install -d "${D}/${LDT_BIN_DD}"
Expand Down
8 changes: 4 additions & 4 deletions recipes-connectivity/suite-connector/suite-connector_git.bb
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ SRC_URI = "git://github.com/eclipse-kanto/suite-connector;protocol=https;branch=
file://service.template \
"

SRCREV = "938ae1560e09058463972061de2a63275fa32d46"
SRCREV = "${AUTOREV}"

PV = "1.0.0-git${SRCPV}"
PV = "0.1.0-git${SRCPV}"

GO_IMPORT = "github.com/eclipse-kanto/suite-connector"
GO_INSTALL = "${GO_IMPORT}/cmd/connector"
Expand Down Expand Up @@ -40,8 +40,8 @@ RDEPENDS:${PN} += "mosquitto"
PROVIDES:${PN} += "kanto/suite-connector"
RPROVIDES:${PN} += "kanto/suite-connector"

BUILD_VERSION = "1.0.0"
export GO_EXTRA_LDFLAGS="-X main.version=${BUILD_VERSION}"
# BUILD_VERSION = "0.1.0-M2"
# export GO_EXTRA_LDFLAGS="-X main.version=${BUILD_VERSION}"

do_install() {
install -d "${D}/${SC_BIN_DD}"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ SRC_URI = "git://github.com/eclipse-kanto/container-management;protocol=https;br
file://service.template \
"

SRCREV = "4b2cd25bd9f6f78c480677994b20ab7b6e46c39c"
SRCREV = "${AUTOREV}"

PV = "1.0.0-git${SRCPV}"
PV = "0.1.0-git${SRCPV}"

GO_IMPORT = "github.com/eclipse-kanto/container-management"
GO_INSTALL = "${GO_IMPORT}/containerm/daemon \
Expand Down Expand Up @@ -51,11 +51,11 @@ FILES:${PN} += "${CM_BIN_DD}/container-management ${CM_BIN_DD}/kanto-cm"
# ensure all additional resources are properly packed in the resulting package if provided
FILES:${PN} += "${CM_CFG_DD}/container-management/config.json"

VERSION_PKG = "github.com/eclipse-kanto/container-management/containerm"
BUILD_TIME = "${@time.strftime('%Y-%m-%dT%H:%M:%SZ',time.gmtime())}"
BUILD_VERSION = "1.0.0"
BUILD_REVISION = "${@'${SRCREV}'[:7]}"
export GO_EXTRA_LDFLAGS="-X ${VERSION_PKG}/version.GitCommit=${BUILD_REVISION} -X ${VERSION_PKG}/version.ProjectVersion=${BUILD_VERSION} -X ${VERSION_PKG}/version.APIVersion=${BUILD_VERSION} -X ${VERSION_PKG}/version.BuildTime=${BUILD_TIME}"
# VERSION_PKG = "github.com/eclipse-kanto/container-management/containerm"
# BUILD_TIME = "${@time.strftime('%Y-%m-%dT%H:%M:%SZ',time.gmtime())}"
# BUILD_VERSION = "0.1.0-M2"
# BUILD_REVISION = "${@'${SRCREV}'[:7]}"
# export GO_EXTRA_LDFLAGS="-X ${VERSION_PKG}/version.GitCommit=${BUILD_REVISION} -X ${VERSION_PKG}/version.ProjectVersion=${BUILD_VERSION} -X ${VERSION_PKG}/version.APIVersion=${BUILD_VERSION} -X ${VERSION_PKG}/version.BuildTime=${BUILD_TIME}"

do_install() {
install -d ${D}/${CM_BIN_DD}
Expand Down
8 changes: 4 additions & 4 deletions recipes-management/file-backup/file-backup_git.bb
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ SRC_URI = "git://github.com/eclipse-kanto/file-backup;protocol=https;branch=main
file://service.template \
"

SRCREV = "4ea460c50aeba1d1706528927b1564fe37c425dc"
SRCREV = "${AUTOREV}"

PV = "1.0.0-git${SRCPV}"
PV = "0.1.0-git${SRCPV}"

GO_IMPORT = "github.com/eclipse-kanto/file-backup"
GO_INSTALL = "${GO_IMPORT}"
Expand All @@ -37,8 +37,8 @@ RDEPENDS:${PN} += "mosquitto"
PROVIDES:${PN} += "kanto/file-backup"
RPROVIDES:${PN} += "kanto/file-backup"

BUILD_VERSION = "1.0.0"
export GO_EXTRA_LDFLAGS="-X main.version=${BUILD_VERSION}"
# BUILD_VERSION = "0.1.0-M2"
# export GO_EXTRA_LDFLAGS="-X main.version=${BUILD_VERSION}"

do_install() {
install -d "${D}/${FB_BIN_DD}"
Expand Down
8 changes: 4 additions & 4 deletions recipes-management/file-upload/file-upload_git.bb
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ SRC_URI = "git://github.com/eclipse-kanto/file-upload;protocol=https;branch=main
file://service.template \
"

SRCREV = "be9c7f236de2f2b64ca4fa58ceb1a95c4382b8b6"
SRCREV = "${AUTOREV}"

PV = "1.0.0-git${SRCPV}"
PV = "0.1.0-git${SRCPV}"

GO_IMPORT = "github.com/eclipse-kanto/file-upload"
GO_INSTALL = "${GO_IMPORT}"
Expand All @@ -37,8 +37,8 @@ RDEPENDS:${PN} += "mosquitto"
PROVIDES:${PN} += "kanto/file-upload"
RPROVIDES:${PN} += "kanto/file-upload"

BUILD_VERSION = "1.0.0"
export GO_EXTRA_LDFLAGS="-X main.version=${BUILD_VERSION}"
# BUILD_VERSION = "0.1.0-M2"
# export GO_EXTRA_LDFLAGS="-X main.version=${BUILD_VERSION}"

do_install() {
install -d "${D}/${FU_BIN_DD}"
Expand Down
8 changes: 4 additions & 4 deletions recipes-management/software-update/software-update_git.bb
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ SRC_URI = "git://github.com/eclipse-kanto/software-update;protocol=https;branch=
file://service.template \
"

SRCREV = "74b2b454b2e66c212f450c822f9f7394a6fc30e1"
SRCREV = "${AUTOREV}"

PV = "1.0.0-git${SRCPV}"
PV = "0.1.0-git${SRCPV}"

GO_IMPORT = "github.com/eclipse-kanto/software-update"
GO_INSTALL = "${GO_IMPORT}/cmd/software-update"
Expand All @@ -37,8 +37,8 @@ RDEPENDS:${PN} += "mosquitto"
PROVIDES:${PN} += "kanto/software-update"
RPROVIDES:${PN} += "kanto/software-update"

BUILD_VERSION = "1.0.0"
export GO_EXTRA_LDFLAGS="-X main.version=${BUILD_VERSION}"
# BUILD_VERSION = "0.1.0-M2"
# export GO_EXTRA_LDFLAGS="-X main.version=${BUILD_VERSION}"

do_install() {
install -d "${D}/${SU_BIN_DD}"
Expand Down
8 changes: 4 additions & 4 deletions recipes-management/update-manager/update-manager_git.bb
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ SRC_URI = "git://github.com/eclipse-kanto/update-manager;protocol=https;branch=m
file://service.template \
"

SRCREV = "0b23c81367480892efd99c9fb086bad135d2e9e2"
SRCREV = "${AUTOREV}"

PV = "1.0.0-git${SRCPV}"
PV = "0.1.0-git${SRCPV}"

GO_IMPORT = "github.com/eclipse-kanto/update-manager"
GO_INSTALL = "${GO_IMPORT}/cmd/update-manager"
Expand All @@ -37,8 +37,8 @@ RDEPENDS:${PN} += "mosquitto"
PROVIDES:${PN} += "kanto/update-manager"
RPROVIDES:${PN} += "kanto/update-manager"

BUILD_VERSION = "1.0.0"
export GO_EXTRA_LDFLAGS="-X main.version=${BUILD_VERSION}"
# BUILD_VERSION = "0.1.0-M2"
# export GO_EXTRA_LDFLAGS="-X main.version=${BUILD_VERSION}"

do_install() {
install -d "${D}/${UM_BIN_DD}"
Expand Down
8 changes: 4 additions & 4 deletions recipes-monitoring/system-metrics/system-metrics_git.bb
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ SRC_URI = "git://github.com/eclipse-kanto/system-metrics;protocol=https;branch=m
file://service.template \
"

SRCREV = "6be7a9b7dcd26df1687785ada267211ff7851435"
SRCREV = "${AUTOREV}"

PV = "1.0.0-git${SRCPV}"
PV = "0.1.0-git${SRCPV}"

GO_IMPORT = "github.com/eclipse-kanto/system-metrics"
GO_INSTALL = "${GO_IMPORT}/cmd/metrics"
Expand Down Expand Up @@ -38,8 +38,8 @@ RDEPENDS:${PN} += "mosquitto"
PROVIDES:${PN} += "kanto/system-metrics"
RPROVIDES:${PN} += "kanto/system-metrics"

BUILD_VERSION = "1.0.0"
export GO_EXTRA_LDFLAGS="-X main.version=${BUILD_VERSION}"
# BUILD_VERSION = "0.1.0-M2"
# export GO_EXTRA_LDFLAGS="-X main.version=${BUILD_VERSION}"

do_install() {
install -d "${D}/${SM_BIN_DD}"
Expand Down

0 comments on commit d8da485

Please sign in to comment.