[OE-core] [PATCH 1/1] gmp: uprev it to 6.0.0

2014-08-04 Thread rongqing.li
From: Roy Li rongqing...@windriver.com Uprev gmp from 5.1.1 to 6.0.0, and remove the 4.2.1 version which is GPLv2, since gmp-6.0.0 is dual-licensing, LGPLv3 or GPLv2; Signed-off-by: Roy Li rongqing...@windriver.com --- meta/recipes-support/gmp/gmp-4.2.1/configure.patch | 209

[OE-core] [PATCH] psmisc: Typo in fuser makes -M on all the time

2014-08-04 Thread Patrice B
psmisc: Typo in fuser makes -M on all the time It adds a patch to fix a major issue on fuser that behaves as if -M option is always used. More info on psmisc website here : http://sourceforge.net/p/psmisc/code/ci/3638cc55b4d08851faba46635d737b24d016665b/ Signed-off-by: Patrice

Re: [OE-core] [PATCH] dnsmasq: fix parallel make failure

2014-08-04 Thread Richard Purdie
On Fri, 2014-08-01 at 19:16 +0530, Shrikant Bobade wrote: From: Shrikant Bobade shrikant_bob...@mentor.com The dnsmasq target depends on .configured and $(objs). .configured does an rm -f *.o. Yet the only thing telling make to build the .configured target before the $(objs) target was the

Re: [OE-core] [PATCH] dnsmasq: fix parallel make failure

2014-08-04 Thread Shrikant Bobade
Thanks Richard, Pushing it to oe-devel list.. Thanks Shrikant On Mon, Aug 4, 2014 at 2:24 PM, Richard Purdie richard.pur...@linuxfoundation.org wrote: On Fri, 2014-08-01 at 19:16 +0530, Shrikant Bobade wrote: From: Shrikant Bobade shrikant_bob...@mentor.com The dnsmasq target depends

[OE-core] [PATCH] tcp-wrappers: fix do_install when $prefix == $base_prefix

2014-08-04 Thread Koen Kooi
Signed-off-by: Koen Kooi k...@dominion.thruhere.net --- meta/recipes-extended/tcp-wrappers/tcp-wrappers_7.6.bb | 10 ++ 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/meta/recipes-extended/tcp-wrappers/tcp-wrappers_7.6.bb

[OE-core] [oe-core][PATCH] tcp-wrappers: install /etc/hosts.allow and /etc/hosts.deny

2014-08-04 Thread Yao Xinpan
Signed-off-by: Yao Xinpan ya...@cn.fujitsu.com --- meta/recipes-extended/tcp-wrappers/tcp-wrappers_7.6.bb | 5 + 1 file changed, 5 insertions(+) diff --git a/meta/recipes-extended/tcp-wrappers/tcp-wrappers_7.6.bb b/meta/recipes-extended/tcp-wrappers/tcp-wrappers_7.6.bb index

Re: [OE-core] [PATCH] cups: fix host contamination issue

2014-08-04 Thread Richard Purdie
On Fri, 2014-08-01 at 13:04 +0200, Koen Kooi wrote: -I/usr/include would end up in CFLAGS if /usr/bin/gcrypt-config is present on the host systemd. Signed-off-by: Koen Kooi k...@dominion.thruhere.net --- ...crypt-config-from-the-host-it-leads-to-SS.patch | 28 ++

[OE-core] perform_packagecopy can't handle bindir==base_bindir and errors out

2014-08-04 Thread Koen Kooi
Hi, I'm currently trying to combine {base_}{lib,bin}dir and have set base_prefix to /usr and redefined some other vars: +# Try to move distro stuff under /usr +# Keep /etc and friend in / +base_prefix = /usr +nonarch_base_libdir = /lib +sysconfdir = /etc +servicedir = /srv +sharedstatedir =

[OE-core] a few questions on the proper use of TEMPLATECONF

2014-08-04 Thread Robert P. J. Day
first time perusing all that templateconf stuff, so some admittedly simple questions. i'm looking at oe-setup-builddir, which is where the initialization of the new build dir is done, so let's start at the top: if [ -z $BUILDDIR ]; then echo 2 Error: The build directory (BUILDDIR)

Re: [OE-core] [PATCH] cups: fix host contamination issue

2014-08-04 Thread Koen Kooi
Op 4 aug. 2014, om 11:46 heeft Richard Purdie richard.pur...@linuxfoundation.org het volgende geschreven: On Fri, 2014-08-01 at 13:04 +0200, Koen Kooi wrote: -I/usr/include would end up in CFLAGS if /usr/bin/gcrypt-config is present on the host systemd. Signed-off-by: Koen Kooi

[OE-core] [PATCH 0/1] Fix for YB6538

2014-08-04 Thread Roxana Ciobanu
The following changes since commit c1ee6cdfde5d1fe5f38a1e8eef5b7b0dd086df95: README: add required version for django-nvd3 (2014-03-06 13:43:30 +0200) are available in the git repository at: git://git.yoctoproject.org/poky-contrib roxana/YB6538

[OE-core] [PATCH 1/1] error page/search result page: Display submission date/time information

2014-08-04 Thread Roxana Ciobanu
Show the submission date and time for an error in the search results page as a table column and in the the error page as a definition list item in the Error details section. Signed-off-by: Roxana Ciobanu roxana.ciob...@intel.com --- Post/createStatistics.py | 4 Post/getInfo.py

Re: [OE-core] a few questions on the proper use of TEMPLATECONF

