Skip to contentSkip to conversation

sysdig: add new recipe

PATCH Superseded Bian Naimeng 2 participants 2 messages Jun 29, 2015 – Aug 20, 2015

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 sysdig: add new recipe

sysdig is a tool for system-level exploration and troubleshooting

---
 meta-oe/recipes-extended/sysdig/sysdig_0.1.101.bb | 32 +++++++++++++++++++++++
 1 file changed, 32 insertions(+)
 create mode 100644 meta-oe/recipes-extended/sysdig/sysdig_0.1.101.bb
meta-oe/recipes-extended/sysdig/sysdig_0.1.101.bb new file +32 -0
new file mode 100644
index 0000000..72a0386
@@ -0,0 +1,32 @@
+SUMMARY = "A New System Troubleshooting Tool Built for the Way You Work"
+DESCRIPTION = "Sysdig is open source, system-level exploration: capture \
+system state and activity from a running Linux instance, then save, \
+filter and analyze."
+HOMEPAGE = "http://www.sysdig.org/"
+LICENSE = "GPLv2"
+LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
+
+inherit cmake pkgconfig
+
+DEPENDS = "luajit zlib ncurses"
+RDEPENDS_${PN} = "bash"
+
+
+SRC_URI = "https://github.com/draios/sysdig/archive/${PV}.tar.gz"
+
+SRC_URI[md5sum] = "5fe96a3a0fd98b2157a40cb29af41afc"
+SRC_URI[sha256sum] = "6995e39be565514901b5cb587689ee2efbf8359293e4e597362382cccf0e9db6"
+
+DIR_ETC="/etc"
+EXTRA_OECMAKE = ' -DUSE_BUNDLED_LUAJIT="OFF" \
+                  -DUSE_BUNDLED_ZLIB="OFF" \
+                  -DBUILD_DRIVER="OFF" \
+                  -DUSE_BUNDLED_NCURSES="OFF" \
+                  -DDIR_ETC="${DIR_ETC}" \
+                '
+
+FILES_${PN} += " \
+    ${DIR_ETC}/* \
+    ${datadir}/zsh/* \ 
+    ${prefix}/src/*  \
+"
Signature · 1 line
1.8.4.2
#1 lore raw
Quoted 19 lines · Bian Naimeng

sysdig is a tool for system-level exploration and troubleshooting

---
 meta-oe/recipes-extended/sysdig/sysdig_0.1.101.bb | 32 +++++++++++++++++++++++
 1 file changed, 32 insertions(+)
 create mode 100644 meta-oe/recipes-extended/sysdig/sysdig_0.1.101.bb
meta-oe/recipes-extended/sysdig/sysdig_0.1.101.bb new file +5 -0
new file mode 100644
index 0000000..72a0386
@@ -0,0 +1,32 @@
+SUMMARY = "A New System Troubleshooting Tool Built for the Way You Work"
+DESCRIPTION = "Sysdig is open source, system-level exploration: capture \
+system state and activity from a running Linux instance, then save, \
+filter and analyze."
+HOMEPAGE = "http://www.sysdig.org/"

meta-oe/recipes-extended/sysdig/sysdig_0.1.101.bb line 15

Quoted 10 lines
meta-oe/recipes-extended/sysdig/sysdig_0.1.101.bb new file +10 -0
+LICENSE = "GPLv2"
+LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
+
+inherit cmake pkgconfig
+
+DEPENDS = "luajit zlib ncurses"
+RDEPENDS_${PN} = "bash"
+
+
+SRC_URI = "https://github.com/draios/sysdig/archive/${PV}.tar.gz"

Don't use github archives, they are regenerated from time to time with different checksums and they have stupid filenames (prone to collision with other recipes).

Quoted 25 lines
meta-oe/recipes-extended/sysdig/sysdig_0.1.101.bb new file +17 -0
+
+SRC_URI[md5sum] = "5fe96a3a0fd98b2157a40cb29af41afc"
+SRC_URI[sha256sum] = "6995e39be565514901b5cb587689ee2efbf8359293e4e597362382cccf0e9db6"
+
+DIR_ETC="/etc"
+EXTRA_OECMAKE = ' -DUSE_BUNDLED_LUAJIT="OFF" \
+                  -DUSE_BUNDLED_ZLIB="OFF" \
+                  -DBUILD_DRIVER="OFF" \
+                  -DUSE_BUNDLED_NCURSES="OFF" \
+                  -DDIR_ETC="${DIR_ETC}" \
+                '
+
+FILES_${PN} += " \
+    ${DIR_ETC}/* \
+    ${datadir}/zsh/* \ 
+    ${prefix}/src/*  \
+"
Signature · 7 lines
1.8.4.2

-- 
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel
Signature · 1 line
Martin 'JaMa' Jansa     jabber: [email protected]