From: Chunrong Guo <chunrong....@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....@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....@nxp.com> +Date: Tue, 24 Apr 2018 16:25:57 +0800 +Subject: [PATCH] fix install error + +Signed-off-by: Chunrong Guo <chunrong....@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 -- _______________________________________________ meta-freescale mailing list meta-freescale@yoctoproject.org https://lists.yoctoproject.org/listinfo/meta-freescale