2014-08-04 Thread Robert P. J. Day
short followup to my earlier post ... it seems like oe-setup-builddir doesn't do a whole lot of input validation. for fun, i tried to define a new project using /tmp for TEMPLATECONF, knowing there was nothing valid there to be used as sample files, and here's what i got (in part): cp: cannot

[OE-core] [PATCH 0/1] Fix for YB6576

2014-08-04 Thread Roxana Ciobanu
The following changes since commit 0a7530fcd2e8ae91b297a3ebd9877957f0550d4c: upstream-tracking: Add various CHECK_DATE and UPDATE_REASONs for my recipes (2014-08-03 12:40:41 +0100) are available in the git repository at: git://git.yoctoproject.org/poky-contrib roxana/YB6576

[OE-core] [PATCH 1/1] scripts/send-error-report: fetch /Errors/ instead of /.

2014-08-04 Thread Roxana Ciobanu
If HTTP_PROXY or http_proxy is set when the send-error-report script is run, it will check to see if fetching / on the specified server returns 200 without the proxy set. If it does it will assume that the proxy is not needed. However this check can never work because fetching / always redirects

Re: [OE-core] can pkg_{pre, post}rm functions be run at all for image creation?

2014-08-04 Thread Paul Eggleton
On Sunday 03 August 2014 02:56:04 Robert P. J. Day wrote: On Sat, 2 Aug 2014, Khem Raj wrote: On 14-08-02 15:57:00, Robert P. J. Day wrote: On Sat, 2 Aug 2014, Khem Raj wrote: On Sat, Aug 2, 2014 at 9:34 AM, Robert P. J. Day rpj...@crashcourse.ca wrote: say, pkg_prerm() functions

Re: [OE-core] cups: fix host contamination issue

2014-08-04 Thread Peter A. Bigot
On 08/01/2014 06:04 AM, Koen Kooi wrote: -I/usr/include would end up in CFLAGS if /usr/bin/gcrypt-config is present on the host systemd. Signed-off-by: Koen Kooi k...@dominion.thruhere.net Yes, http://patches.openembedded.org/patch/77153/ should (IMO) supersede this. It's my follow-up

Re: [OE-core] can pkg_{pre, post}rm functions be run at all for image creation?

2014-08-04 Thread Robert P. J. Day
On Mon, 4 Aug 2014, Paul Eggleton wrote: On Sunday 03 August 2014 02:56:04 Robert P. J. Day wrote: On Sat, 2 Aug 2014, Khem Raj wrote: On 14-08-02 15:57:00, Robert P. J. Day wrote: On Sat, 2 Aug 2014, Khem Raj wrote: On Sat, Aug 2, 2014 at 9:34 AM, Robert P. J. Day

Re: [OE-core] can pkg_{pre, post}rm functions be run at all for image creation?

2014-08-04 Thread Paul Eggleton
On Monday 04 August 2014 09:42:35 Robert P. J. Day wrote: On Mon, 4 Aug 2014, Paul Eggleton wrote: On Sunday 03 August 2014 02:56:04 Robert P. J. Day wrote: On Sat, 2 Aug 2014, Khem Raj wrote: On 14-08-02 15:57:00, Robert P. J. Day wrote: On Sat, 2 Aug 2014, Khem Raj wrote: On

Re: [OE-core] can pkg_{pre, post}rm functions be run at all for image creation?

2014-08-04 Thread Richard Purdie
On Mon, 2014-08-04 at 09:42 -0400, Robert P. J. Day wrote: oh ... that's still kind of weaselly terminology. :-) i'm not *trying* to be annoyingly pedantic, but this is just the kind of thing that students tend to ask about, which is why i want to nail the details. the current docs

Re: [OE-core] can pkg_{pre, post}rm functions be run at all for image creation?

2014-08-04 Thread Robert P. J. Day
On Mon, 4 Aug 2014, Richard Purdie wrote: On Mon, 2014-08-04 at 09:42 -0400, Robert P. J. Day wrote: oh ... that's still kind of weaselly terminology. :-) i'm not *trying* to be annoyingly pedantic, but this is just the kind of thing that students tend to ask about, which is why i

Re: [OE-core] [PATCH] netbase: Adding loop back for machine name in hosts file

2014-08-04 Thread sujith h
Hi, I will post the new patch with ROOTFS_POSTPROCESS_COMMAND. Thanks for the feedback. On Fri, Aug 1, 2014 at 2:52 PM, Enrico Scholz enrico.sch...@sigma-chemnitz.de wrote: Otavio Salvador otavio-fkevb0iiklmbz+lybsd...@public.gmane.org writes: + echo 127.0.1.1

[OE-core] [PATCH 1/2] netbase: Adding loop back for machine name in hosts file

2014-08-04 Thread Sujith H
From: Sujith H sujith_harida...@mentor.com If hostname is not added to /etc/hosts file then rpcinfo command fails when hostname is passed as argument. This was observed when rpcinfo command was tested on freescale target. Below was the output observed without this change. root@mx6q:~# rpcinfo -s

Re: [OE-core] [PATCH 1/2] netbase: Adding loop back for machine name in hosts file

