Re: [oe] [meta-oe][PATCH 1/1] busybox: remove bbappend

2013-09-03 Thread Martin Jansa
On Fri, Aug 23, 2013 at 12:33:37PM +0100, Paul Eggleton wrote:
 This bbappend has effectively been merged into OE-Core, although the
 log buffer size is the busybox default rather than 64K - layers may
 change this either by providing their own /etc/default/busybox-syslog
 file (when using systemd) or modifying the
 CONFIG_FEATURE_IPC_SYSLOG_BUFFER_SIZE option in busybox's build time
 config.

Applied, thanks!

 
 Signed-off-by: Paul Eggleton paul.eggle...@linux.intel.com
 ---
  meta-oe/recipes-core/busybox/busybox/busybox-syslog.default |  1 -
  meta-oe/recipes-core/busybox/busybox_1.21.1.bbappend| 11 ---
  2 files changed, 12 deletions(-)
  delete mode 100644 
 meta-oe/recipes-core/busybox/busybox/busybox-syslog.default
  delete mode 100644 meta-oe/recipes-core/busybox/busybox_1.21.1.bbappend
 
 diff --git a/meta-oe/recipes-core/busybox/busybox/busybox-syslog.default 
 b/meta-oe/recipes-core/busybox/busybox/busybox-syslog.default
 deleted file mode 100644
 index 8a21e6d..000
 --- a/meta-oe/recipes-core/busybox/busybox/busybox-syslog.default
 +++ /dev/null
 @@ -1 +0,0 @@
 -OPTIONS=-C64
 diff --git a/meta-oe/recipes-core/busybox/busybox_1.21.1.bbappend 
 b/meta-oe/recipes-core/busybox/busybox_1.21.1.bbappend
 deleted file mode 100644
 index 7a2f0c3..000
 --- a/meta-oe/recipes-core/busybox/busybox_1.21.1.bbappend
 +++ /dev/null
 @@ -1,11 +0,0 @@
 -# look for files in the layer first
 -FILESEXTRAPATHS_prepend := ${THISDIR}/${PN}:
 -
 -SRC_URI += file://busybox-syslog.default
 -
 -do_install_append() {
 -install -d ${D}${sysconfdir}/default
 -install -m 0644 ${WORKDIR}/busybox-syslog.default 
 ${D}${sysconfdir}/default/busybox-syslog
 -}
 -
 -FILES_${PN}-syslog += ${sysconfdir}/default/busybox-syslog
 -- 
 1.8.1.2
 
 ___
 Openembedded-devel mailing list
 Openembedded-devel@lists.openembedded.org
 http://lists.openembedded.org/mailman/listinfo/openembedded-devel

-- 
Martin 'JaMa' Jansa jabber: martin.ja...@gmail.com


signature.asc
Description: Digital signature
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


Re: [oe] [meta-oe][PATCH 1/1] busybox: remove bbappend

2013-08-29 Thread Otavio Salvador
On Mon, Aug 26, 2013 at 6:53 PM, Paul Eggleton
paul.eggle...@linux.intel.com wrote:
 On Monday 26 August 2013 14:39:10 Khem Raj wrote:
 On Aug 24, 2013, at 2:47 AM, Paul Eggleton paul.eggle...@linux.intel.com
 wrote:
  On Friday 23 August 2013 10:36:15 Khem Raj wrote:
  On Aug 23, 2013, at 4:33 AM, Paul Eggleton
  paul.eggle...@linux.intel.com wrote:
  This bbappend has effectively been merged into OE-Core, although the
  log buffer size is the busybox default rather than 64K - layers may
  change this either by providing their own /etc/default/busybox-syslog
  file (when using systemd) or modifying the
  CONFIG_FEATURE_IPC_SYSLOG_BUFFER_SIZE option in busybox's build time
  config
 
  I think it would be better if we added this option via a kconfig fragment
  in OE-Core if DISTRO_FEATURES contained systemd and then remove this from
  here. I say this because otherwise size of circular buffer goes back to
  16k from 64k and may not be enough to hold valuable info.
 
  Why is this specific to systemd?

 It probably is not. Otavio added it, so I am CCing him
 however this is default used in many distros, just to keep enough
 messages around while you can affort 64K buffer which is not a huge ask
 these days.

 If it's generally useful and not specific to systemd (and it seems it isn't 
 the
 latter) I'd have to say I agree, let's set the default in our busybox
 defconfig.

