Skip to contentSkip to conversation

Add analyze-boot

RFC PATCH NAK Soren Brinkmann 2 participants 3 messages Aug 25, 2015 – Aug 27, 2015

lore
Share & tools
lore
#0 lore raw

RFC PATCH 1/1 Add analyze-boot

---
Hi,

I saw a demo of the analyze_suspend.py script recently and thought it to be a nice little utility. Hence, I'd love to have it easily added in my OE flow and was looking for an appropriate place. I hope, to have found an OK location with meta-oe/recipes-benchmark?

Apart from the location, the tool does depend a couple of kernel configuration option. Could anybody provide some resources/guidance on what the best way for specifying those would be?

Thanks,
Sören

 .../analyze-suspend/analyze-suspend_git.bb           | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)
 create mode 100644 meta-oe/recipes-benchmark/analyze-suspend/analyze-suspend_git.bb
meta-oe/recipes-benchmark/analyze-suspend/analyze-suspend_git.bb new file +20 -0
new file mode 100644
index 000000000000..8ec3076ba186
@@ -0,0 +1,20 @@
+SUMMARY = "Analyze Suspend"
+HOMEPAGE = "https://01.org/suspendresume"
+LICENSE = "GPLv2"
+LIC_FILES_CHKSUM = "file://COPYING;md5=12f884d2ae1ff87c09e5b7ccc2c4ca7e"
+
+RDEPENDS_${PN} += "python-core python-datetime python-stringold"
+
+SRCREV = "${AUTOREV}"
+SRC_URI = "git://github.com/01org/suspendresume.git;protocol=https"
+S = "${WORKDIR}/git"
+
+do_install() {
+	install -d -m 0755 ${D}${bindir}
+	install -m 0755 analyze_suspend.py ${D}${bindir}
+
+	install -d -m 0755 ${D}${docdir}/analyze-suspend
+	install -m 0755 README ${D}${docdir}/analyze-suspend
+}
+
+BBCLASSEXTEND = "native"
Signature · 1 line
2.5.0.3.g52d66ab
#1 lore raw
Quoted 8 lines · Soren Brinkmann

---
Hi,

I saw a demo of the analyze_suspend.py script recently and thought it to be a nice little utility. Hence, I'd love to have it easily added in my OE flow and was looking for an appropriate place. I hope, to have found an OK location with meta-oe/recipes-benchmark?

Seems OK to me.

Quoted 3 lines

Apart from the location, the tool does depend a couple of kernel configuration option. Could anybody provide some resources/guidance on what the best way for specifying those would be?

Just document them in the recipe.

Quoted 14 lines

Thanks,
Sören

 .../analyze-suspend/analyze-suspend_git.bb           | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)
 create mode 100644 meta-oe/recipes-benchmark/analyze-suspend/analyze-suspend_git.bb
meta-oe/recipes-benchmark/analyze-suspend/analyze-suspend_git.bb new file +0 -0
new file mode 100644
index 000000000000..8ec3076ba186

meta-oe/recipes-benchmark/analyze-suspend/analyze-suspend_git.bb line 8

Quoted 8 lines
meta-oe/recipes-benchmark/analyze-suspend/analyze-suspend_git.bb new file +8 -0
@@ -0,0 +1,20 @@
+SUMMARY = "Analyze Suspend"
+HOMEPAGE = "https://01.org/suspendresume"
+LICENSE = "GPLv2"
+LIC_FILES_CHKSUM = "file://COPYING;md5=12f884d2ae1ff87c09e5b7ccc2c4ca7e"
+
+RDEPENDS_${PN} += "python-core python-datetime python-stringold"
+
+SRCREV = "${AUTOREV}"

NAK, use known-to-work revision.

Quoted 20 lines
meta-oe/recipes-benchmark/analyze-suspend/analyze-suspend_git.bb new file +12 -0
+SRC_URI = "git://github.com/01org/suspendresume.git;protocol=https"
+S = "${WORKDIR}/git"
+
+do_install() {
+	install -d -m 0755 ${D}${bindir}
+	install -m 0755 analyze_suspend.py ${D}${bindir}
+
+	install -d -m 0755 ${D}${docdir}/analyze-suspend
+	install -m 0755 README ${D}${docdir}/analyze-suspend
+}
+
+BBCLASSEXTEND = "native"
Signature · 7 lines
2.5.0.3.g52d66ab

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

Hi Martin,

Quoted 10 lines · Martin Jansa
Quoted 8 lines · Soren Brinkmann

---
Hi,

I saw a demo of the analyze_suspend.py script recently and thought it to be a nice little utility. Hence, I'd love to have it easily added in my OE flow and was looking for an appropriate place. I hope, to have found an OK location with meta-oe/recipes-benchmark?

Quoted 7 lines

Seems OK to me.

Quoted 3 lines

Apart from the location, the tool does depend a couple of kernel configuration option. Could anybody provide some resources/guidance on what the best way for specifying those would be?

Just document them in the recipe.

OK. That's easy.

Quoted 9 lines
Quoted 9 lines

Thanks,
Sören

 .../analyze-suspend/analyze-suspend_git.bb           | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)
 create mode 100644 meta-oe/recipes-benchmark/analyze-suspend/analyze-suspend_git.bb
Quoted 16 lines
Quoted 6 lines
meta-oe/recipes-benchmark/analyze-suspend/analyze-suspend_git.bb new file +0 -0
new file mode 100644
index 000000000000..8ec3076ba186

meta-oe/recipes-benchmark/analyze-suspend/analyze-suspend_git.bb line 8

Quoted 8 lines
meta-oe/recipes-benchmark/analyze-suspend/analyze-suspend_git.bb new file +8 -0
@@ -0,0 +1,20 @@
+SUMMARY = "Analyze Suspend"
+HOMEPAGE = "https://01.org/suspendresume"
+LICENSE = "GPLv2"
+LIC_FILES_CHKSUM = "file://COPYING;md5=12f884d2ae1ff87c09e5b7ccc2c4ca7e"
+
+RDEPENDS_${PN} += "python-core python-datetime python-stringold"
+
+SRCREV = "${AUTOREV}"

NAK, use known-to-work revision.

OK. I just pin it to the latest available.

A v2 is on its way.

Thanks,
Sören