2014-08-04 Thread sujith h
Kindly ignore the above patch. It was sent by mistake :( Sorry for trouble. On Mon, Aug 4, 2014 at 7:24 PM, Sujith H sujit...@gmail.com wrote: From: Sujith H sujith_harida...@mentor.com If hostname is not added to /etc/hosts file then rpcinfo command fails when hostname is passed as

[OE-core] [PATCH] image.bbclass: Adding loop back for machine name in hosts file

2014-08-04 Thread Sujith H
From: Sujith H sujith_harida...@mentor.com If hostname is not added to /etc/hosts file then rpcinfo command fails when hostname is passed as argument. This was observed when rpcinfo command was tested on freescale target. Below was the output observed without this change. root@mx6q:~# rpcinfo -s

Re: [OE-core] [PATCH] image.bbclass: Adding loop back for machine name in hosts file

2014-08-04 Thread sujith h
Hi, Let me know if any more changes have to be made to make this patch look better. On Mon, Aug 4, 2014 at 7:27 PM, Sujith H sujit...@gmail.com wrote: From: Sujith H sujith_harida...@mentor.com If hostname is not added to /etc/hosts file then rpcinfo command fails when hostname is passed

Re: [OE-core] [PATCH] image.bbclass: Adding loop back for machine name in hosts file

2014-08-04 Thread Paul Eggleton
Hi Sujith, On Monday 04 August 2014 19:27:08 Sujith H wrote: From: Sujith H sujith_harida...@mentor.com If hostname is not added to /etc/hosts file then rpcinfo command fails when hostname is passed as argument. This was observed when rpcinfo command was tested on freescale target. Below

Re: [OE-core] [PATCH] image.bbclass: Adding loop back for machine name in hosts file

2014-08-04 Thread sujith h
Hi Paul, On Mon, Aug 4, 2014 at 7:48 PM, Paul Eggleton paul.eggle...@linux.intel.com wrote: Hi Sujith, On Monday 04 August 2014 19:27:08 Sujith H wrote: From: Sujith H sujith_harida...@mentor.com If hostname is not added to /etc/hosts file then rpcinfo command fails when hostname is

Re: [OE-core] [PATCH] image.bbclass: Adding loop back for machine name in hosts file

2014-08-04 Thread Paul Eggleton
On Monday 04 August 2014 20:03:09 sujith h wrote: Hi Paul, On Mon, Aug 4, 2014 at 7:48 PM, Paul Eggleton paul.eggle...@linux.intel.com wrote: Hi Sujith, On Monday 04 August 2014 19:27:08 Sujith H wrote: From: Sujith H sujith_harida...@mentor.com If hostname is not added

[OE-core] blocking pie in recipes that build shared object files

2014-08-04 Thread Peter A. Bigot
I've now hit two recipes in meta-openembedded that fail on armv7-a because SECURITY_CFLAGS has -pie as an option that leaks into a link command building a shared object file. This produces: | /prj/oe/omap/build-beaglebone-master/tmp/sysroots/beaglebone/usr/lib/Scrt1.o: In function `_start':

Re: [OE-core] [PATCH] image.bbclass: Adding loop back for machine name in hosts file

2014-08-04 Thread Enrico Scholz
Sujith H sujith.h-re5jqeeqqe8avxtiumw...@public.gmane.org writes: If hostname is not added to /etc/hosts file then rpcinfo command fails when hostname is passed as argument. ... root@mx6q:~# rpcinfo -s mx6q rpcinfo: can't contact rpcbind: RPC: (unknown error code) Is this really a

Re: [OE-core] [PATCH] image.bbclass: Adding loop back for machine name in hosts file

2014-08-04 Thread sujith h
On Mon, Aug 4, 2014 at 8:19 PM, Paul Eggleton paul.eggle...@linux.intel.com wrote: On Monday 04 August 2014 20:03:09 sujith h wrote: Hi Paul, On Mon, Aug 4, 2014 at 7:48 PM, Paul Eggleton paul.eggle...@linux.intel.com wrote: Hi Sujith, On Monday 04 August 2014 19:27:08

[OE-core] [PATCH] sysvinit: allow stack size configuration from rcS

2014-08-04 Thread Ben Shelton
From: Scot Salmon scot.sal...@ni.com For certain swap/overcommit settings (e.g. when overcommit is disabled on a real-time system), we need to limit the stack size used by initscripts. When the STACK_SIZE environment variable is set (usually in /etc/default/rcS), ulimit the stack size to the

Re: [OE-core] [PATCH] image.bbclass: Adding loop back for machine name in hosts file

2014-08-04 Thread sujith h
On Mon, Aug 4, 2014 at 9:05 PM, Enrico Scholz enrico.sch...@sigma-chemnitz.de wrote: Sujith H sujith.h-re5jqeeqqe8avxtiumw...@public.gmane.org writes: If hostname is not added to /etc/hosts file then rpcinfo command fails when hostname is passed as argument. ... root@mx6q:~# rpcinfo -s

Re: [OE-core] [PATCH 1/1] INITRD var: make it a list of filesystem images

2014-08-04 Thread Hart, Darren
On 7/29/14, 11:34, Kamble, Nitin A nitin.a.kam...@intel.com wrote: From: Nitin A Kamble nitin.a.kam...@intel.com Hi Nitin, Generally speaking this looks like a good improvement. I don't have any major technical concerns, but we do need to address some grammatical issues in the commit and the

[OE-core] [PATCH 12/20] udev-cache: fix timestamp errors on systems lacking an RTC

2014-08-04 Thread Ben Shelton
From: Richard Tollerton rich.toller...@ni.com If the system lacks an RTC, the time will typically start from the epoch, and may get set to the correct time later (if at all). In this circumstance, the timestamps in the cache tarball will always be in the future. gnutar complains bitterly about

[OE-core] [PATCH 17/20] udev-cache: fix udev-cache changes to work with busybox tar

2014-08-04 Thread Ben Shelton
busybox tar does not support the --one-file-system option that we use to keep tar from archiving unnecessary files that live under /dev but are not mounted under the devtmpfs. Instead, when GNU tar is not present, use find to pass tar a list of the files that need to be cached. Additionally,

[OE-core] [PATCH 15/20] udev-cache: don't attempt to extract cache if it doesn't exist

2014-08-04 Thread Ben Shelton
From: Richard Tollerton rich.toller...@ni.com If you try to invalidate the udev cache solely by deleting the tarball, while forgetting to also remove the config file ($DEVCACHE_SYSCONF), then tar will fail. Fortunately the cache will get regenerated on this boot because $DEVCACHE_CURRENT_SYSCONF

[OE-core] [PATCH 01/20] udev-cache: Compress the cache

2014-08-04 Thread Ben Shelton
From: Richard Tollerton rich.toller...@ni.com $DEVCACHE is observed to be 100k uncompressed; compressing it reduces its size to ~5k. Natinst-Rally-ID: TA44427 Acked-by: Gratian Crisan gratian.cri...@ni.com Natinst-ReviewBoard-ID: 58620 Signed-off-by: Richard Tollerton rich.toller...@ni.com ---

[OE-core] [PATCH 03/20] udev-cache: Honor VERBOSE for bootup message

2014-08-04 Thread Ben Shelton
From: Richard Tollerton rich.toller...@ni.com Natinst-Rally-ID: TA44427 Acked-by: Gratian Crisan gratian.cri...@ni.com Natinst-ReviewBoard-ID: 58620 Signed-off-by: Richard Tollerton rich.toller...@ni.com --- meta/recipes-core/udev/udev/udev-cache | 2 +- 1 file changed, 1 insertion(+), 1

[OE-core] [PATCH 10/20] udev-cache: parametrize sysconf file paths

2014-08-04 Thread Ben Shelton
From: Richard Tollerton rich.toller...@ni.com The udev-cache facility uses files that represent system states, to ensure that the cache tarball is valid to apply. These paths were hardcoded in several places; collect them into DEVCACHE_SYSCONF and DEVCACHE_CURRENT_SYSCONF in the defaults file.

[OE-core] [PATCH 04/20] udev-cache: Don't ignore errors from cache extract

2014-08-04 Thread Ben Shelton
From: Richard Tollerton rich.toller...@ni.com Currently, error messages generated during tarball extract are suppressed. This seems ham-handed, particularly since under normal operation, the only expected error ought to be the attempted extraction of pipes, which typically only means /dev/log.

[OE-core] [PATCH 14/20] udev-cache: refactor; improve verbosity and error handling

2014-08-04 Thread Ben Shelton
From: Richard Tollerton rich.toller...@ni.com Most of /etc/init.d/udev-cache is in a conditional block which can be replaced by a `[ ... ] || exit 0` to reduce nesting. This eliminates a `rm -f` which was dead code anyway. This also provides the opportunity to emit a few more messages if VERBOSE

[OE-core] [PATCH 07/20] udev-cache: Update cache tarball atomically

2014-08-04 Thread Ben Shelton
From: Richard Tollerton rich.toller...@ni.com Overwriting the tarball in-place could cause a partial write, if the system stops at an inopportune time. This is mitigated by first writing to a temporary file, then moving that file on top of the final location. Natinst-Rally-ID: TA44427 Acked-by:

[OE-core] [PATCH 19/20] udev: Disable keymap support on machines lacking keyboard support

2014-08-04 Thread Ben Shelton
From: Richard Tollerton rich.toller...@ni.com /lib/udev/keymaps/ is 244k. On headless machines, this is wasted space. Natinst-Rally-ID: TA44427 Acked-by: Gratian Crisan gratian.cri...@ni.com Natinst-ReviewBoard-ID: 58621 Signed-off-by: Richard Tollerton rich.toller...@ni.com ---

[OE-core] [PATCH 11/20] udev-cache: parametrize tar options

2014-08-04 Thread Ben Shelton
From: Richard Tollerton rich.toller...@ni.com The options to pass to `tar` for cache create/extract are likely to change due to system configuration circumstances (e.g. using busybox tar instead of GNU tar). So move the more detailed options into the defaults file to allow for easier overrides.

[OE-core] [PATCH 08/20] udev-cache: Create cache asynchronously

2014-08-04 Thread Ben Shelton
From: Richard Tollerton rich.toller...@ni.com Don't hold up the boot while the cache tarball is created. Natinst-Rally-ID: TA44427 Acked-by: Gratian Crisan gratian.cri...@ni.com Natinst-ReviewBoard-ID: 58620 Signed-off-by: Richard Tollerton rich.toller...@ni.com ---

[OE-core] [PATCH 05/20] busybox: tar: enable CONFIG_FEATURE_TAR_LONG_OPTIONS

2014-08-04 Thread Ben Shelton
This config flag is needed to support the --exclude option, which is needed for the commit 'udev-cache: Don't ignore errors from cache extract'. Enabling this option adds 352 bytes to the size of busybox on i386. Signed-off-by: Ben Shelton ben.shel...@ni.com ---

[OE-core] [PATCH 16/20] udev-cache: invalidate on rules.d changes

2014-08-04 Thread Ben Shelton
From: Richard Tollerton rich.toller...@ni.com Presently, $DEVCACHE_CURRENT_SYSCONF doesn't change if rules are modified, which may cause the cache to preserve an old configuration. To fix, include `ls -l` output for all rules, which ought to be reasonably fast to run on boot. Natinst-Rally-ID:

[OE-core] [PATCH 02/20] udev-cache: choose a more descriptive cache filename

2014-08-04 Thread Ben Shelton
From: Richard Tollerton rich.toller...@ni.com /etc/dev.tar.gz doesn't adequately imply that udev-cache maintains it. Instead, call it /etc/udev-cache.tar.gz. Natinst-Rally-ID: TA44427 Acked-by: Gratian Crisan gratian.cri...@ni.com Natinst-ReviewBoard-ID: 58620 Signed-off-by: Richard Tollerton

[OE-core] [PATCH 06/20] udev-cache: Remove superfluous subshell on extract

2014-08-04 Thread Ben Shelton
From: Richard Tollerton rich.toller...@ni.com tar -C exists in both GNU and busybox tar, so use that instead of (cd /; tar ...). This allows the subshell to be removed. Natinst-Rally-ID: TA44427 Acked-by: Gratian Crisan gratian.cri...@ni.com Natinst-ReviewBoard-ID: 58620 Signed-off-by: Richard

[OE-core] [PATCH 00/20] udev-cache related changes

2014-08-04 Thread Ben Shelton
This patchset contains changes to the udev-cache scripts to reduce size on disk, to improve error reporting, and to fix bugs, and a few fixes and tweaks to udev overall. The following changes since commit 5a09acef73b5cfc59bbcd3e93603c99a8c078bd8: local.conf.sample.extended: fix example for

[OE-core] [PATCH 09/20] udev-cache.default: documentation update

2014-08-04 Thread Ben Shelton
From: Richard Tollerton rich.toller...@ni.com Natinst-Rally-ID: TA44427 Acked-by: Gratian Crisan gratian.cri...@ni.com Natinst-ReviewBoard-ID: 58620 Signed-off-by: Richard Tollerton rich.toller...@ni.com --- meta/recipes-core/udev/udev/udev-cache.default | 2 +- 1 file changed, 1 insertion(+), 1

[OE-core] [PATCH 13/20] udev-cache: Avoid caching udev.cache or non-devfs filesystems

2014-08-04 Thread Ben Shelton
From: Richard Tollerton rich.toller...@ni.com If $DEVCACHE_CURRENT_SYSCONF gets stored in the cache tarball, and extracted, then udev-cache will needlessly rebuild the cache on every future boot. The direct fix to this is to explicitly exclude it. Investigating this also uncovered that we're

[OE-core] [PATCH 20/20] udev: don't halt if devtmpfs can't be mounted

2014-08-04 Thread Ben Shelton
From: Richard Tollerton rich.toller...@ni.com Halting if udev cannot start is problematic for a couple reasons. - Compared to a reboot loop, halting is much more difficult to recover from in remote deployments. - If the rootfs has a prepopulated /dev (which happens somewhat often), the system

[OE-core] [PATCH 18/20] udev: Make build MACHINE-specific

2014-08-04 Thread Ben Shelton
From: Richard Tollerton rich.toller...@ni.com For space reasons, udev needs to be configured differently depending on MACHINE_FEATURES. So set PACKAGE_ARCH accordingly. Natinst-Rally-ID: TA44427 Acked-by: Gratian Crisan gratian.cri...@ni.com Natinst-ReviewBoard-ID: 58621 Signed-off-by: Richard

[OE-core] [PATCH] create-pull-request: Fix error on 2.0 versions of git

2014-08-04 Thread Ben Shelton
On 2.0 versions of git, the create-pull-request script exits with the warning No match for commit... Are you sure you pushed 'HEAD' there?. This is due to a change in behavior where git used to guess the branch you meant, but no longer does. See the thread at

Re: [OE-core] [PATCH 02/20] udev-cache: choose a more descriptive cache filename

2014-08-04 Thread Otavio Salvador
On Mon, Aug 4, 2014 at 3:40 PM, Ben Shelton ben.shel...@ni.com wrote: From: Richard Tollerton rich.toller...@ni.com /etc/dev.tar.gz doesn't adequately imply that udev-cache maintains it. Instead, call it /etc/udev-cache.tar.gz. Natinst-Rally-ID: TA44427 Acked-by: Gratian Crisan

Re: [OE-core] [PATCH 01/20] udev-cache: Compress the cache

2014-08-04 Thread Otavio Salvador
On Mon, Aug 4, 2014 at 3:40 PM, Ben Shelton ben.shel...@ni.com wrote: From: Richard Tollerton rich.toller...@ni.com $DEVCACHE is observed to be 100k uncompressed; compressing it reduces its size to ~5k. Natinst-Rally-ID: TA44427 Acked-by: Gratian Crisan gratian.cri...@ni.com

Re: [OE-core] [PATCH 03/20] udev-cache: Honor VERBOSE for bootup message

2014-08-04 Thread Otavio Salvador
On Mon, Aug 4, 2014 at 3:40 PM, Ben Shelton ben.shel...@ni.com wrote: From: Richard Tollerton rich.toller...@ni.com Natinst-Rally-ID: TA44427 Acked-by: Gratian Crisan gratian.cri...@ni.com Natinst-ReviewBoard-ID: 58620 Signed-off-by: Richard Tollerton rich.toller...@ni.com --- Acked-by:

Re: [OE-core] [PATCH 04/20] udev-cache: Don't ignore errors from cache extract

2014-08-04 Thread Otavio Salvador
On Mon, Aug 4, 2014 at 3:40 PM, Ben Shelton ben.shel...@ni.com wrote: From: Richard Tollerton rich.toller...@ni.com Currently, error messages generated during tarball extract are suppressed. This seems ham-handed, particularly since under normal operation, the only expected error ought to be

Re: [OE-core] [PATCH 05/20] busybox: tar: enable CONFIG_FEATURE_TAR_LONG_OPTIONS

2014-08-04 Thread Otavio Salvador
On Mon, Aug 4, 2014 at 3:40 PM, Ben Shelton ben.shel...@ni.com wrote: This config flag is needed to support the --exclude option, which is needed for the commit 'udev-cache: Don't ignore errors from cache extract'. Enabling this option adds 352 bytes to the size of busybox on i386.

Re: [OE-core] [PATCH 06/20] udev-cache: Remove superfluous subshell on extract

2014-08-04 Thread Otavio Salvador
On Mon, Aug 4, 2014 at 3:40 PM, Ben Shelton ben.shel...@ni.com wrote: From: Richard Tollerton rich.toller...@ni.com tar -C exists in both GNU and busybox tar, so use that instead of (cd /; tar ...). This allows the subshell to be removed. Natinst-Rally-ID: TA44427 Acked-by: Gratian Crisan

Re: [OE-core] [PATCH 07/20] udev-cache: Update cache tarball atomically

2014-08-04 Thread Otavio Salvador
On Mon, Aug 4, 2014 at 3:40 PM, Ben Shelton ben.shel...@ni.com wrote: From: Richard Tollerton rich.toller...@ni.com Overwriting the tarball in-place could cause a partial write, if the system stops at an inopportune time. This is mitigated by first writing to a temporary file, then moving

Re: [OE-core] [oe-core][PATCH] tcp-wrappers: install /etc/hosts.allow and /etc/hosts.deny

2014-08-04 Thread Khem Raj
On Mon, Aug 4, 2014 at 2:15 AM, Yao Xinpan ya...@cn.fujitsu.com wrote: + + install -d ${D}${sysconfdir} + touch ${D}${sysconfdir}/hosts.allow + touch ${D}${sysconfdir}/hosts.deny } +FILES_${PN} += ${sysconfdir}/hosts.allow ${sysconfdir}/hosts.deny these are dynamic files

