Skip to content

Commit

Permalink
Provide Kirkstone fixed M2 layer (eclipse-kanto#38)
Browse files Browse the repository at this point in the history
[eclipse-kanto#36 ] Provide Kirkstone fixed M2 layer

Signed-off-by: Hristo Bozhilov <[email protected]>
  • Loading branch information
Hristo Bozhilov authored Oct 6, 2022
1 parent 376292d commit 15cb018
Show file tree
Hide file tree
Showing 8 changed files with 36 additions and 8 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 = "667004df8bda12b8ed8188b904fc13e0c6572ccc"

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-M2"
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 = "24cb31af78ce27b365a1b120c8f6a95d188695cc"

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-M2"
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 = "143cacbc1088ddbc219877e5d84f30a4957fc566"

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

SRCREV = "${AUTOREV}"
SRCREV = "e83c311979a1804dde6893f5c86208a321f6e208"

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-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
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 = "49e90b0ccef213008473bf244dff4671b382848a"

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-M2"
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 = "5ba9ae26179074d8d52d836e51d3886cccc00f42"

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-M2"
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 = "73758d68a6751391cbbe282235fd57d83820ab79"

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-M2"
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-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 = "f18ff434bcff41de7d6885c2b4cfa9b367fbcae2"

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-M2"
export GO_EXTRA_LDFLAGS="-X main.version=${BUILD_VERSION}"

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

Expand Down

0 comments on commit 15cb018

Please sign in to comment.