jackie.huang | 1 Sep 09:04 2014

[PATCH] perl: add explicit configs for Time-HiRes

From: Jackie Huang <jackie.huang@...>

The compilation of Time-HiRes tries to compile and run the testing
program but definitely fails since we are cross compiling:
Looking for clock_gettime()... ./tmp26733: ./tmp26733: cannot execute binary file
Looking for clock_getres()... ./tmp26733: ./tmp26733: cannot execute binary file

so add explicit configs to avoid the auto detecting.

Signed-off-by: Jackie Huang <jackie.huang@...>
---
 meta/recipes-devtools/perl/perl-5.20.0/config.sh | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/meta/recipes-devtools/perl/perl-5.20.0/config.sh b/meta/recipes-devtools/perl/perl-5.20.0/config.sh
index 2532c8d..1ac1355 100644
--- a/meta/recipes-devtools/perl/perl-5.20.0/config.sh
+++ b/meta/recipes-devtools/perl/perl-5.20.0/config.sh
 <at>  <at>  -1104,3 +1104,10  <at>  <at>  usekernprocpathname='undef'
 usensgetexecutablepath='undef'
 st_ino_sign='1'
 st_ino_size='4'
+
+# for Time-HiRes
+d_clock_nanosleep='define'
+d_clock_gettime='define'
+d_clock_getres='define'
+d_clock='define'
+d_nanosleep='define'
--

-- 
(Continue reading)

Armin Kuster | 1 Sep 07:22 2014
Picon

[PATCH] lz4: update to version 122

Makefile md5sum changed its is where they bump the version.

r122 fixes:
Fix : AIX & AIX64 support (SamG)
Fix : mips 64-bits support (lew van)
Added : Examples directory, using code examples from Takayuki Matsuoka
Updated : Framing specification, to v1.4.1
Updated : xxHash, to r36

r121 fixes:
Fix : make install for OS-X and BSD, thanks to Takayuki Matsuoka
Added : make install for kFreeBSD and Hurd (Nobuhiro Iwamatsu)
Fix : LZ4 HC streaming bug

Signed-off-by: Armin Kuster <akuster808@...>
---
 meta/recipes-support/lz4/lz4_svn.bb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/meta/recipes-support/lz4/lz4_svn.bb b/meta/recipes-support/lz4/lz4_svn.bb
index adbe098..bbd5d93 100644
--- a/meta/recipes-support/lz4/lz4_svn.bb
+++ b/meta/recipes-support/lz4/lz4_svn.bb
 <at>  <at>  -3,10 +3,10  <at>  <at>  DESCRIPTION = "LZ4 is a very fast lossless compression algorithm, providing comp

 LICENSE = "BSD"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=0b0d063f37a4477b54af2459477dcafd \
-                    file://Makefile;md5=ca9db31c873dc45240e2792a866ab0b5"
+                    file://Makefile;md5=68938168b5cee826476a13e1b8d1f480"

(Continue reading)

Hongxu Jia | 1 Sep 05:37 2014

[PATCH V2 0/1] classes/compress_doc: support compress man/info pages

Changed in V2:

Use "compress_mode = d.getVar('DOC_COMPRESS', True)" to instead of
"compress_mode = d.getVar('DOC_COMPRESS', True) or ''"

Test Steps:

1. vim local.conf
...
IMAGE_INSTALL_append = " man info man-doc e2fsprogs-doc vim-doc"
INHERIT += "compress_doc"
DOC_COMPRESS = "xz"
...

2. bitbake core-image-minimal

3. Identify already compressed items, verify they conform to
compression policy. Take man for example ('gz' --> 'xz')

$ cd tmp/work/armv5te-poky-linux-gnueabi/man/1.6g-r1
$ find image/usr/share/man/
image/usr/share/man/
image/usr/share/man/man7
image/usr/share/man/man7/man.7.gz
image/usr/share/man/man1
image/usr/share/man/man1/man2html.1
image/usr/share/man/man1/man.1.gz
image/usr/share/man/man5
image/usr/share/man/man5/manpath.5.gz

