All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/7] qoriq-edgescale-eds: add recipes
@ 2018-05-04  6:41 chunrong.guo
  2018-05-04  6:41 ` [PATCH 2/7] qoriq-eds-bootstrap: " chunrong.guo
                   ` (5 more replies)
  0 siblings, 6 replies; 10+ messages in thread
From: chunrong.guo @ 2018-05-04  6:41 UTC (permalink / raw)
  To: meta-freescale; +Cc: Chunrong Guo

From: Chunrong Guo <chunrong.guo@nxp.com>

*include the following changes:
f613aac - Merge pull request #10 in DCCA/edgescale-eds from ~NXA22939/edgescale-eds:master to master
121c34a - Add 3 Phases Certificate Enroll
d61572d - Merge pull request #7 in DCCA/edgescale-eds from ~NXA23275/edgescale-eds:master to master
381baa9 - startup.sh: check OTA status
9fdcdbc - Merge pull request #6 in DCCA/edgescale-eds from ~NXA16258/edgescale-eds:master to master
3ddf7b7 - Add OTA scripts
32d041c - Merge pull request #3 in DCCA/edgescale-eds from ~NXA22939/edgescale-eds:master to master
a325b26 - add SCR.txt
efdc610 - Add mq-agent to startup.sh
b9fd32a - Update CleanSession to false
10b78eb - Add edgescale mq-agent
3a49f1b - Merge pull request #2 in DCCA/edgescale-eds from ~NXA16258/edgescale-eds:master to master
a71c083 - Add startup script to push device public ipaddress to cloud
6dd2c4f - Initial Commit

Signed-off-by: Chunrong Guo <chunrong.guo@nxp.com>
---
 .../qoriq-eds/qoriq-edgescale-eds.bb               | 62 ++++++++++++++++++++++
 1 file changed, 62 insertions(+)
 create mode 100644 recipes-containers/qoriq-eds/qoriq-edgescale-eds.bb

diff --git a/recipes-containers/qoriq-eds/qoriq-edgescale-eds.bb b/recipes-containers/qoriq-eds/qoriq-edgescale-eds.bb
new file mode 100644
index 0000000..ad4980a
--- /dev/null
+++ b/recipes-containers/qoriq-eds/qoriq-edgescale-eds.bb
@@ -0,0 +1,62 @@
+SUMMARY = "EDGESCALE-EDS is a set of software agents running on device side which connects to cloud"
+HOMEPAGE = "https://github.com/NXP/qoriq-edgescale-eds.git"
+LICENSE = "NXP-EULA"
+LIC_FILES_CHKSUM = "file://src/import/EULA.txt;md5=d969f2c93b3905d4b628787ce5f8df4b"
+
+SRC_URI = "git://github.com/NXP/qoriq-edgescale-eds.git;nobranch=1 \
+"
+SRCREV = "f613aac6d8f5ef32cd0ce5c3a710d951a6635336"
+
+DEPENDS = "\
+           go-logrus  \
+           mqtt \
+           est-client-go \
+          "
+GO_IMPORT = "import"
+
+inherit goarch
+inherit go
+
+# This disables seccomp and apparmor, which are on by default in the
+# go package. 
+EXTRA_OEMAKE="BUILDTAGS=''"
+
+do_compile() {
+	export GOARCH="${TARGET_GOARCH}"
+	export GOROOT="${STAGING_LIBDIR_NATIVE}/${TARGET_SYS}/go"
+	# Setup vendor directory so that it can be used in GOPATH.
+	#
+	# Go looks in a src directory under any directory in GOPATH but riddler
+	# uses 'vendor' instead of 'vendor/src'. We can fix this with a symlink.
+	#
+	# We also need to link in the ipallocator directory as that is not under
+	# a src directory.
+	#ln -sfn . "${S}/src/import/vendor/src"
+	#mkdir -p "${S}/src/import/vendor/src/github.com/opencontainers/image-tools/"
+	#ln -sfn "${S}/src/import/image" "${S}/src/import/vendor/src/github.com/opencontainers/image-tools/image"
+	#ln -sfn "${S}/src/import/version" "${S}/src/import/vendor/src/github.com/opencontainers/image-tools/version"
+	export GOPATH="${S}/src/import/"
+
+	# Pass the needed cflags/ldflags so that cgo
+	# can find the needed headers files and libraries
+	export CGO_ENABLED="1"
+	export CFLAGS=""
+	export LDFLAGS=""
+	export CGO_CFLAGS="${BUILDSDK_CFLAGS} --sysroot=${STAGING_DIR_TARGET}"
+	export CGO_LDFLAGS="${BUILDSDK_LDFLAGS} --sysroot=${STAGING_DIR_TARGET}"
+	cd ${S}/src/import
+      
+	oe_runmake all 
+}
+
+do_install() {
+	install -d ${D}/${bindir}
+        cp -r ${S}/src/import/startup/env.sh ${D}/${bindir}
+        cp -r ${S}/src/import/startup/startup.sh ${D}/${bindir}
+        cp -r ${S}/src/import/startup/ota-updateSet ${D}/${bindir}
+        cp -r ${S}/src/import/startup/ota-statuscheck ${D}/${bindir}
+        cp -r ${S}/src/import/mq-agent/mq-agent ${D}/${bindir}
+        cp -r ${S}/src/import/cert-agent/cert-agent ${D}/${bindir}
+}
+
+INSANE_SKIP_${PN} += "already-stripped"
-- 
2.7.4