Re: [OE-core] [PATCH 20/20] udev: don't halt if devtmpfs can't be mounted

2014-08-04 Thread Martin Jansa
On Mon, Aug 04, 2014 at 01:41:12PM -0500, Ben Shelton wrote: From: Richard Tollerton rich.toller...@ni.com Halting if udev cannot start is problematic for a couple reasons. - Compared to a reboot loop, halting is much more difficult to recover from in remote deployments. - If the rootfs

Re: [OE-core] [PATCH 19/20] udev: Disable keymap support on machines lacking keyboard support

2014-08-04 Thread Martin Jansa
On Mon, Aug 04, 2014 at 01:41:11PM -0500, Ben Shelton wrote: From: Richard Tollerton rich.toller...@ni.com /lib/udev/keymaps/ is 244k. On headless machines, this is wasted space. Natinst-Rally-ID: TA44427 Acked-by: Gratian Crisan gratian.cri...@ni.com Natinst-ReviewBoard-ID: 58621

Re: [OE-core] [PATCH 08/20] udev-cache: Create cache asynchronously

2014-08-04 Thread Otavio Salvador
On Mon, Aug 4, 2014 at 3:41 PM, Ben Shelton ben.shel...@ni.com wrote: From: Richard Tollerton rich.toller...@ni.com Don't hold up the boot while the cache tarball is created. Natinst-Rally-ID: TA44427 Acked-by: Gratian Crisan gratian.cri...@ni.com Natinst-ReviewBoard-ID: 58620

