Skip to content

Commit

Permalink
Provide fixed M4 layer for the main branch (eclipse-kanto#73)
Browse files Browse the repository at this point in the history
[eclipse-kanto#72] Provide Kirkstone fixed M4 layer

---------

Signed-off-by: Hristo Bozhilov <[email protected]>
  • Loading branch information
hristobojilov authored Sep 25, 2023
1 parent 11df920 commit e9b00bc
Show file tree
Hide file tree
Showing 9 changed files with 40 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ SRC_URI = "git://github.com/eclipse-kanto/local-digital-twins;protocol=https;bra
file://service.template \
"

SRCREV = "${AUTOREV}"
SRCREV = "72956d7d9c74f90a2fdd30727a3dce8eddee9178"

PV = "0.1.0-git${SRCPV}"

Expand Down Expand Up @@ -39,6 +39,9 @@ RDEPENDS:${PN} += "mosquitto"
PROVIDES:${PN} += "kanto/local-digital-twins"
RPROVIDES:${PN} += "kanto/local-digital-twins"

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

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

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

SRCREV = "${AUTOREV}"
SRCREV = "d2aaa0104c69088c7c84fbeb0b55c35e30c6448c"

PV = "0.1.0-git${SRCPV}"

Expand Down Expand Up @@ -39,6 +39,9 @@ RDEPENDS:${PN} += "mosquitto"
PROVIDES:${PN} += "kanto/suite-bootstrapping"
RPROVIDES:${PN} += "kanto/suite-bootstrapping"

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

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

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

SRCREV = "${AUTOREV}"
SRCREV = "5909123155229abb93838f782d9867f814a043ee"

PV = "0.1.0-git${SRCPV}"

Expand Down Expand Up @@ -40,6 +40,9 @@ RDEPENDS:${PN} += "mosquitto"
PROVIDES:${PN} += "kanto/suite-connector"
RPROVIDES:${PN} += "kanto/suite-connector"

BUILD_VERSION = "0.1.0-M4"
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,7 +8,7 @@ SRC_URI = "git://github.com/eclipse-kanto/container-management;protocol=https;br
file://service.template \
"

SRCREV = "${AUTOREV}"
SRCREV = "e7fb861984deba4b7e7ba526c04ff695b1367cdc"

PV = "0.1.0-git${SRCPV}"

Expand Down Expand Up @@ -48,6 +48,13 @@ 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 = "0.1.0-M4"
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
5 changes: 4 additions & 1 deletion recipes-management/file-backup/file-backup_git.bb
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ SRC_URI = "git://github.com/eclipse-kanto/file-backup;protocol=https;branch=main
file://service.template \
"

SRCREV = "${AUTOREV}"
SRCREV = "ca98d480fbc4ca59d9945a42baeb8797c275c0b6"

PV = "0.1.0-git${SRCPV}"

Expand Down Expand Up @@ -37,6 +37,9 @@ RDEPENDS:${PN} += "mosquitto"
PROVIDES:${PN} += "kanto/file-backup"
RPROVIDES:${PN} += "kanto/file-backup"

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

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

Expand Down
5 changes: 4 additions & 1 deletion recipes-management/file-upload/file-upload_git.bb
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ SRC_URI = "git://github.com/eclipse-kanto/file-upload;protocol=https;branch=main
file://service.template \
"

SRCREV = "${AUTOREV}"
SRCREV = "9d94211b07f6c2825ca9b26ffce0015fae785b16"

PV = "0.1.0-git${SRCPV}"

Expand Down Expand Up @@ -37,6 +37,9 @@ RDEPENDS:${PN} += "mosquitto"
PROVIDES:${PN} += "kanto/file-upload"
RPROVIDES:${PN} += "kanto/file-upload"

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

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

Expand Down
5 changes: 4 additions & 1 deletion recipes-management/software-update/software-update_git.bb
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ SRC_URI = "git://github.com/eclipse-kanto/software-update;protocol=https;branch=
file://service.template \
"

SRCREV = "${AUTOREV}"
SRCREV = "e59382a29230e58ff773c7ecc50a04c084542535"

PV = "0.1.0-git${SRCPV}"

Expand Down Expand Up @@ -37,6 +37,9 @@ RDEPENDS:${PN} += "mosquitto"
PROVIDES:${PN} += "kanto/software-update"
RPROVIDES:${PN} += "kanto/software-update"

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

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

Expand Down
5 changes: 4 additions & 1 deletion recipes-management/update-manager/update-manager_git.bb
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ SRC_URI = "git://github.com/eclipse-kanto/update-manager;protocol=https;branch=m
file://service.template \
"

SRCREV = "${AUTOREV}"
SRCREV = "c8d40ac1c11e9e713851abe506c1b5a515bfb589"

PV = "0.1.0-git${SRCPV}"

Expand Down Expand Up @@ -37,6 +37,9 @@ RDEPENDS:${PN} += "mosquitto"
PROVIDES:${PN} += "kanto/update-manager"
RPROVIDES:${PN} += "kanto/update-manager"

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

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

Expand Down
5 changes: 4 additions & 1 deletion recipes-monitoring/system-metrics/system-metrics_git.bb
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ SRC_URI = "git://github.com/eclipse-kanto/system-metrics;protocol=https;branch=m
file://service.template \
"

SRCREV = "${AUTOREV}"
SRCREV = "f9811a0c55c5c3a5c2c35d2c075657942a7af21f"

PV = "0.1.0-git${SRCPV}"

Expand Down Expand Up @@ -38,6 +38,9 @@ RDEPENDS:${PN} += "mosquitto"
PROVIDES:${PN} += "kanto/system-metrics"
RPROVIDES:${PN} += "kanto/system-metrics"

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

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

Expand Down

0 comments on commit e9b00bc

Please sign in to comment.