Re: [OE-core] [PATCH 0/1] Change default for cortexa* to armv7at-neon.

2014-08-22 Thread Martin Jansa
On Fri, Aug 22, 2014 at 05:06:26PM -0500, Peter Seebach wrote: > On Fri, 22 Aug 2014 23:46:26 +0200 > Martin Jansa wrote: > > > changing > > default DEFAULTTUNE (and TUNE_PKGARCH with that) to have thumb while > > still building with -marm doesn't make much sense to me and is only > > confusing.

Re: [OE-core] [PATCH 0/1] Change default for cortexa* to armv7at-neon.

2014-08-22 Thread Peter Seebach
On Fri, 22 Aug 2014 23:46:26 +0200 Martin Jansa wrote: > changing > default DEFAULTTUNE (and TUNE_PKGARCH with that) to have thumb while > still building with -marm doesn't make much sense to me and is only > confusing. I think the distinction is that if you use armv7at-neon, you *can* build spe

Re: [OE-core] [PATCH 0/1] Change default for cortexa* to armv7at-neon.

2014-08-22 Thread Martin Jansa
On Fri, Aug 22, 2014 at 03:49:54PM -0500, Peter Seebach wrote: > On Fri, 22 Aug 2014 21:39:10 +0200 > Martin Jansa wrote: > > > Even enabling thumb seems wrong, because ARM_INSTRUCTION_SET is arm by > > default, so this change is only renaming the feed, but still building > > the same binaries (u

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

2014-08-22 Thread Richard Tollerton
Most of /etc/init.d/udev-cache is in a conditional block which can be replaced by a `[ ... ] || exit 0` to reduce nesting. This also provides an opportunity to improve handling of VERBOSE a bit. Previously, errors encountered during find, tar, etc. were ignored, which could mask some problems, or

[OE-core] [PATCH v2 04/12] busybox: enable `tar -m`

2014-08-22 Thread Richard Tollerton
CONFIG_FEATURE_TAR_NOPRESERVE_TIME=y is needed for the commit "udev-cache: strip timestamps on extract". Enabling this flag increases the size of busybox by 0 bytes on x86. Signed-off-by: Richard Tollerton --- meta/recipes-core/busybox/busybox/defconfig | 2 +- 1 file changed, 1 insertion(+), 1

[OE-core] [PATCH v2 05/12] udev-cache: strip timestamps on extract

2014-08-22 Thread Richard Tollerton
Under normal udev operation, device nodes are obviously timestamped based on the system time at current boot. However, when using udev-cache, they are timestamped from a previous boot. The existence of machines lacking RTCs makes this more than a cosmetic issue: if the current time is set further

[OE-core] [PATCH v2 09/12] udev-cache: get system config immediately before cache

2014-08-22 Thread Richard Tollerton
The system device configuration -- /proc/devices, /proc/cmdline, etc. -- and the contents of /dev must be stored as simultaneously as possible. Otherwise, hotplug events could be processed between the time we get the system config and the time we archive /dev, and the udev cache may be incorrect.

[OE-core] [PATCH v2 08/12] udev-cache: parametrize sysconf file paths

2014-08-22 Thread Richard Tollerton
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 SYSCONF_CACHED and SYSCONF_TMP. Signed-off-by: Richard Tollerton --- meta/recipes-core/udev/udev/init | 10 ++

[OE-core] [PATCH v2 03/12] udev-cache: choose a more descriptive cache filename

2014-08-22 Thread Richard Tollerton
"/etc/dev.tar.gz" doesn't adequately imply that udev-cache maintains it. Instead, call it "/etc/udev-cache.tar.gz". Signed-off-by: Richard Tollerton Signed-off-by: Ben Shelton Acked-by: Gratian Crisan Acked-by: Otavio Salvador --- meta/recipes-core/udev/udev/udev-cache.default | 2 +- 1 file

[OE-core] [PATCH v2 01/12] udev-cache: Update cache tarball atomically

2014-08-22 Thread Richard Tollerton
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. Signed-off-by: Richard Tollerton Signed-off-by: Ben Shelton Acked-by: Gratian Cris

[OE-core] [PATCH v2 10/12] udev-cache: invalidate on rules.d changes

2014-08-22 Thread Richard Tollerton
Presently, the cache is not regenerated if udev rules are modified, which may cause the cache to preserve an old configuration. To fix, include the size, mtime, and filename of all udev rules in the system configuration. This change requires `stat`. If busybox supplies stat, CONFIG_FEATURE_STAT_FO

[OE-core] [PATCH v2 02/12] udev-cache: Compress the cache

2014-08-22 Thread Richard Tollerton
$DEVCACHE is observed to be 100k uncompressed; compressing it reduces its size to ~5k. But compress it outside of `tar` so that archival operation takes as little time as possible, to minimize the risk of devices being created/removed during execution. Signed-off-by: Richard Tollerton --- meta/r

[OE-core] [PATCH v2 07/12] udev-cache: Don't ignore error messages from cache extract

2014-08-22 Thread Richard Tollerton
Previous changes should obviate all known spurious errors coming out of tar. Since real extraction failures can and will occur, stop redirecting stdout/stderr to /dev/null. Take this opportunity to also remove an unnecessary subshell. Signed-off-by: Richard Tollerton --- meta/recipes-core/udev/

[OE-core] [PATCH v2 11/12] udev-cache: Update cache asynchronously

2014-08-22 Thread Richard Tollerton
Don't hold up the boot while the cache is being updated. Signed-off-by: Richard Tollerton Signed-off-by: Ben Shelton Acked-by: Gratian Crisan --- meta/recipes-core/udev/udev/udev-cache | 19 +++ 1 file changed, 11 insertions(+), 8 deletions(-) diff --git a/meta/recipes-core/ud

[OE-core] [PATCH v2 06/12] udev-cache: omit sockets and filesystems mounted under /dev

2014-08-22 Thread Richard Tollerton
Archiving sockets causes tar to report an error and return a nonzero exit status. Archiving a mounted filesystem is harmless, but may greatly bloat the size of the cache tarball, and wastes time on boot. To fix these issues, use `find` to only include the files we want, which are the file types th

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

2014-08-22 Thread Richard Tollerton
This is v2 of the changes submitted by Ben Shelton on August 4. I've reworked the patches quite a bit, larger changes include: - All non-udev-cache-related patches have been omitted. I'll submit those separately. - Use `find` to build `tar` filelist. This eliminates the need for GNU- and busy

Re: [OE-core] [PATCH 0/1] Change default for cortexa* to armv7at-neon.

2014-08-22 Thread Peter Seebach
On Fri, 22 Aug 2014 21:39:10 +0200 Martin Jansa wrote: > Even enabling thumb seems wrong, because ARM_INSTRUCTION_SET is arm by > default, so this change is only renaming the feed, but still building > the same binaries (unless distro sets ARM_INSTRUCTION_SET). I think that's okay, because the p

[OE-core] Should lsb rdepends on lsbinitscripts?

2014-08-22 Thread Mario Domenech Goulart
Hi, The scripts installed by the lsb package (under /etc/core-lsb) source /etc/init.d/functions, but that file is not installed by lsb or by any of its dependencies, as far as I can see. /etc/init.d/functions is provided by the lsbinitscripts package. Should it be in lsb's RDEPENDS? Best wishes

Re: [OE-core] [PATCH 0/1] Change default for cortexa* to armv7at-neon.

2014-08-22 Thread Martin Jansa
On Fri, Aug 22, 2014 at 01:33:49PM -0500, Peter Seebach wrote: > On Fri, 22 Aug 2014 10:44:32 -0600 > Philip Balister wrote: > > > Can we also move to hard float abi? > > I'd rather not, just because the reason I care about this at all is that our > prebuilt toolchain has a set of binaries for a

Re: [OE-core] [PATCH 0/1] Change default for cortexa* to armv7at-neon.

2014-08-22 Thread Peter Seebach
On Fri, 22 Aug 2014 10:44:32 -0600 Philip Balister wrote: > Can we also move to hard float abi? I'd rather not, just because the reason I care about this at all is that our prebuilt toolchain has a set of binaries for armv7at-neon, but not for hard float ABI. I am reminded, though, of a questio

Re: [OE-core] [PATCH 0/1] Change default for cortexa* to armv7at-neon.

2014-08-22 Thread Philip Balister
On 08/21/2014 01:54 PM, Peter Seebach wrote: > The various cortex chips generally support thumb code, so the armv7at > tunings are a better default for them than the plain armv7a tunings. > The armv7at tuning allows generation of both arm and thumb code, while > armv7a only allows arm code, which i

[OE-core] Patch message guidelines and internal/corporate fields

2014-08-22 Thread Richard Tollerton
Randy MacLeod writes: > Wind River patches used to include a "CQID" tag but we've changed > our process to avoid needing such internal tags. If National > Instruments can do so as well, that'd be best. > > I did check my oe-core email list history and this seems like the > first patch from NI tha

[OE-core] [PATCH] Add support for ccache builds with the SDK

2014-08-22 Thread Laszlo Papp
Signed-off-by: Laszlo Papp --- meta/classes/toolchain-scripts.bbclass | 2 ++ 1 file changed, 2 insertions(+) diff --git a/meta/classes/toolchain-scripts.bbclass b/meta/classes/toolchain-scripts.bbclass index 6cc8eba..60278d6 100644 --- a/meta/classes/toolchain-scripts.bbclass +++ b/meta/classe

[OE-core] [PATCH] ptest-runner: return 1 instead of zero if any test fails

2014-08-22 Thread root@myhostname
From: Laszlo Papp It is better to know this information from the exit code rather than parsing test specific outputs. Signed-off-by: Laszlo Papp --- meta/recipes-support/ptest-runner/files/ptest-runner | 8 ++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/meta/recipes-sup

[OE-core] Error

2014-08-22 Thread Himanshu Pandey
Hi, I am constantly getting these errors while compiling my net-snmp receipe. Please find my receipe below. ERROR: QA Issue: non -staticdev package contains static .a library: net-snmp path '/work/x86_64-poky-linux/net-snmp/1.0-r8/packages-split/net-snmp/opt/net-snmp/lib/libnetsnmpagent.a'ERROR:

[OE-core] [PATCH 7/9] error-report: sort table by 'Submitted on' column

2014-08-22 Thread Roxana Ciobanu
The information in the table needs to be sorted by "Submitted on", in inverse chronological order (the most recent error on top). [YOCTO #6538] Signer-off-by: Roxana Ciobanu --- Post/views.py | 1 + 1 file changed, 1 insertion(+) diff --git a/Post/views.py b/Post/views.py index f9c6655..1844c8

[OE-core] [PATCH 5/9] jquery.cookie.js: add the Cookie Plugin

2014-08-22 Thread Roxana Ciobanu
Add the Cookie Plugin [YOCTO #6538] Signed-off-by: Roxana Ciobanu --- Post/static/js/jquery.cookie.js | 117 README | 2 + 2 files changed, 119 insertions(+) create mode 100644 Post/static/js/jquery.cookie.js diff --git a/Pos

[OE-core] [PATCH 8/9] error-report: add css customization

2014-08-22 Thread Roxana Ciobanu
Add css customization for navbar-inner and dropdown-menu. [YOCTO #6538] Signed-off-by: Roxana Ciobanu --- Post/static/css/custom.css | 8 1 file changed, 8 insertions(+) diff --git a/Post/static/css/custom.css b/Post/static/css/custom.css index c5cb593..16fe910 100644 --- a/Post/stati

[OE-core] [PATCH 3/9] error-report: add 'Submitter' column

2014-08-22 Thread Roxana Ciobanu
Show the submitter in the search results page [YOCTO #6538] Signed-off-by: Roxana Ciobanu --- templates/search-details.html | 2 ++ 1 file changed, 2 insertions(+) diff --git a/templates/search-details.html b/templates/search-details.html index 3941a1f..b6c2b7e 100644 --- a/templates/search-de

[OE-core] [PATCH 9/9] error-report: add top 'Show rows' menu

2014-08-22 Thread Roxana Ciobanu
[YOCTO #6538] Signed-off-by: Roxana Ciobanu --- templates/search-details.html | 50 +++ 1 file changed, 46 insertions(+), 4 deletions(-) diff --git a/templates/search-details.html b/templates/search-details.html index fb1f3c1..ca428d0 100644 --- a/templat

[OE-core] [PATCH 6/9] error-report: remember state of the menu

2014-08-22 Thread Roxana Ciobanu
Remember the state of the menu, so that people are not forced to customise the columns every time they search. [YOCTO #6538] Signed-off-by: Roxana Ciobanu --- templates/base.html | 2 +- templates/search-details.html | 28 2 files changed, 29 insertions(+

[OE-core] [PATCH 4/9] error-report: add 'Edit columns' menu

2014-08-22 Thread Roxana Ciobanu
Add 'Edit columns' menu. [YOCTO #6538] Signed-off-by: Roxana Ciobanu --- Post/templatetags/__init__.py| 0 Post/templatetags/projecttags.py | 12 + Post/views.py| 26 +- templates/search-details.html| 105 ++- 4 fil

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

2014-08-22 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 http://git.yoctoproject.org/cgit.cgi/poky-cont

[OE-core] [PATCH 1/9] error-report: add 'Submitted on' column

2014-08-22 Thread Roxana Ciobanu
Show the submission date and time for an error in the search results page [YOCTO #6538] Signed-off-by: Roxana Ciobanu --- Post/createStatistics.py | 4 Post/getInfo.py | 3 +++ Post/parser.py| 3 ++- templates/search-details.html | 2 ++ 4 files changed,

[OE-core] [PATCH 2/9] error-report: add 'Submitted on' detail

2014-08-22 Thread Roxana Ciobanu
Show the submission date and time for an error in the the error details page. [YOCTO #6538] Signed-off-by: Roxana Ciobanu --- templates/error-details.html | 2 ++ 1 file changed, 2 insertions(+) diff --git a/templates/error-details.html b/templates/error-details.html index 0de5f46..f2dc010 100

[OE-core] [PATCH 1/1] sanity.bbclass/kernel.bbclass: minor fixes

2014-08-22 Thread Robert Yang
Fixed: - Remove an unused line - Remove unneeded code after d.getVar(), we don't need the "or ''" after d.getVar() unless we need a string. - typo: PREMIRROS -> PREMIRRORS. Signed-off-by: Robert Yang --- meta/classes/kernel.bbclass |2 +- meta/classes/sanity.bbclass |7 +++ 2 files

[OE-core] [PATCH 0/1] sanity.bbclass/kernel.bbclass: minor fixes

2014-08-22 Thread Robert Yang
The following changes since commit 47d1fc9f5c38f3d092937c47bd4c2f45adaa7fe6: qemu: fix Darwin cross-compilation (2014-08-18 20:43:24 +0100) are available in the git repository at: git://git.openembedded.org/openembedded-core-contrib rbt/typo http://cgit.openembedded.org/cgit.cgi/openembed

[OE-core] [PATCH 1/1] sanity.bbclass: check the format of MIRRORS

2014-08-22 Thread Robert Yang
Check the format of MIRRORS, PREMIRRORS and SSTATE_MIRRORS: * Each mirror shoudl contain two memebers. * The local "file://" url must use absolute path (file:///). * The protocol must in protocols list. Signed-off-by: Robert Yang --- meta/classes/sanity.bbclass | 33 +++

[OE-core] [PATCH 0/1] sanity.bbclass: check the format of MIRRORS

2014-08-22 Thread Robert Yang
Hello, The MIRRORS' config is a little special, so it's easy to make typos, this patch can help check the common errors. // Robert The following changes since commit 1fafe7ccc563d5ac9e41f5c1de93d2736745b512: ghostscript: Remove bogus gsfonts reference from DESCRIPTION (2014-08-06 11:14:21 +0