From c1e2bdb8c3726b2bfe4539ec5312afd11633472b Mon Sep 17 00:00:00 2001 From: Anish Vallolikalathil Achuthadas Date: Fri, 21 Jun 2024 15:07:26 +0530 Subject: [PATCH] Revert Provide fixed v1.0.0 layer for the Kirkstone branch #102 --- .../aws-connector/aws-connector_git.bb | 6 +++--- .../azure-connector/azure-connector_git.bb | 6 +++--- .../local-digital-twins/local-digital-twins_git.bb | 6 +++--- .../suite-connector/suite-connector_git.bb | 6 +++--- .../container-management/container-management_git.bb | 12 ++++++------ recipes-management/file-backup/file-backup_git.bb | 6 +++--- recipes-management/file-upload/file-upload_git.bb | 6 +++--- .../software-update/software-update_git.bb | 6 +++--- .../update-manager/update-manager_git.bb | 6 +++--- .../system-metrics/system-metrics_git.bb | 6 +++--- 10 files changed, 33 insertions(+), 33 deletions(-) diff --git a/recipes-connectivity/aws-connector/aws-connector_git.bb b/recipes-connectivity/aws-connector/aws-connector_git.bb index 2e91775..03288f6 100644 --- a/recipes-connectivity/aws-connector/aws-connector_git.bb +++ b/recipes-connectivity/aws-connector/aws-connector_git.bb @@ -8,7 +8,7 @@ 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}" @@ -39,8 +39,8 @@ 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}" +#BUILD_VERSION = "1.0.0" +#export GO_EXTRA_LDFLAGS="-X main.version=${BUILD_VERSION}" do_install() { install -d "${D}/${SC_BIN_DD}" diff --git a/recipes-connectivity/azure-connector/azure-connector_git.bb b/recipes-connectivity/azure-connector/azure-connector_git.bb index c1c9367..9717e65 100644 --- a/recipes-connectivity/azure-connector/azure-connector_git.bb +++ b/recipes-connectivity/azure-connector/azure-connector_git.bb @@ -8,7 +8,7 @@ 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}" @@ -39,8 +39,8 @@ 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}" +#BUILD_VERSION = "1.0.0" +#export GO_EXTRA_LDFLAGS="-X main.version=${BUILD_VERSION}" do_install() { install -d "${D}/${SC_BIN_DD}" diff --git a/recipes-connectivity/local-digital-twins/local-digital-twins_git.bb b/recipes-connectivity/local-digital-twins/local-digital-twins_git.bb index 3a717be..b0a56c9 100644 --- a/recipes-connectivity/local-digital-twins/local-digital-twins_git.bb +++ b/recipes-connectivity/local-digital-twins/local-digital-twins_git.bb @@ -8,7 +8,7 @@ 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}" @@ -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 = "1.0.0" +#export GO_EXTRA_LDFLAGS="-X main.version=${BUILD_VERSION}" do_install() { install -d "${D}/${LDT_BIN_DD}" diff --git a/recipes-connectivity/suite-connector/suite-connector_git.bb b/recipes-connectivity/suite-connector/suite-connector_git.bb index 0bd7980..00a3035 100644 --- a/recipes-connectivity/suite-connector/suite-connector_git.bb +++ b/recipes-connectivity/suite-connector/suite-connector_git.bb @@ -8,7 +8,7 @@ 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}" @@ -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 = "1.0.0" +#export GO_EXTRA_LDFLAGS="-X main.version=${BUILD_VERSION}" do_install() { install -d "${D}/${SC_BIN_DD}" diff --git a/recipes-containers/container-management/container-management_git.bb b/recipes-containers/container-management/container-management_git.bb index e4111a7..1fe9923 100644 --- a/recipes-containers/container-management/container-management_git.bb +++ b/recipes-containers/container-management/container-management_git.bb @@ -8,7 +8,7 @@ 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}" @@ -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 = "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}" do_install() { install -d ${D}/${CM_BIN_DD} diff --git a/recipes-management/file-backup/file-backup_git.bb b/recipes-management/file-backup/file-backup_git.bb index 2c5370f..5c1be0e 100644 --- a/recipes-management/file-backup/file-backup_git.bb +++ b/recipes-management/file-backup/file-backup_git.bb @@ -8,7 +8,7 @@ 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}" @@ -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 = "1.0.0" +#export GO_EXTRA_LDFLAGS="-X main.version=${BUILD_VERSION}" do_install() { install -d "${D}/${FB_BIN_DD}" diff --git a/recipes-management/file-upload/file-upload_git.bb b/recipes-management/file-upload/file-upload_git.bb index 448f52c..279aab4 100644 --- a/recipes-management/file-upload/file-upload_git.bb +++ b/recipes-management/file-upload/file-upload_git.bb @@ -8,7 +8,7 @@ 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}" @@ -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 = "1.0.0" +#export GO_EXTRA_LDFLAGS="-X main.version=${BUILD_VERSION}" do_install() { install -d "${D}/${FU_BIN_DD}" diff --git a/recipes-management/software-update/software-update_git.bb b/recipes-management/software-update/software-update_git.bb index 3d2314b..3ce390b 100644 --- a/recipes-management/software-update/software-update_git.bb +++ b/recipes-management/software-update/software-update_git.bb @@ -8,7 +8,7 @@ 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}" @@ -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 = "1.0.0" +#export GO_EXTRA_LDFLAGS="-X main.version=${BUILD_VERSION}" do_install() { install -d "${D}/${SU_BIN_DD}" diff --git a/recipes-management/update-manager/update-manager_git.bb b/recipes-management/update-manager/update-manager_git.bb index 7624e75..cb6c173 100644 --- a/recipes-management/update-manager/update-manager_git.bb +++ b/recipes-management/update-manager/update-manager_git.bb @@ -8,7 +8,7 @@ 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}" @@ -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 = "1.0.0" +#export GO_EXTRA_LDFLAGS="-X main.version=${BUILD_VERSION}" do_install() { install -d "${D}/${UM_BIN_DD}" diff --git a/recipes-monitoring/system-metrics/system-metrics_git.bb b/recipes-monitoring/system-metrics/system-metrics_git.bb index 93031c8..ccc55fa 100644 --- a/recipes-monitoring/system-metrics/system-metrics_git.bb +++ b/recipes-monitoring/system-metrics/system-metrics_git.bb @@ -8,7 +8,7 @@ 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}" @@ -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 = "1.0.0" +#export GO_EXTRA_LDFLAGS="-X main.version=${BUILD_VERSION}" do_install() { install -d "${D}/${SM_BIN_DD}"