(Continue reading)

Armin Kuster | 30 Aug 20:49 2014
Picon

[PATCH 1/2] tzdata: update to 2014g

For a full description of the changes see:

http://mm.icann.org/pipermail/tz-announce/2014-August/000024.html

Signed-off-by: Armin Kuster <akuster808@...>
---
 meta/recipes-extended/tzdata/tzdata_2014f.bb | 6 ------
 meta/recipes-extended/tzdata/tzdata_2014g.bb | 6 ++++++
 2 files changed, 6 insertions(+), 6 deletions(-)
 delete mode 100644 meta/recipes-extended/tzdata/tzdata_2014f.bb
 create mode 100644 meta/recipes-extended/tzdata/tzdata_2014g.bb

diff --git a/meta/recipes-extended/tzdata/tzdata_2014f.bb b/meta/recipes-extended/tzdata/tzdata_2014f.bb
deleted file mode 100644
index caad383..0000000
--- a/meta/recipes-extended/tzdata/tzdata_2014f.bb
+++ /dev/null
 <at>  <at>  -1,6 +0,0  <at>  <at> 
-SRC_URI = "ftp://ftp.iana.org/tz/releases/tzdata${PV}.tar.gz;name=tzdata"
-
-SRC_URI[tzdata.md5sum] = "f333b2e8f876221a97871cae0c188aa5"
-SRC_URI[tzdata.sha256sum] = "eed690a72124f380bcb14947d398a7a482acb9ab792ae78bd4554e52c5ca2001"
-
-require tzdata.inc
diff --git a/meta/recipes-extended/tzdata/tzdata_2014g.bb b/meta/recipes-extended/tzdata/tzdata_2014g.bb
new file mode 100644
index 0000000..e831833
--- /dev/null
+++ b/meta/recipes-extended/tzdata/tzdata_2014g.bb
 <at>  <at>  -0,0 +1,6  <at>  <at> 
(Continue reading)

Robert Yang | 30 Aug 12:12 2014

[PATCH 0/1] libpam: remove MLPREFIX from PN

The following changes since commit d2fbc55d6863a767e69092bac686c02c3ec34650:

  populate_sdk_base: Remap TOOLCHAIN_HOST_TASK variable (2014-08-28 15:12:31 +0100)

are available in the git repository at:

  git://git.openembedded.org/openembedded-core-contrib rbt/libpam
  http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=rbt/libpam

Robert Yang (1):
  libpam: remove MLPREFIX from PN

 meta/recipes-extended/pam/libpam_1.1.6.bb |    5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

-- 
1.7.9.5

--

-- 
Bruce Ashfield | 30 Aug 06:38 2014

[PATCH 00/18] kernel-yocto: consolidated pull request

Richard/Saul,

Here's the pending queue of kernel changes for the 1.7 feature freeze.
The queue is large, but I've actually been building and running with 
most of these changes for 6 months now, so they've been soaked for
quite a while.

This block of changes is largely about removing some of the old code,
the corner cases, and removing checks that are now handled by the
fetcher (awesome!). They are incremental cleanups, and nothing significant
changes .. in fact, I'm probably the only one that really even cares 
about the changes (since I have more features to do on top of them):

  kernel-yocto: use cat-file instead of git-show
  kernel-yocto: move SRCREV validation to patching phase
  kernel-yocto: remove containing branch check
  kernel-yocto: remove SRC_URI kbranch validation
  kernel-yocto: remove branch existence checking in do_validate_branches
  kernel-yocto: remove KBRANCH_DEFAULT
  kernel-yocto: simplify branch SRCREV validation
  kernel-yocto: use show-ref instead of branch -a
  kernel-yocto: clean overly complex branch checkout
  kernel-yocto: allow custom non-meta, SRCREV format builds
  kernel-yocto: remove KBRANCH_DEFAULT
  kernel-yocto: convert echo statements to bb* equivalents
  kern-tools: allow meta branch and meta data directory to differ

