Skip to contentSkip to conversation

bootchart2: fixes a BOOTLOG_DEST typo

PATCH Superseded Ming Liu 2 participants 2 messages Aug 16, 2016

v2 of 3 Superseded Latest is v3 →

lore
Share & tools
lore

Ming Liu

author
#0 lore raw

PATCH v2 1/1 bootchart2: fixes a BOOTLOG_DEST typo

From: Ming Liu <[email protected]>

A flaw was observed in bootchartd that BUILDLOG_DEST should actually be BOOTLOG_DEST, this seems to be a typo or mix-up which has been fixed in upstream.

Cherry pick the fix since bootchart2 0.14.8 is still the newest release so far.

---
 ...ed-Missing-default-value-for-BOOTLOG_DEST.patch | 30 ++++++++++++++++++++++
 .../bootchart2/bootchart2_0.14.8.bb                |  1 +
 2 files changed, 31 insertions(+)
 create mode 100644 meta/recipes-devtools/bootchart2/bootchart2/0001-Fixed-Missing-default-value-for-BOOTLOG_DEST.patch
meta/recipes-devtools/bootchart2/bootchart2/0001-Fixed-Missing-default-value-for-BOOTLOG_DEST.patch new file +30 -0
new file mode 100644
index 0000000..f710461
@@ -0,0 +1,30 @@
+From 2225ab2038bfe50f16f972e39d89bcd0bd7767f5 Mon Sep 17 00:00:00 2001
+From: Steffen Pankratz <[email protected]>
+Date: Tue, 9 Feb 2016 13:49:42 +0100
+Subject: [PATCH] Fixed: Missing default value for BOOTLOG_DEST
+
+Upstream-Status: Backport
+
+BUILDLOG_DEST seems to be a typo or mix-up which was introduced with 281d1df80884bf2969c509ec60ee8a6593524fe8
+
+Signed-off-by: Steffen Pankratz <[email protected]>
+---
+ bootchartd.in | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/bootchartd.in b/bootchartd.in
+index f58ab9e..30af677 100755
+--- a/bootchartd.in
++++ b/bootchartd.in
+@@ -37,7 +37,7 @@ PATH="/sbin:/bin:/usr/sbin:/usr/bin:$PATH"
+ 
+ # Defaults, in case we can't find our configuration
+ SAMPLE_HZ=50
+-BUILDLOG_DEST=/var/log/bootchart.tgz
++BOOTLOG_DEST=/var/log/bootchart.tgz
+ AUTO_RENDER="no"
+ AUTO_RENDER_DIR="/var/log"
+ AUTO_RENDER_FORMAT="png"
+-- 
+1.9.1
+
meta/recipes-devtools/bootchart2/bootchart2_0.14.8.bb +1 -0
index d0555c3..e6b6611 100644
@@ -92,6 +92,7 @@ UPSTREAM_CHECK_GITTAGREGEX = "(?P<pver>\d+\.\d+(\.\d+)*)"
 
 SRC_URI = "git://github.com/mmeeks/bootchart.git \
            file://bootchartd_stop.sh \
+           file://0001-Fixed-Missing-default-value-for-BOOTLOG_DEST.patch \
           "
 
 S = "${WORKDIR}/git"
Signature · 1 line
1.9.1
#1 lore raw
Quoted 13 lines · Ming Liu

+++ b/meta/recipes-devtools/bootchart2/bootchart2/0001- Fixed-Missing-default-value-for-BOOTLOG_DEST.patch

meta/recipes-devtools/bootchart2/bootchart2/0001-Fixed-Missing-default-value-for-BOOTLOG_DEST.patch new file +8 -0
@@ -0,0 +1,30 @@
+From 2225ab2038bfe50f16f972e39d89bcd0bd7767f5 Mon Sep 17 00:00:00 2001
+From: Steffen Pankratz <[email protected]>
+Date: Tue, 9 Feb 2016 13:49:42 +0100
+Subject: [PATCH] Fixed: Missing default value for BOOTLOG_DEST
+
+Upstream-Status: Backport
+
+BUILDLOG_DEST seems to be a typo or mix-up which was introduced with

281d1df80884bf2969c509ec60ee8a6593524fe8

Review

Quoted 2 lines
(quoted diff) +2 -0
+
+Signed-off-by: Steffen Pankratz <[email protected]>

Steffen didn't sign this off for oe-core, you did, so the patch should have *your* s-o-b.

Ross