^ permalink raw reply related	[flat|nested] 10+ messages in thread

* [PATCH 2/7] qoriq-eds-bootstrap: add recipes
  2018-05-04  6:41 [PATCH 1/7] qoriq-edgescale-eds: add recipes chunrong.guo
@ 2018-05-04  6:41 ` chunrong.guo
  2018-05-22 20:59   ` Otavio Salvador
  2018-05-04  6:41 ` [PATCH 3/7] qoriq-eds-kubelet: " chunrong.guo
                   ` (4 subsequent siblings)
  5 siblings, 1 reply; 10+ messages in thread
From: chunrong.guo @ 2018-05-04  6:41 UTC (permalink / raw)
  To: meta-freescale; +Cc: Chunrong Guo

From: Chunrong Guo <chunrong.guo@nxp.com>

*include the following changes:
72abfd9 - update the appendix content
0f0fdaf - update License
ff0f925 - Edgescale bootstrap certificate enroll app

Signed-off-by: Chunrong Guo <chunrong.guo@nxp.com>
---
 .../qoriq-eds/qoriq-eds-bootstrap.bb               | 24 ++++++++++++++++++++
 .../0001-fix-install-error.patch                   | 26 ++++++++++++++++++++++
 2 files changed, 50 insertions(+)
 create mode 100644 recipes-containers/qoriq-eds/qoriq-eds-bootstrap.bb
 create mode 100644 recipes-containers/qoriq-eds/qoriq-eds-bootstrap/0001-fix-install-error.patch