The next change is:

  images: introduce core-image-kernel-dev
(Continue reading)

Peter A. Bigot | 30 Aug 05:45 2014

armv6k support in OE for raspberrypi and s3c6410

The topic from 
http://lists.openembedded.org/pipermail/openembedded-core/2014-August/095830.html 
is causing trouble again, specifically with meta-raspberrypi and 
boost-1.56.  Here're the details:

For the purposes of defining preprocessor symbols like 
__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 gcc 4.9.1 partitions ARM (non-M) 
architectures into three groups:

1) armv2 armv2a armv3 armv3m armv4 armv4t armv5 armv5e armv5t armv5te 
iwmmxt iwmmxt2
2) armv6 armv6j armv6t2 armv6z
3) armv6k armv6zk armv7-a armv7-r armv7ve armv8-a armv8-a+crc

These indicate increasing levels of support for atomic instructions, and 
perhaps other differences. (There are other preprocessor defines like 
__ARCH_ARM_FOO that distinguish within these groups; here I'm focusing 
only on a specific known problem using __GCC_-prefixed symbols.)

Unlike normal builds of a gcc toolchain, OE builds the runtime libraries 
separately in gcc-runtime and using the machine's tuning flags which 
include the architecture.  The flags affect how atomic operations are 
implemented in the libraries.

Concurrrent applications built to link against the libraries must be 
compiled to use compatible atomic operations, or they do not work. While 
this happens naturally for applications built under OE that use the 
machine-specific tuning flags, it does not occur for on-target builds or 
for builds using the OE toolchain outside of the OE environment, which 
instead normally default to the least capable set of features.
(Continue reading)

Dan McGregor | 29 Aug 23:15 2014
Picon

[PATCH 4/5] lighttpd: install config file without execute permissions

From: Dan McGregor <dan.mcgregor@...>

Signed-off-by: Dan McGregor <dan.mcgregor@...>
---
 meta/recipes-extended/lighttpd/lighttpd_1.4.35.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/recipes-extended/lighttpd/lighttpd_1.4.35.bb
b/meta/recipes-extended/lighttpd/lighttpd_1.4.35.bb
index 0acc37d..20d5c1c 100644
--- a/meta/recipes-extended/lighttpd/lighttpd_1.4.35.bb
+++ b/meta/recipes-extended/lighttpd/lighttpd_1.4.35.bb
 <at>  <at>  -51,7 +51,7  <at>  <at>  SYSTEMD_SERVICE_${PN} = "lighttpd.service"
 do_install_append() {
  install -d ${D}${sysconfdir}/init.d ${D}${sysconfdir}/lighttpd.d
${D}/www/pages/dav
  install -m 0755 ${WORKDIR}/lighttpd ${D}${sysconfdir}/init.d
- install -m 0755 ${WORKDIR}/lighttpd.conf ${D}${sysconfdir}
+ install -m 0644 ${WORKDIR}/lighttpd.conf ${D}${sysconfdir}
  install -m 0644 ${WORKDIR}/index.html.lighttpd ${D}/www/pages/index.html

  install -d ${D}${systemd_unitdir}/system
-- 
1.9.3
--

-- 
Dan McGregor | 29 Aug 23:15 2014
Picon

[PATCH 3/5] xserver-nodm-init: Only start in runlevel 5

From: Dan McGregor <dan.mcgregor@...>

Runlevel 3 is often multi-user without X, so don't start the X
server in runlevel 3. This allows one to start up a machine without
X running from the bootloader.

Signed-off-by: Dan McGregor <dan.mcgregor@...>
---
 meta/recipes-graphics/x11-common/xserver-nodm-init.bb           | 2 +-
 meta/recipes-graphics/x11-common/xserver-nodm-init/xserver-nodm | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/meta/recipes-graphics/x11-common/xserver-nodm-init.bb
b/meta/recipes-graphics/x11-common/xserver-nodm-init.bb
index 0a16ff5..b68d40e 100644
--- a/meta/recipes-graphics/x11-common/xserver-nodm-init.bb
+++ b/meta/recipes-graphics/x11-common/xserver-nodm-init.bb
 <at>  <at>  -47,6 +47,6  <at>  <at>  do_install() {
 RDEPENDS_${PN} = "${ <at> base_conditional('ROOTLESS_X', '1',
'xuser-account', '', d)}"

 INITSCRIPT_NAME = "xserver-nodm"