+1

-- 
Otavio Salvador O.S. Systems
http://www.ossystems.com.brhttp://code.ossystems.com.br
Mobile: +55 (53) 9981-7854Mobile: +1 (347) 903-9750
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


Re: [oe] [meta-oe][PATCH 1/1] busybox: remove bbappend

2013-08-26 Thread Khem Raj

On Aug 24, 2013, at 2:47 AM, Paul Eggleton paul.eggle...@linux.intel.com 
wrote:

 On Friday 23 August 2013 10:36:15 Khem Raj wrote:
 On Aug 23, 2013, at 4:33 AM, Paul Eggleton paul.eggle...@linux.intel.com 
 wrote:
 This bbappend has effectively been merged into OE-Core, although the
 log buffer size is the busybox default rather than 64K - layers may
 change this either by providing their own /etc/default/busybox-syslog
 file (when using systemd) or modifying the
 CONFIG_FEATURE_IPC_SYSLOG_BUFFER_SIZE option in busybox's build time
 config
 
 I think it would be better if we added this option via a kconfig fragment
 in OE-Core if DISTRO_FEATURES contained systemd and then remove this from
 here. I say this because otherwise size of circular buffer goes back to 16k
 from 64k and may not be enough to hold valuable info.
 
 Why is this specific to systemd?

It probably is not. Otavio added it, so I am CCing him
however this is default used in many distros, just to keep enough
messages around while you can affort 64K buffer which is not a huge ask
these days.
 

 
 Cheers,
 Paul
 
 -- 
 
 Paul Eggleton
 Intel Open Source Technology Centre

___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


Re: [oe] [meta-oe][PATCH 1/1] busybox: remove bbappend

2013-08-26 Thread Paul Eggleton
On Monday 26 August 2013 14:39:10 Khem Raj wrote:
 On Aug 24, 2013, at 2:47 AM, Paul Eggleton paul.eggle...@linux.intel.com
 wrote:
  On Friday 23 August 2013 10:36:15 Khem Raj wrote:
  On Aug 23, 2013, at 4:33 AM, Paul Eggleton
  paul.eggle...@linux.intel.com wrote:
  This bbappend has effectively been merged into OE-Core, although the
  log buffer size is the busybox default rather than 64K - layers may
  change this either by providing their own /etc/default/busybox-syslog
  file (when using systemd) or modifying the
  CONFIG_FEATURE_IPC_SYSLOG_BUFFER_SIZE option in busybox's build time
  config
  
  I think it would be better if we added this option via a kconfig fragment
  in OE-Core if DISTRO_FEATURES contained systemd and then remove this from
  here. I say this because otherwise size of circular buffer goes back to
  16k from 64k and may not be enough to hold valuable info.
  
  Why is this specific to systemd?
 
 It probably is not. Otavio added it, so I am CCing him
 however this is default used in many distros, just to keep enough
 messages around while you can affort 64K buffer which is not a huge ask
 these days.

If it's generally useful and not specific to systemd (and it seems it isn't the 
latter) I'd have to say I agree, let's set the default in our busybox 
defconfig.

Cheers,
Paul

-- 

Paul Eggleton
Intel Open Source Technology Centre
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


Re: [oe] [meta-oe][PATCH 1/1] busybox: remove bbappend

2013-08-26 Thread Khem Raj