Re: [OE-core] [PATCH 09/20] udev-cache.default: documentation update

2014-08-04 Thread Otavio Salvador
On Mon, Aug 4, 2014 at 3:41 PM, Ben Shelton ben.shel...@ni.com wrote: From: Richard Tollerton rich.toller...@ni.com Natinst-Rally-ID: TA44427 Acked-by: Gratian Crisan gratian.cri...@ni.com Natinst-ReviewBoard-ID: 58620 Signed-off-by: Richard Tollerton rich.toller...@ni.com --- Acked-by:

Re: [OE-core] [PATCH 18/20] udev: Make build MACHINE-specific

2014-08-04 Thread Martin Jansa
On Mon, Aug 04, 2014 at 01:41:10PM -0500, Ben Shelton wrote: From: Richard Tollerton rich.toller...@ni.com For space reasons, udev needs to be configured differently depending on MACHINE_FEATURES. So set PACKAGE_ARCH accordingly. Natinst-Rally-ID: TA44427 Acked-by: Gratian Crisan

Re: [OE-core] [PATCH 10/20] udev-cache: parametrize sysconf file paths

2014-08-04 Thread Otavio Salvador
On Mon, Aug 4, 2014 at 3:41 PM, Ben Shelton ben.shel...@ni.com wrote: From: Richard Tollerton rich.toller...@ni.com The udev-cache facility uses files that represent system states, to ensure that the cache tarball is valid to apply. These paths were hardcoded in several places; collect them