-INITSCRIPT_PARAMS = "start 9 5 2 . stop 20 0 1 6 ."
+INITSCRIPT_PARAMS = "start 9 5 . stop 20 0 1 2 3 6 ."
 SYSTEMD_SERVICE_${PN} = "xserver-nodm.service"

diff --git a/meta/recipes-graphics/x11-common/xserver-nodm-init/xserver-nodm
b/meta/recipes-graphics/x11-common/xserver-nodm-init/xserver-nodm
index f6692a8..ef6c11c 100755
--- a/meta/recipes-graphics/x11-common/xserver-nodm-init/xserver-nodm
(Continue reading)

Dan McGregor | 29 Aug 23:15 2014
Picon

[PATCH 2/5] gcc-runtime: enable asan and tsan

From: Dan McGregor <dan.mcgregor@...>

ASan and TSan are useful debugging tools, enable them on the
target and add the packages to packagegroup-core-sdk.

Signed-off-by: Dan McGregor <dan.mcgregor@...>
---
 .../recipes-core/packagegroups/packagegroup-core-sdk.bb |  4 +++-
 meta/recipes-devtools/gcc/gcc-runtime.inc               | 17 +++++++++++++++++
 2 files changed, 20 insertions(+), 1 deletion(-)

diff --git a/meta/recipes-core/packagegroups/packagegroup-core-sdk.bb
b/meta/recipes-core/packagegroups/packagegroup-core-sdk.bb
index a544bbd..378336e 100644
--- a/meta/recipes-core/packagegroups/packagegroup-core-sdk.bb
+++ b/meta/recipes-core/packagegroups/packagegroup-core-sdk.bb
 <at>  <at>  -28,7 +28,9  <at>  <at>  RDEPENDS_packagegroup-core-sdk = "\

 RRECOMMENDS_packagegroup-core-sdk = "\
     libgomp \
-    libgomp-dev"
+    libgomp-dev \
+    libsanitizer \
+    libsanitizer-dev"

 #python generate_sdk_pkgs () {
 #    poky_pkgs = read_pkgdata('packagegroup-core', d)['PACKAGES']
diff --git a/meta/recipes-devtools/gcc/gcc-runtime.inc
b/meta/recipes-devtools/gcc/gcc-runtime.inc
index 7ce84f1..109f8dd 100644
(Continue reading)

Dan McGregor | 29 Aug 23:15 2014
Picon

[PATCH 5/5] rpcbind: Make user's home directory /

From: Dan McGregor <dan.mcgregor@...>

Signed-off-by: Dan McGregor <dan.mcgregor@...>
---
 meta/recipes-extended/rpcbind/rpcbind_0.2.1.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/recipes-extended/rpcbind/rpcbind_0.2.1.bb
b/meta/recipes-extended/rpcbind/rpcbind_0.2.1.bb
index 89e567b..4a5562b 100644
--- a/meta/recipes-extended/rpcbind/rpcbind_0.2.1.bb
+++ b/meta/recipes-extended/rpcbind/rpcbind_0.2.1.bb
 <at>  <at>  -40,7 +40,7  <at>  <at>  SYSTEMD_AUTO_ENABLE = "disable"
 inherit useradd

 USERADD_PACKAGES = "${PN}"
-USERADD_PARAM_${PN} = "--system --no-create-home \
+USERADD_PARAM_${PN} = "--system --no-create-home --home-dir / \
                        --shell /bin/false --user-group rpc"

 EXTRA_OECONF += " --enable-warmstarts --with-rpcuser=rpc"
-- 
1.9.3
--

-- 

Gmane