aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNicolas Dechesne <ndechesne@users.noreply.github.com>2018-09-05 20:04:15 +0000
committerGitHub <noreply@github.com>2018-09-05 20:04:15 +0000
commit7facc5174d912dbbae3d1253fc9a0f9295fc93d1 (patch)
treec803b34fce3405ae5a282f70202a1c139fa31587
parent9c6df8303da9071d7d5bdd799d5dcd1ac32a3703 (diff)
parent19b14065fe16ba53a29e3ea2c62e11135725ffb3 (diff)
downloadmeta-qcom-7facc5174d912dbbae3d1253fc9a0f9295fc93d1.tar.gz
meta-qcom-7facc5174d912dbbae3d1253fc9a0f9295fc93d1.tar.bz2
meta-qcom-7facc5174d912dbbae3d1253fc9a0f9295fc93d1.zip
Merge pull request #76 from alimon/sumo
Add diag tool into testing ramdisk image
-rw-r--r--recipes-test/diag/diag_git.bb21
-rw-r--r--recipes-test/images/initramfs-bootrr-image.bb2
2 files changed, 22 insertions, 1 deletions
diff --git a/recipes-test/diag/diag_git.bb b/recipes-test/diag/diag_git.bb
new file mode 100644
index 0000000..640c537
--- /dev/null
+++ b/recipes-test/diag/diag_git.bb
@@ -0,0 +1,21 @@
+SUMMARY = "DIAG implements routing of diagnostics related messages between host and various subsystems."
+HOMEPAGE = "https://github.com/andersson/diag"
+LICENSE = "BSD-3-Clause"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=f6832ae4af693c6f31ffd931e25ef580"
+
+SRC_URI = "git://github.com/andersson/diag.git;protocol=https"
+
+PV = "0.0+git${SRCPV}"
+SRCREV = "9de0697ec5447dddbc0caf5744042e41a3a7c2ea"
+
+S = "${WORKDIR}/git"
+
+DEPENDS = "qrtr udev"
+
+do_compile () {
+ oe_runmake
+}
+
+do_install () {
+ oe_runmake install 'DESTDIR=${D}'
+}
diff --git a/recipes-test/images/initramfs-bootrr-image.bb b/recipes-test/images/initramfs-bootrr-image.bb
index 93054bd..d1c4859 100644
--- a/recipes-test/images/initramfs-bootrr-image.bb
+++ b/recipes-test/images/initramfs-bootrr-image.bb
@@ -1,6 +1,6 @@
DESCRIPTION = "Small ramdisk image for running bootrr"
-PACKAGE_INSTALL = "bootrr-init busybox base-passwd ${ROOTFS_BOOTSTRAP_INSTALL} qrtr-apps udev bootrr rmtfs gptfdisk lava-test-shell"
+PACKAGE_INSTALL = "bootrr-init busybox base-passwd ${ROOTFS_BOOTSTRAP_INSTALL} qrtr-apps udev bootrr rmtfs gptfdisk lava-test-shell diag"
# Do not pollute the initrd image with rootfs features
IMAGE_FEATURES = ""