On Aug 26, 2013, at 2:53 PM, Paul Eggleton paul.eggle...@linux.intel.com 
wrote:

 On Monday 26 August 2013 14:39:10 Khem Raj wrote:
 On Aug 24, 2013, at 2:47 AM, Paul Eggleton paul.eggle...@linux.intel.com
 wrote:
 On Friday 23 August 2013 10:36:15 Khem Raj wrote:
 On Aug 23, 2013, at 4:33 AM, Paul Eggleton
 paul.eggle...@linux.intel.com wrote:
 This bbappend has effectively been merged into OE-Core, although the
 log buffer size is the busybox default rather than 64K - layers may
 change this either by providing their own /etc/default/busybox-syslog
 file (when using systemd) or modifying the
 CONFIG_FEATURE_IPC_SYSLOG_BUFFER_SIZE option in busybox's build time
 config
 
 I think it would be better if we added this option via a kconfig fragment
 in OE-Core if DISTRO_FEATURES contained systemd and then remove this from
 here. I say this because otherwise size of circular buffer goes back to
 16k from 64k and may not be enough to hold valuable info.
 
 Why is this specific to systemd?
 
 It probably is not. Otavio added it, so I am CCing him
 however this is default used in many distros, just to keep enough
 messages around while you can affort 64K buffer which is not a huge ask
 these days.
 
 If it's generally useful and not specific to systemd (and it seems it isn't 
 the 
 latter) I'd have to say I agree, let's set the default in our busybox 
 defconfig.
 

I have no issues with changed the defconfig.

 Cheers,
 Paul
 
 -- 
 
 Paul Eggleton
 Intel Open Source Technology Centre

___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


Re: [oe] [meta-oe][PATCH 1/1] busybox: remove bbappend

2013-08-24 Thread Paul Eggleton
On Friday 23 August 2013 10:36:15 Khem Raj wrote:
 On Aug 23, 2013, at 4:33 AM, Paul Eggleton paul.eggle...@linux.intel.com 
 wrote:
  This bbappend has effectively been merged into OE-Core, although the
  log buffer size is the busybox default rather than 64K - layers may
  change this either by providing their own /etc/default/busybox-syslog
  file (when using systemd) or modifying the
  CONFIG_FEATURE_IPC_SYSLOG_BUFFER_SIZE option in busybox's build time
  config
 
 I think it would be better if we added this option via a kconfig fragment
 in OE-Core if DISTRO_FEATURES contained systemd and then remove this from
 here. I say this because otherwise size of circular buffer goes back to 16k
 from 64k and may not be enough to hold valuable info.

Why is this specific to systemd?

Cheers,
Paul

-- 

Paul Eggleton
Intel Open Source Technology Centre
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


[oe] [meta-oe][PATCH 1/1] busybox: remove bbappend

2013-08-23 Thread Paul Eggleton
This bbappend has effectively been merged into OE-Core, although the
log buffer size is the busybox default rather than 64K - layers may
change this either by providing their own /etc/default/busybox-syslog
file (when using systemd) or modifying the
CONFIG_FEATURE_IPC_SYSLOG_BUFFER_SIZE option in busybox's build time
config.

Signed-off-by: Paul Eggleton paul.eggle...@linux.intel.com
---
 meta-oe/recipes-core/busybox/busybox/busybox-syslog.default |  1 -
 meta-oe/recipes-core/busybox/busybox_1.21.1.bbappend| 11 ---
 2 files changed, 12 deletions(-)
 delete mode 100644 meta-oe/recipes-core/busybox/busybox/busybox-syslog.default
 delete mode 100644 meta-oe/recipes-core/busybox/busybox_1.21.1.bbappend