diff --git a/recipes-containers/qoriq-eds/qoriq-eds-bootstrap.bb b/recipes-containers/qoriq-eds/qoriq-eds-bootstrap.bb
new file mode 100644
index 0000000..fb80deb
--- /dev/null
+++ b/recipes-containers/qoriq-eds/qoriq-eds-bootstrap.bb
@@ -0,0 +1,24 @@
+SUMMARY = "eds-bootstrap application binary"
+HOMEPAGE = "https://github.com/nxp/qoriq-eds-bootstrap.git"
+LICENSE = "NXP-Binary-EULA"
+LIC_FILES_CHKSUM = "file://NXP-Binary-EULA.txt;md5=685768ff8092cc783d95e3480cb9bdb1"
+
+SRC_URI = "git://github.com/NXP/qoriq-eds-bootstrap.git;nobranch=1 \
+    file://0001-fix-install-error.patch \
+"
+SRCREV = "72abfd9b61cc8a6d10e4808a87ff4ce1e2b99020"
+
+ARCH_qoriq-arm = "arm"
+ARCH_qoriq-arm64 = "arm64"
+
+S = "${WORKDIR}/git"
+
+do_compile[noexec] = "1"
+
+do_install () {
+    install -d ${D}/usr/bin
+    cp -r  ${S}/${ARCH}/* ${D}/usr/bin
+    chown -R root:root ${D}
+}
+
+INSANE_SKIP_${PN} += "already-stripped"
diff --git a/recipes-containers/qoriq-eds/qoriq-eds-bootstrap/0001-fix-install-error.patch b/recipes-containers/qoriq-eds/qoriq-eds-bootstrap/0001-fix-install-error.patch
new file mode 100644
index 0000000..81288f9
--- /dev/null
+++ b/recipes-containers/qoriq-eds/qoriq-eds-bootstrap/0001-fix-install-error.patch
@@ -0,0 +1,26 @@
+From 0def325c522c6c0df39562addab67e4fd150cb48 Mon Sep 17 00:00:00 2001
+From: Chunrong Guo <chunrong.guo@nxp.com>
+Date: Tue, 24 Apr 2018 16:25:57 +0800
+Subject: [PATCH] fix install error
+
+Signed-off-by: Chunrong Guo <chunrong.guo@nxp.com>
+---
+ Makefile | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/Makefile b/Makefile
+index d40c839..32c0abe 100644
+--- a/Makefile
++++ b/Makefile
+@@ -9,6 +9,6 @@ INSTALL ?= install
+ ARCH ?= arm64
+ 
+ install:
+-	$(INSTALL) -d --mode 755 $(INSTALL_DIR)/usr/local/bin
+-	sudo cp -r ${ARCH}/bootstrap-enroll $(INSTALL_DIR)/usr/local/bin/
++	$(INSTALL) -d --mode 755 $(INSTALL_DIR)/usr/bin
++	cp -r ${ARCH}/bootstrap-enroll $(INSTALL_DIR)/usr/bin/
+ 
+-- 
+2.7.4
+
-- 
2.7.4



^ permalink raw reply related	[flat|nested] 10+ messages in thread

* [PATCH 3/7] qoriq-eds-kubelet: add recipes
  2018-05-04  6:41 [PATCH 1/7] qoriq-edgescale-eds: add recipes chunrong.guo
  2018-05-04  6:41 ` [PATCH 2/7] qoriq-eds-bootstrap: " chunrong.guo
@ 2018-05-04  6:41 ` chunrong.guo
  2018-05-04  6:41 ` [PATCH 4/7] qoriq-kubelet-extras: " chunrong.guo
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 10+ messages in thread
From: chunrong.guo @ 2018-05-04  6:41 UTC (permalink / raw)
  To: meta-freescale; +Cc: Chunrong Guo

From: Chunrong Guo <chunrong.guo@nxp.com>

*include the following changes:
d3ada01 - Kubernetes version v1.7.0 file updates
14b32e4 - Merge pull request #48162 from yguo0905/automated-cherry-pick-of-#47549-upstream-release-1.7
4a4b04e - Merge pull request #48266 from piosz/automated-cherry-pick-of-#48066-upstream-release-1.7
e8b5441 - Revert "Decrese fluentd cpu request"
d420643 - Merge pull request #48218 from dnardo/automated-cherry-pick-of-#48004-upstream-release-1.7
3a79966 - Merge pull request #48155 from ajitak/automated-cherry-pick-of-#47892-upstream-release-1.7
3648549 - Merge pull request #48229 from caesarxuchao/automated-cherry-pick-of-#48205-#48183-#48118-upstream-release-1.7
5afafb6 - Merge pull request #48238 from caesarxuchao/automated-cherry-pick-of-#48235-upstream-release-1.7
d7bb1ef - Implement GetCapacity in container_manager_unsupported
77c5be4 - Merge pull request #48230 from caesarxuchao/automated-cherry-pick-of-#48123-upstream-release-1.7
641ace7 - Kubelet: Centralize Capacity discovery of standard resources in Container manager. Have storage derive node capacity from container manager. Move certain cAdvisor interfa
28c96d1 - Ensures node becomes schedulable at the end of tests that delete nodes
72c2705 - Fix kube-proxy panic when running with "--cleanup-iptables=true"

Signed-off-by: Chunrong Guo <chunrong.guo@nxp.com>
---
 recipes-containers/qoriq-eds/qoriq-eds-kubelet.bb  | 90 ++++++++++++++++++++++
 .../build-kube-toolchain-to-run-on-host.patch      | 19 +++++
 2 files changed, 109 insertions(+)
 create mode 100644 recipes-containers/qoriq-eds/qoriq-eds-kubelet.bb
 create mode 100644 recipes-containers/qoriq-eds/qoriq-eds-kubelet/build-kube-toolchain-to-run-on-host.patch

diff --git a/recipes-containers/qoriq-eds/qoriq-eds-kubelet.bb b/recipes-containers/qoriq-eds/qoriq-eds-kubelet.bb
new file mode 100644
index 0000000..26da900
--- /dev/null
+++ b/recipes-containers/qoriq-eds/qoriq-eds-kubelet.bb
@@ -0,0 +1,90 @@
+HOMEPAGE = "git://github.com/kubernetes/kubernetes"
+SUMMARY = "Production-Grade Container Scheduling and Management"
+DESCRIPTION = "Kubernetes is an open source system for managing containerized \
+applications across multiple hosts, providing basic mechanisms for deployment, \
+maintenance, and scaling of applications. \
+"
+
+SRC_URI = "git://github.com/kubernetes/kubernetes.git;nobranch=1;name=kubernetes \
+      file://build-kube-toolchain-to-run-on-host.patch \
+"
+SRCREV = "d3ada0119e776222f11ec7945e6d860061339aad"
+
+DEPENDS += "rsync-native \
+            coreutils-native \
+           "
+ALLOW_EMPTY_${PN} = "1"
+
+LICENSE = "Apache-2.0"
+LIC_FILES_CHKSUM = "file://src/import/LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57"
+
+GO_IMPORT = "import"
+
+inherit systemd
+inherit go
+inherit goarch
+
+do_compile() {
+        sed -i "s:export CC=.*-gcc$:export CC=${HOST_PREFIX}gcc:g" ${S}/src/import/hack/lib/golang.sh
+	export GOARCH="${TARGET_GOARCH}"
+	export GOROOT="${STAGING_LIBDIR_NATIVE}/${TARGET_SYS}/go"
+	export GOPATH="${S}/src/import:${S}/src/import/vendor"
+
+	# Pass the needed cflags/ldflags so that cgo
+	# can find the needed headers files and libraries
+	export CGO_ENABLED="1"
+	export CFLAGS=""
+	export LDFLAGS=""
+	export CGO_CFLAGS="${BUILDSDK_CFLAGS} --sysroot=${STAGING_DIR_TARGET}"
+	export CGO_LDFLAGS="${BUILDSDK_LDFLAGS} --sysroot=${STAGING_DIR_TARGET}"
+
+	# link fixups for compilation
+	rm -f ${S}/src/import/vendor/src
+	ln -sf ./ ${S}/src/import/vendor/src
+
+	export GOPATH="${S}/src/import/.gopath:${S}/src/import/vendor:${STAGING_DIR_TARGET}/${prefix}/local/go"
+	export GOROOT="${STAGING_DIR_NATIVE}/${nonarch_libdir}/${HOST_SYS}/go"
+
+	# Pass the needed cflags/ldflags so that cgo
+	# can find the needed headers files and libraries
+	export CGO_ENABLED="1"
+	export CGO_CFLAGS="${CFLAGS} --sysroot=${STAGING_DIR_TARGET}"
+	export CGO_LDFLAGS="${LDFLAGS} --sysroot=${STAGING_DIR_TARGET}"
+
+	cd ${S}/src/import
+        export KUBE_BUILD_PLATFORMS="${HOST_GOOS}/${BUILD_GOARCH}"
+	export GOARCH="${BUILD_GOARCH}"
+	make generated_files
+	export KUBE_BUILD_PLATFORMS="${HOST_GOOS}/${TARGET_GOARCH}"
+	export GOARCH="${TARGET_GOARCH}"
+	# to limit what is built, use 'WHAT', i.e. make WHAT=cmd/kubelet
+	make WHAT="/cmd/libs/go2idl/deepcopy-gen"
+        make WHAT=cmd/kubelet
+}
+
+do_install() {
+    install -d ${D}${bindir}
+    install -d ${D}${systemd_unitdir}/system/
+    install -d ${D}${systemd_unitdir}/system/kubelet.service.d/
+
+    install -d ${D}${sysconfdir}/kubernetes/manifests/
+
+    #install -m 755 -D ${S}/src/import/_output/bin/kube* ${D}/${bindir}
+    if ls ${S}/src/import/_output/local/bin/*/${TARGET_GOARCH}/kube* > /dev/null 2>&1 ; then
+        install -m 755 -D ${S}/src/import/_output/local/bin/*/${TARGET_GOARCH}/kube* ${D}/${bindir}
+    elif ls ${S}/src/import/_output/bin/kube* > /dev/null 2>&1 ; then
+        install -m 755 -D ${S}/src/import/_output/bin/kube* ${D}/${bindir}
+    fi
+    install -m 0644 ${S}/src/import/build/debs/kubelet.service  ${D}${systemd_unitdir}/system/
+}
+
+SYSTEMD_PACKAGES = "${@bb.utils.contains('DISTRO_FEATURES','systemd','kubelet','',d)}"
+SYSTEMD_SERVICE_kubelet = "${@bb.utils.contains('DISTRO_FEATURES','systemd','kubelet.service','',d)}"
+SYSTEMD_AUTO_ENABLE_kubelet = "enable"
+
+
+INHIBIT_PACKAGE_STRIP = "1"
+INSANE_SKIP_${PN} += "ldflags already-stripped"
+
+deltask compile_ptest_base
+BBCLASSEXTEND = "nativesdk"
diff --git a/recipes-containers/qoriq-eds/qoriq-eds-kubelet/build-kube-toolchain-to-run-on-host.patch b/recipes-containers/qoriq-eds/qoriq-eds-kubelet/build-kube-toolchain-to-run-on-host.patch
new file mode 100644
index 0000000..0bd26e2
--- /dev/null
+++ b/recipes-containers/qoriq-eds/qoriq-eds-kubelet/build-kube-toolchain-to-run-on-host.patch
@@ -0,0 +1,19 @@
+Upstream-Status: Inappropriate [embedded-specific]
+
+Signed-off-by: Chunrong Guo <chunrong.guo@nxp.com>
+
+--- a/src/import/hack/lib/golang.shold	2017-06-30 06:53:16.000000000 +0800
++++ b/src/import/hack/lib/golang.sh	2018-05-02 14:32:40.706915559 +0800
+@@ -668,9 +668,11 @@
+         parallel=false
+       fi
+     fi
+-
++    local goarch_backup=${GOARCH}
++    export GOARCH=$(go env GOHOSTARCH)
+     # First build the toolchain before building any other targets
+     kube::golang::build_kube_toolchain
++    export GOARCH="$goarch_backup"
+ 
+     kube::log::status "Generating bindata:" "${KUBE_BINDATAS[@]}"
+     for bindata in ${KUBE_BINDATAS[@]}; do
-- 
2.7.4



^ permalink raw reply related	[flat|nested] 10+ messages in thread

* [PATCH 4/7] qoriq-kubelet-extras: add recipes
  2018-05-04  6:41 [PATCH 1/7] qoriq-edgescale-eds: add recipes chunrong.guo
  2018-05-04  6:41 ` [PATCH 2/7] qoriq-eds-bootstrap: " chunrong.guo
  2018-05-04  6:41 ` [PATCH 3/7] qoriq-eds-kubelet: " chunrong.guo
@ 2018-05-04  6:41 ` chunrong.guo
  2018-05-04  6:41 ` [PATCH 5/7] qoriq-eds-puppet: " chunrong.guo
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 10+ messages in thread
From: chunrong.guo @ 2018-05-04  6:41 UTC (permalink / raw)
  To: meta-freescale; +Cc: Chunrong Guo

From: Chunrong Guo <chunrong.guo@nxp.com>

41d127f - update EULA to latest version
4b51fcc - Merge pull request #1 in DCCA/eds-kubelet from ~NXA16258/eds-kubelet:master to master
dbbde12 - kubelet: update to support both arm and arm64 platform
d4e78ef - add SCR.txt
d75f9f7 - Initial Commit

Signed-off-by: Chunrong Guo <chunrong.guo@nxp.com>
---
 .../qoriq-eds/qoriq-kubelet-extras.bb               | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)
 create mode 100644 recipes-containers/qoriq-eds/qoriq-kubelet-extras.bb

diff --git a/recipes-containers/qoriq-eds/qoriq-kubelet-extras.bb b/recipes-containers/qoriq-eds/qoriq-kubelet-extras.bb
new file mode 100644
index 0000000..a17b2d5
--- /dev/null
+++ b/recipes-containers/qoriq-eds/qoriq-kubelet-extras.bb
@@ -0,0 +1,21 @@
+SUMMARY = "NXP kubernetes configuration scripts"
+HOMEPAGE = "https://github.com/nxp/qoriq-eds-kubelet.git"
+LICENSE = "Apache-2.0"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=7c9045ec00cc0d6b6e0e09ee811da4a0"
+
+SRC_URI = "git://github.com/NXP/qoriq-eds-kubelet.git;nobranch=1"
+SRCREV = "4b51fccefe4620ccb44c9639055a0c7db8ddd87f"
+
+RDEPENDS_${PN} = "qoriq-eds-kubelet"
+
+S = "${WORKDIR}/git"
+
+do_compile[noexec] = "1"
+
+do_install() {
+    install -d ${D}/${bindir}/
+    install -d ${D}/${sysconfdir}/
+    install -m 655 ${S}/etc/kubernetes/* ${D}/${sysconfdir}
+    install -m 655 ${S}/scripts/*  ${D}/${bindir}
+}
+
-- 
2.7.4



^ permalink raw reply related	[flat|nested] 10+ messages in thread

* [PATCH 5/7] qoriq-eds-puppet: add recipes
  2018-05-04  6:41 [PATCH 1/7] qoriq-edgescale-eds: add recipes chunrong.guo
                   ` (2 preceding siblings ...)
  2018-05-04  6:41 ` [PATCH 4/7] qoriq-kubelet-extras: " chunrong.guo
@ 2018-05-04  6:41 ` chunrong.guo
  2018-05-04  6:41 ` [PATCH 6/7] mqtt: " chunrong.guo
  2018-05-04  6:41 ` [PATCH 7/7] est-client-go: " chunrong.guo
  5 siblings, 0 replies; 10+ messages in thread
From: chunrong.guo @ 2018-05-04  6:41 UTC (permalink / raw)
  To: meta-freescale; +Cc: Chunrong Guo

From: Chunrong Guo <chunrong.guo@nxp.com>

*include the following changes:
15fc857 - update EULA to latest version
62b2160 - add SCR.txt
afb06cb - fix restart problem
8d66e48 - Initial Commit

Signed-off-by: Chunrong Guo <chunrong.guo@nxp.com>
---
 recipes-containers/qoriq-eds/qoriq-eds-puppet.bb | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)
 create mode 100644 recipes-containers/qoriq-eds/qoriq-eds-puppet.bb

diff --git a/recipes-containers/qoriq-eds/qoriq-eds-puppet.bb b/recipes-containers/qoriq-eds/qoriq-eds-puppet.bb
new file mode 100644
index 0000000..332ef5b
--- /dev/null
+++ b/recipes-containers/qoriq-eds/qoriq-eds-puppet.bb
@@ -0,0 +1,19 @@
+SUMMARY = "Open source Puppet is a configuration management system"
+HOMEPAGE = "https://github.com/nxp/qoriq-eds-puppet.git"
+LICENSE = "NXP-EULA"
+LIC_FILES_CHKSUM = "file://EULA.txt;md5=d969f2c93b3905d4b628787ce5f8df4b"
+
+SRC_URI = "git://github.com/nxp/qoriq-eds-puppet.git;nobranch=1"
+SRCREV = "62b21601e045e472604cd6680a1a4eb835da0539"
+
+
+RDEPENDS_${PN} = "puppet"
+S = "${WORKDIR}/git"
+
+do_install() {
+    install -d ${D}${sysconfdir}/puppetlabs/puppet/
+    install -d ${D}${bindir}/
+
+    install -m 655 ${S}/puppet.sh ${D}${bindir}
+    install -m 655 ${S}/puppet.conf ${D}${sysconfdir}/puppetlabs/puppet/
+}
-- 
2.7.4



^ permalink raw reply related	[flat|nested] 10+ messages in thread

* [PATCH 6/7] mqtt: add recipes
  2018-05-04  6:41 [PATCH 1/7] qoriq-edgescale-eds: add recipes chunrong.guo
                   ` (3 preceding siblings ...)
  2018-05-04  6:41 ` [PATCH 5/7] qoriq-eds-puppet: " chunrong.guo
@ 2018-05-04  6:41 ` chunrong.guo
  2018-05-04  6:41 ` [PATCH 7/7] est-client-go: " chunrong.guo
  5 siblings, 0 replies; 10+ messages in thread
From: chunrong.guo @ 2018-05-04  6:41 UTC (permalink / raw)
  To: meta-freescale; +Cc: Chunrong Guo

From: Chunrong Guo <chunrong.guo@nxp.com>

*include the following changes:
b30bf69 - Merge branch 'master' of https://github.com/yosssi/gmq
31bcd32 - Fixed the comment of "version".
9d35a86 - Update README.md

* qoriq-edgescale-eds depends mqtt

Signed-off-by: Chunrong Guo <chunrong.guo@nxp.com>
---
 recipes-containers/qoriq-eds/mqtt_git.bb | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)
 create mode 100644 recipes-containers/qoriq-eds/mqtt_git.bb

diff --git a/recipes-containers/qoriq-eds/mqtt_git.bb b/recipes-containers/qoriq-eds/mqtt_git.bb
new file mode 100644
index 0000000..de383c4
--- /dev/null
+++ b/recipes-containers/qoriq-eds/mqtt_git.bb
@@ -0,0 +1,28 @@
+DESCRIPTION = "A golang registry for global request variables."
+HOMEPAGE = "https://github.com/Sirupsen/logrus"
+SECTION = "devel/go"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=2509f45544da1ecce869ce2de1aa44dd"
+
+SRCNAME = "mqtt"
+
+PKG_NAME = "github.com/yosssi/gmq"
+SRC_URI = "git://${PKG_NAME}.git"
+
+SRCREV = "b221999646da8ea48ff0796c2b0191aa510d062e"
+
+S = "${WORKDIR}/git"
+
+do_install() {
+	install -d ${D}${prefix}/local/go/src/${PKG_NAME}
+	cp -r ${S}/* ${D}${prefix}/local/go/src/${PKG_NAME}/
+}
+
+SYSROOT_PREPROCESS_FUNCS += "mqtt_sysroot_preprocess"
+
+mqtt_sysroot_preprocess () {
+    install -d ${SYSROOT_DESTDIR}${prefix}/local/go/src/${PKG_NAME}
+    cp -r ${D}${prefix}/local/go/src/${PKG_NAME} ${SYSROOT_DESTDIR}${prefix}/local/go/src/$(dirname ${PKG_NAME})
+}
+
+FILES_${PN} += "${prefix}/local/go/src/${PKG_NAME}/*"
-- 
2.7.4



^ permalink raw reply related	[flat|nested] 10+ messages in thread

* [PATCH 7/7] est-client-go: add recipes
  2018-05-04  6:41 [PATCH 1/7] qoriq-edgescale-eds: add recipes chunrong.guo
                   ` (4 preceding siblings ...)
  2018-05-04  6:41 ` [PATCH 6/7] mqtt: " chunrong.guo
@ 2018-05-04  6:41 ` chunrong.guo
  5 siblings, 0 replies; 10+ messages in thread
From: chunrong.guo @ 2018-05-04  6:41 UTC (permalink / raw)
  To: meta-freescale; +Cc: Chunrong Guo

From: Chunrong Guo <chunrong.guo@nxp.com>

*include the following changes:
14471c0 - Fix indentation.
e103235 - Merge branch 'master' of https://github.com/laurentluce/est-client-go
a81899f - Rely on pkcs7 lib to convert from pkcs7 to pem, instead of using openssl.
0ee2ed3 - Update Client structure.
79813ac - Update README.md
0ce2f31 - Update README.md
630f918 - Update README.md
1955bc0 - Update README with more comments.
20700b3 - Update README.
9691805 - golint.
76aff0e - Update README.md
2aa555d - Update README.
8dce887 - Enroll and Reenroll.
3caa92e - Basic CaCerts.
0d9ae88 - Initial commit

*qoriq-edgescale-eds depends est-client-go

Signed-off-by: Chunrong Guo <chunrong.guo@nxp.com>
---
 recipes-containers/qoriq-eds/est-client-go_git.bb | 28 +++++++++++++++++++++++
 1 file changed, 28 insertions(+)
 create mode 100644 recipes-containers/qoriq-eds/est-client-go_git.bb

diff --git a/recipes-containers/qoriq-eds/est-client-go_git.bb b/recipes-containers/qoriq-eds/est-client-go_git.bb
new file mode 100644
index 0000000..afaf233
--- /dev/null
+++ b/recipes-containers/qoriq-eds/est-client-go_git.bb
@@ -0,0 +1,28 @@
+DESCRIPTION = "A golang registry for global request variables."
+HOMEPAGE = "https://github.com/Sirupsen/logrus"
+SECTION = "devel/go"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=b6b7e206ebc611ea880bb400fd48de48"
+
+SRCNAME = "mqtt"
+
+PKG_NAME = "github.com/laurentluce/est-client-go"
+SRC_URI = "git://${PKG_NAME}.git"
+
+SRCREV = "14471c0ce01a9b67577ff1eeb0241bced09d387f"
+
+S = "${WORKDIR}/git"
+
+do_install() {
+	install -d ${D}${prefix}/local/go/src/${PKG_NAME}
+	cp -r ${S}/* ${D}${prefix}/local/go/src/${PKG_NAME}/
+}
+
+SYSROOT_PREPROCESS_FUNCS += "est_client_go_sysroot_preprocess"
+
+est_client_go_sysroot_preprocess () {
+    install -d ${SYSROOT_DESTDIR}${prefix}/local/go/src/${PKG_NAME}
+    cp -r ${D}${prefix}/local/go/src/${PKG_NAME} ${SYSROOT_DESTDIR}${prefix}/local/go/src/$(dirname ${PKG_NAME})
+}
+
+FILES_${PN} += "${prefix}/local/go/src/${PKG_NAME}/*"
-- 
2.7.4



^ permalink raw reply related	[flat|nested] 10+ messages in thread

* Re: [PATCH 2/7] qoriq-eds-bootstrap: add recipes
  2018-05-04  6:41 ` [PATCH 2/7] qoriq-eds-bootstrap: " chunrong.guo
@ 2018-05-22 20:59   ` Otavio Salvador
  2018-05-23  2:16     ` Zhenhua Luo
  0 siblings, 1 reply; 10+ messages in thread
From: Otavio Salvador @ 2018-05-22 20:59 UTC (permalink / raw)
  To: Chunrong Guo; +Cc: meta-freescale Mailing List

On Fri, May 4, 2018 at 3:41 AM,  <chunrong.guo@nxp.com> wrote:
> From: Chunrong Guo <chunrong.guo@nxp.com>
>
> *include the following changes:
> 72abfd9 - update the appendix content
> 0f0fdaf - update License
> ff0f925 - Edgescale bootstrap certificate enroll app
>
> Signed-off-by: Chunrong Guo <chunrong.guo@nxp.com>

What is this? and what is the goal?

-- 
Otavio Salvador                             O.S. Systems
http://www.ossystems.com.br        http://code.ossystems.com.br
Mobile: +55 (53) 9 9981-7854          Mobile: +1 (347) 903-9750


^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [PATCH 2/7] qoriq-eds-bootstrap: add recipes
  2018-05-22 20:59   ` Otavio Salvador
@ 2018-05-23  2:16     ` Zhenhua Luo
  2018-05-23  2:42       ` Otavio Salvador
  0 siblings, 1 reply; 10+ messages in thread
From: Zhenhua Luo @ 2018-05-23  2:16 UTC (permalink / raw)
  To: Otavio Salvador, C.r. Guo; +Cc: meta-freescale Mailing List

This is the agent software which runs on the end devices to communicate with the NXP edge computing infrastructure (EdgeScale).

Regarding the Edge Computing framework, more details is in https://www.nxp.com/support/developer-resources/run-time-software/linux-software-and-development-tools/edgescale-for-secure-edge-computing:EDGESCALE. 


Best Regards,

Zhenhua

-----Original Message-----
From: meta-freescale-bounces@yoctoproject.org [mailto:meta-freescale-bounces@yoctoproject.org] On Behalf Of Otavio Salvador
Sent: Wednesday, May 23, 2018 4:59 AM
To: C.r. Guo <chunrong.guo@nxp.com>
Cc: meta-freescale Mailing List <meta-freescale@yoctoproject.org>
Subject: Re: [meta-freescale] [PATCH 2/7] qoriq-eds-bootstrap: add recipes

On Fri, May 4, 2018 at 3:41 AM,  <chunrong.guo@nxp.com> wrote:
> From: Chunrong Guo <chunrong.guo@nxp.com>
>
> *include the following changes:
> 72abfd9 - update the appendix content
> 0f0fdaf - update License
> ff0f925 - Edgescale bootstrap certificate enroll app
>
> Signed-off-by: Chunrong Guo <chunrong.guo@nxp.com>

What is this? and what is the goal?

-- 
Otavio Salvador                             O.S. Systems
https://emea01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.ossystems.com.br&data=02%7C01%7Czhenhua.luo%40nxp.com%7C41d5fa0822e24997b4e508d5c026eeda%7C686ea1d3bc2b4c6fa92cd99c5c301635%7C0%7C0%7C636626195812059725&sdata=iK1Fh3eDkfrrygYtGmiNGKmFWYFzoEANO2xDe21H230%3D&reserved=0        https://emea01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fcode.ossystems.com.br&data=02%7C01%7Czhenhua.luo%40nxp.com%7C41d5fa0822e24997b4e508d5c026eeda%7C686ea1d3bc2b4c6fa92cd99c5c301635%7C0%7C0%7C636626195812059725&sdata=Ao8hZuXeVWPXd8aHrkZ86uIzxmvQS8ZocRk%2Fb0jt8Pw%3D&reserved=0
Mobile: +55 (53) 9 9981-7854          Mobile: +1 (347) 903-9750
-- 
_______________________________________________
meta-freescale mailing list
meta-freescale@yoctoproject.org
https://emea01.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.yoctoproject.org%2Flistinfo%2Fmeta-freescale&data=02%7C01%7Czhenhua.luo%40nxp.com%7C41d5fa0822e24997b4e508d5c026eeda%7C686ea1d3bc2b4c6fa92cd99c5c301635%7C0%7C0%7C636626195812059725&sdata=ZuwU9J%2FqsRbEwYIt48VTboZ%2BaCUFLrgQIKDP6g%2BJXmY%3D&reserved=0


^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [PATCH 2/7] qoriq-eds-bootstrap: add recipes
  2018-05-23  2:16     ` Zhenhua Luo
@ 2018-05-23  2:42       ` Otavio Salvador
  0 siblings, 0 replies; 10+ messages in thread
From: Otavio Salvador @ 2018-05-23  2:42 UTC (permalink / raw)
  To: Zhenhua Luo; +Cc: meta-freescale Mailing List, C.r. Guo

On Tue, May 22, 2018 at 11:16 PM, Zhenhua Luo <zhenhua.luo@nxp.com> wrote:
> This is the agent software which runs on the end devices to communicate with the NXP edge computing infrastructure (EdgeScale).
>
> Regarding the Edge Computing framework, more details is in https://www.nxp.com/support/developer-resources/run-time-software/linux-software-and-development-tools/edgescale-for-secure-edge-computing:EDGESCALE.

I think it is better if we create a meta-nxp-edgescale layer, this is
not BSP related.

-- 
Otavio Salvador                             O.S. Systems
http://www.ossystems.com.br        http://code.ossystems.com.br
Mobile: +55 (53) 9 9981-7854          Mobile: +1 (347) 903-9750


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2018-05-23  4:49 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-05-04  6:41 [PATCH 1/7] qoriq-edgescale-eds: add recipes chunrong.guo
2018-05-04  6:41 ` [PATCH 2/7] qoriq-eds-bootstrap: " chunrong.guo
2018-05-22 20:59   ` Otavio Salvador
2018-05-23  2:16     ` Zhenhua Luo
2018-05-23  2:42       ` Otavio Salvador
2018-05-04  6:41 ` [PATCH 3/7] qoriq-eds-kubelet: " chunrong.guo
2018-05-04  6:41 ` [PATCH 4/7] qoriq-kubelet-extras: " chunrong.guo
2018-05-04  6:41 ` [PATCH 5/7] qoriq-eds-puppet: " chunrong.guo
2018-05-04  6:41 ` [PATCH 6/7] mqtt: " chunrong.guo
2018-05-04  6:41 ` [PATCH 7/7] est-client-go: " chunrong.guo

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.