Re: [OE-core] [PATCH 11/20] udev-cache: parametrize tar options

2014-08-04 Thread Otavio Salvador
On Mon, Aug 4, 2014 at 3:41 PM, Ben Shelton ben.shel...@ni.com wrote: From: Richard Tollerton rich.toller...@ni.com The options to pass to `tar` for cache create/extract are likely to change due to system configuration circumstances (e.g. using busybox tar instead of GNU tar). So move the

Re: [OE-core] [PATCH 1/3] alsa-lib: use get32_labels for multi-source

2014-08-04 Thread Otavio Salvador
On Mon, Aug 4, 2014 at 12:21 AM, Wang Zidan b50...@freescale.com wrote: The PCM route plugin can assign the destination value from average of multiple sources with attenuation. This requires the read of each channel value, sums and writes the resultant value in the requested format.

Re: [OE-core] [PATCH 3/3] alsa-lib: pcm_local.h: include time.h to enable CLOCK_MONOTONIC

2014-08-04 Thread Otavio Salvador
On Mon, Aug 4, 2014 at 12:21 AM, Wang Zidan b50...@freescale.com wrote: CLOCK_MONITONIC is defined in bits/time.h, add time.h before sys/time.h. Signed-off-by: Wang Zidan b50...@freescale.com Acked-by: Otavio Salvador ota...@ossystems.com.br -- Otavio Salvador

Re: [OE-core] [PATCH 2/3] alsa-lib: fix hw_ptr exceed the boundary

2014-08-04 Thread Otavio Salvador
On Mon, Aug 4, 2014 at 12:21 AM, Wang Zidan b50...@freescale.com wrote: For long time test case, the hw_ptr will exceed the boundary, then cause the avail size wrong. Signed-off-by: Wang Zidan b50...@freescale.com Acked-by: Otavio Salvador ota...@ossystems.com.br -- Otavio Salvador

Re: [OE-core] patchwork client problems

2014-08-04 Thread Otavio Salvador
On Fri, Aug 1, 2014 at 10:07 PM, Peter A. Bigot p...@pabigot.com wrote: On 07/14/2014 04:21 AM, Peter A. Bigot wrote: I'm finding attempts to use pwclient on http://patches.openembedded.org/xmlrpc/ produce an ExpatError because the returned document is always empty (per a wireshark trace of

[OE-core] [PATCH] gstreamer1.0-omx: Remove unnecessary dependency on plugins-bad.

2014-08-04 Thread Drew Moseley
This also corrects an erroneous overwriting of the dependencies from the inc file. Signed-off-by: Drew Moseley drew_mose...@mentor.com --- meta/recipes-multimedia/gstreamer/gstreamer1.0-omx_git.bb | 2 -- 1 file changed, 2 deletions(-) diff --git

Re: [OE-core] [PATCH 08/20] udev-cache: Create cache asynchronously

2014-08-04 Thread Richard Tollerton
Otavio Salvador ota...@ossystems.com.br writes: I am not sure about this one. I see the value you are adding here but I worry how often something can be connected during this process and change the contents along the way. Did you see something as that during your tests? No, but point taken.

Re: [OE-core] [PATCH 08/20] udev-cache: Create cache asynchronously

2014-08-04 Thread Otavio Salvador
On Mon, Aug 4, 2014 at 6:18 PM, Richard Tollerton rich.toller...@ni.com wrote: Otavio Salvador ota...@ossystems.com.br writes: I am not sure about this one. I see the value you are adding here but I worry how often something can be connected during this process and change the contents along

Re: [OE-core] [PATCH 08/20] udev-cache: Create cache asynchronously

2014-08-04 Thread Richard Tollerton
Otavio Salvador ota...@ossystems.com.br writes: On Mon, Aug 4, 2014 at 6:18 PM, Richard Tollerton rich.toller...@ni.com wrote: Otavio Salvador ota...@ossystems.com.br writes: I am not sure about this one. I see the value you are adding here but I worry how often something can be connected

Re: [OE-core] [PATCH 10/20] udev-cache: parametrize sysconf file paths

2014-08-04 Thread Ben Shelton
On 08/04, Otavio Salvador wrote: On Mon, Aug 4, 2014 at 3:41 PM, Ben Shelton ben.shel...@ni.com wrote: From: Richard Tollerton rich.toller...@ni.com The udev-cache facility uses files that represent system states, to ensure that the cache tarball is valid to apply. These paths were

Re: [OE-core] [PATCH 11/20] udev-cache: parametrize tar options