diff --git a/meta-oe/recipes-core/busybox/busybox/busybox-syslog.default 
b/meta-oe/recipes-core/busybox/busybox/busybox-syslog.default
deleted file mode 100644
index 8a21e6d..000
--- a/meta-oe/recipes-core/busybox/busybox/busybox-syslog.default
+++ /dev/null
@@ -1 +0,0 @@
-OPTIONS=-C64
diff --git a/meta-oe/recipes-core/busybox/busybox_1.21.1.bbappend 
b/meta-oe/recipes-core/busybox/busybox_1.21.1.bbappend
deleted file mode 100644
index 7a2f0c3..000
--- a/meta-oe/recipes-core/busybox/busybox_1.21.1.bbappend
+++ /dev/null
@@ -1,11 +0,0 @@
-# look for files in the layer first
-FILESEXTRAPATHS_prepend := ${THISDIR}/${PN}:
-
-SRC_URI += file://busybox-syslog.default
-
-do_install_append() {
-install -d ${D}${sysconfdir}/default
-install -m 0644 ${WORKDIR}/busybox-syslog.default 
${D}${sysconfdir}/default/busybox-syslog
-}
-
-FILES_${PN}-syslog += ${sysconfdir}/default/busybox-syslog
-- 
1.8.1.2

___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


Re: [oe] [meta-oe][PATCH 1/1] busybox: remove bbappend

2013-08-23 Thread Khem Raj

On Aug 23, 2013, at 4:33 AM, Paul Eggleton paul.eggle...@linux.intel.com 
wrote:

 This bbappend has effectively been merged into OE-Core, although the
 log buffer size is the busybox default rather than 64K - layers may
 change this either by providing their own /etc/default/busybox-syslog
 file (when using systemd) or modifying the
 CONFIG_FEATURE_IPC_SYSLOG_BUFFER_SIZE option in busybox's build time
 config

I think it would be better if we added this option via a kconfig fragment
in OE-Core if DISTRO_FEATURES contained systemd and then remove this from
here. I say this because otherwise size of circular buffer goes back to 16k
from 64k and may not be enough to hold valuable info. On modern systems I
think we can afford 64k. I would even argue to make it default in busybox.
having said that, busybox-syslogd may be redundant when using systemd since
we have journald with systemd but there might still be lot of use cases
of busybox-syslogd. Either of these above approaches are fine with me.

 
 Signed-off-by: Paul Eggleton paul.eggle...@linux.intel.com
 ---
 meta-oe/recipes-core/busybox/busybox/busybox-syslog.default |  1 -
 meta-oe/recipes-core/busybox/busybox_1.21.1.bbappend| 11 ---
 2 files changed, 12 deletions(-)
 delete mode 100644 meta-oe/recipes-core/busybox/busybox/busybox-syslog.default
 delete mode 100644 meta-oe/recipes-core/busybox/busybox_1.21.1.bbappend
 
 diff --git a/meta-oe/recipes-core/busybox/busybox/busybox-syslog.default 
 b/meta-oe/recipes-core/busybox/busybox/busybox-syslog.default
 deleted file mode 100644
 index 8a21e6d..000
 --- a/meta-oe/recipes-core/busybox/busybox/busybox-syslog.default
 +++ /dev/null
 @@ -1 +0,0 @@
 -OPTIONS=-C64
 diff --git a/meta-oe/recipes-core/busybox/busybox_1.21.1.bbappend 
 b/meta-oe/recipes-core/busybox/busybox_1.21.1.bbappend
 deleted file mode 100644
 index 7a2f0c3..000
 --- a/meta-oe/recipes-core/busybox/busybox_1.21.1.bbappend
 +++ /dev/null
 @@ -1,11 +0,0 @@
 -# look for files in the layer first
 -FILESEXTRAPATHS_prepend := ${THISDIR}/${PN}:
 -
 -SRC_URI += file://busybox-syslog.default
 -
 -do_install_append() {
 -install -d ${D}${sysconfdir}/default
 -install -m 0644 ${WORKDIR}/busybox-syslog.default 
 ${D}${sysconfdir}/default/busybox-syslog
 -}
 -
 -FILES_${PN}-syslog += ${sysconfdir}/default/busybox-syslog
 -- 
 1.8.1.2
 
 ___
 Openembedded-devel mailing list
 Openembedded-devel@lists.openembedded.org
 http://lists.openembedded.org/mailman/listinfo/openembedded-devel

___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel