All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] bootchart2: fixes a BOOTLOG_DEST typo
@ 2016-08-15 14:58 Ming Liu
  2016-08-15 15:29 ` Burton, Ross
  0 siblings, 1 reply; 2+ messages in thread
From: Ming Liu @ 2016-08-15 14:58 UTC (permalink / raw)
  To: openembedded-core; +Cc: yue.tao, Ming Liu

From: Ming Liu <peter.x.liu@external.atlascopco.com>

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.

Signed-off-by: Ming Liu <peter.x.liu@external.atlascopco.com>
---
 ...ed-Missing-default-value-for-BOOTLOG_DEST.patch | 28 ++++++++++++++++++++++
 .../bootchart2/bootchart2_0.14.8.bb                |  1 +
 2 files changed, 29 insertions(+)
 create mode 100644 meta/recipes-devtools/bootchart2/bootchart2/0001-Fixed-Missing-default-value-for-BOOTLOG_DEST.patch

diff --git a/meta/recipes-devtools/bootchart2/bootchart2/0001-Fixed-Missing-default-value-for-BOOTLOG_DEST.patch b/meta/recipes-devtools/bootchart2/bootchart2/0001-Fixed-Missing-default-value-for-BOOTLOG_DEST.patch
new file mode 100644
index 0000000..dd76ce7
--- /dev/null
+++ b/meta/recipes-devtools/bootchart2/bootchart2/0001-Fixed-Missing-default-value-for-BOOTLOG_DEST.patch
@@ -0,0 +1,28 @@
+From 2225ab2038bfe50f16f972e39d89bcd0bd7767f5 Mon Sep 17 00:00:00 2001
+From: Steffen Pankratz <kratz00@gmx.de>
+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
+---
+ 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
+
diff --git a/meta/recipes-devtools/bootchart2/bootchart2_0.14.8.bb b/meta/recipes-devtools/bootchart2/bootchart2_0.14.8.bb
index d0555c3..e6b6611 100644
--- a/meta/recipes-devtools/bootchart2/bootchart2_0.14.8.bb
+++ b/meta/recipes-devtools/bootchart2/bootchart2_0.14.8.bb
@@ -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"
-- 
1.9.1



^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] bootchart2: fixes a BOOTLOG_DEST typo
  2016-08-15 14:58 [PATCH] bootchart2: fixes a BOOTLOG_DEST typo Ming Liu
@ 2016-08-15 15:29 ` Burton, Ross
  0 siblings, 0 replies; 2+ messages in thread
From: Burton, Ross @ 2016-08-15 15:29 UTC (permalink / raw)
  To: Ming Liu; +Cc: Yue Tao, Ming Liu, OE-core

[-- Attachment #1: Type: text/plain, Size: 624 bytes --]

On 15 August 2016 at 15:58, Ming Liu <liu.ming50@gmail.com> wrote:

> +++ b/meta/recipes-devtools/bootchart2/bootchart2/0001-
> Fixed-Missing-default-value-for-BOOTLOG_DEST.patch
> @@ -0,0 +1,28 @@
> +From 2225ab2038bfe50f16f972e39d89bcd0bd7767f5 Mon Sep 17 00:00:00 2001
> +From: Steffen Pankratz <kratz00@gmx.de>
> +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
>

Missing signed-off-by.

Ross

[-- Attachment #2: Type: text/html, Size: 1105 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-08-15 15:29 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-08-15 14:58 [PATCH] bootchart2: fixes a BOOTLOG_DEST typo Ming Liu
2016-08-15 15:29 ` Burton, Ross

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.