2014-08-04 Thread Ben Shelton
On 08/04, Otavio Salvador wrote: On Mon, Aug 4, 2014 at 3:41 PM, Ben Shelton ben.shel...@ni.com wrote: From: Richard Tollerton rich.toller...@ni.com The options to pass to `tar` for cache create/extract are likely to change due to system configuration circumstances (e.g. using busybox tar

Re: [OE-core] [PATCH 08/20] udev-cache: Create cache asynchronously

2014-08-04 Thread Otavio Salvador
On Mon, Aug 4, 2014 at 6:37 PM, Richard Tollerton rich.toller...@ni.com wrote: Otavio Salvador ota...@ossystems.com.br writes: On Mon, Aug 4, 2014 at 6:18 PM, Richard Tollerton rich.toller...@ni.com wrote: Otavio Salvador ota...@ossystems.com.br writes: I am not sure about this one. I see

Re: [OE-core] [PATCH 10/20] udev-cache: parametrize sysconf file paths

2014-08-04 Thread Otavio Salvador
On Mon, Aug 4, 2014 at 6:38 PM, Ben Shelton ben.shel...@ni.com wrote: On 08/04, Otavio Salvador wrote: On Mon, Aug 4, 2014 at 3:41 PM, Ben Shelton ben.shel...@ni.com wrote: From: Richard Tollerton rich.toller...@ni.com The udev-cache facility uses files that represent system states, to

Re: [OE-core] [PATCH 10/20] udev-cache: parametrize sysconf file paths

2014-08-04 Thread Ben Shelton
On 08/04, Otavio Salvador wrote: On Mon, Aug 4, 2014 at 6:38 PM, Ben Shelton ben.shel...@ni.com wrote: On 08/04, Otavio Salvador wrote: On Mon, Aug 4, 2014 at 3:41 PM, Ben Shelton ben.shel...@ni.com wrote: From: Richard Tollerton rich.toller...@ni.com The udev-cache facility uses

Re: [OE-core] [PATCH 08/20] udev-cache: Create cache asynchronously

2014-08-04 Thread Richard Tollerton
Otavio Salvador ota...@ossystems.com.br writes: On Mon, Aug 4, 2014 at 6:37 PM, Richard Tollerton rich.toller...@ni.com wrote: Otavio Salvador ota...@ossystems.com.br writes: On Mon, Aug 4, 2014 at 6:18 PM, Richard Tollerton rich.toller...@ni.com wrote: Otavio Salvador

Re: [OE-core] [PATCH] image.bbclass: Adding loop back for machine name in hosts file

2014-08-04 Thread Khem Raj
On 14-08-04 15:18:05, Paul Eggleton wrote: Hi Sujith, On Monday 04 August 2014 19:27:08 Sujith H wrote: From: Sujith H sujith_harida...@mentor.com If hostname is not added to /etc/hosts file then rpcinfo command fails when hostname is passed as argument. This was observed when

Re: [OE-core] blocking pie in recipes that build shared object files

2014-08-04 Thread Khem Raj
On 14-08-04 09:56:37, Peter A. Bigot wrote: I've now hit two recipes in meta-openembedded that fail on armv7-a because SECURITY_CFLAGS has -pie as an option that leaks into a link command building a shared object file. This produces: |

Re: [OE-core] [PATCH 01/20] udev-cache: Compress the cache

2014-08-04 Thread Khem Raj
On 14-08-04 13:40:53, Ben Shelton wrote: From: Richard Tollerton rich.toller...@ni.com $DEVCACHE is observed to be 100k uncompressed; compressing it reduces its size to ~5k. Natinst-Rally-ID: TA44427 Acked-by: Gratian Crisan gratian.cri...@ni.com Natinst-ReviewBoard-ID: 58620

Re: [OE-core] [PATCH 01/20] udev-cache: Compress the cache

2014-08-04 Thread Ben Shelton
On 08/04, Khem Raj wrote: On 14-08-04 13:40:53, Ben Shelton wrote: From: Richard Tollerton rich.toller...@ni.com $DEVCACHE is observed to be 100k uncompressed; compressing it reduces its size to ~5k. Natinst-Rally-ID: TA44427 Acked-by: Gratian Crisan gratian.cri...@ni.com

Re: [OE-core] [PATCH 01/20] udev-cache: Compress the cache

2014-08-04 Thread Khem Raj
On Aug 4, 2014 4:45 PM, Ben Shelton ben.shel...@ni.com wrote: On 08/04, Khem Raj wrote: On 14-08-04 13:40:53, Ben Shelton wrote: From: Richard Tollerton rich.toller...@ni.com $DEVCACHE is observed to be 100k uncompressed; compressing it reduces its size to ~5k.

[OE-core] [PATCH] kexec-tools: Create separate package for vmcore-dmesg

2014-08-04 Thread Ricardo Neri
The kexec-tools recipe already specifies separate packages for kexec and kdump. Thus, it follows that a separate package can also be used to install vmcore-dmesg granularly. Signed-off-by: Ricardo Neri ricardo.neri-calde...@linux.intel.com --- meta/recipes-kernel/kexec/kexec-tools_2.0.7.bb | 3

[OE-core] [PATCH][RFC/RFT] busybox: Make busybox connman aware

2014-08-04 Thread Saul Wold
This change makes busybox aware of both connman and the standard dhcp client, while there is a caveat about using busybox's ifup/ifdown, this change will make the 3 possibly dhcp clients behave better when busybox is used. Enable the CONFIG_FEATURE_IFUPDOWN_EXTERNAL_DHCP feature to busybox will

Re: [OE-core] [PATCH][RFC/RFT] busybox: Make busybox connman aware

2014-08-04 Thread Saul Wold
On 08/04/2014 07:03 PM, Saul Wold wrote: This change makes busybox aware of both connman and the standard dhcp client, while there is a caveat about using busybox's ifup/ifdown, this change will make the 3 possibly dhcp clients behave better when busybox is used. Enable the

Re: [OE-core] [PATCH 1/1] INITRD var: make it a list of filesystem images

2014-08-04 Thread Nitin A Kamble
On 8/4/2014 9:38 AM, Hart, Darren wrote: On 7/29/14, 11:34, Kamble, Nitin A nitin.a.kam...@intel.com wrote: From: Nitin A Kamble nitin.a.kam...@intel.com Hi Nitin, Generally speaking this looks like a good improvement. I don't have any major technical concerns, but we do need to address