Dmitry Eremin-Solenikov | 18 Apr 16:58 2015

[PATCH] e2fsprogs: add ptest

Enable ptest for e2fsprogs by reusing provided testsuite.

Signed-off-by: Dmitry Eremin-Solenikov <dmitry_eremin@...>
---
 .../e2fsprogs/e2fsprogs/ptest.patch                | 66 ++++++++++++++++++++++
 .../recipes-devtools/e2fsprogs/e2fsprogs/run-ptest | 11 ++++
 .../recipes-devtools/e2fsprogs/e2fsprogs_1.42.9.bb | 17 ++++++
 3 files changed, 94 insertions(+)
 create mode 100644 meta/recipes-devtools/e2fsprogs/e2fsprogs/ptest.patch
 create mode 100644 meta/recipes-devtools/e2fsprogs/e2fsprogs/run-ptest

diff --git a/meta/recipes-devtools/e2fsprogs/e2fsprogs/ptest.patch b/meta/recipes-devtools/e2fsprogs/e2fsprogs/ptest.patch
new file mode 100644
index 0000000..b8a53e9
--- /dev/null
+++ b/meta/recipes-devtools/e2fsprogs/e2fsprogs/ptest.patch
 <at>  <at>  -0,0 +1,66  <at>  <at> 
+Index: e2fsprogs-1.42.9/tests/Makefile.in
+===================================================================
+--- e2fsprogs-1.42.9.orig/tests/Makefile.in
++++ e2fsprogs-1.42.9/tests/Makefile.in
+ <at>  <at>  -18,7 +18,7  <at>  <at>  test_one: $(srcdir)/test_one.in Makefile
+ 	 <at> echo "#!/bin/sh" > test_one
+  <at> HTREE_CMT <at> 	 <at> echo "HTREE=y" >> test_one
+  <at> QUOTA_CMT <at> 	 <at> echo "QUOTA=y" >> test_one
+-	 <at> echo "SRCDIR= <at> srcdir <at> " >> test_one
++	 <at> echo "SRCDIR=/usr/lib/e2fsprogs/ptest/test" >> test_one
+ 	 <at> echo "DIFF_OPTS= <at> UNI_DIFF_OPTS <at> " >> test_one
+ 	 <at> cat $(srcdir)/test_one.in >> test_one
+ 	 <at> chmod +x test_one
(Continue reading)

Saul Wold | 18 Apr 05:06 2015
Picon

[PATCH] Dpkg: Fix broken patch

Richard,

Major mia culpa! 

I tested sgw/dizzy and then manged to push another patch from a different branch, I had this
patch queued up and it ran on the AB before I pushed the wrong branch.

Please pull this patch (it's the correct one), and reset the Build Appliance SRCREV, I 
will try to start an RC2 build this weekend.

Sau!

Saul Wold (1):
  dpkg: Fix patch to adjust for older code

 .../dpkg/dpkg/tar-error-code.patch                 | 27 +++++++++++-----------
 1 file changed, 14 insertions(+), 13 deletions(-)

-- 
2.1.0

--

-- 
Andre McCurdy | 18 Apr 02:25 2015
Picon

[PATCH] strace: fixes for compilation failures with musl

Backports from upstream:

  http://sourceforge.net/p/strace/code/ci/d34e00b293942b1012ddc49ed3ab379a32337611
  http://sourceforge.net/p/strace/code/ci/3460dc486d333231998de0f19918204aacee9ae3

Expected to be released officially as part of strace 4.11

Signed-off-by: Andre McCurdy <armccurdy@...>
---
 .../Include-linux-ioctl.h-for-_IOC_-macros.patch   | 69 ++++++++++++++++++++++
 .../strace/Include-sys-stat.h-for-S_I-macros.patch | 52 ++++++++++++++++
 meta/recipes-devtools/strace/strace_4.10.bb        |  2 +
 3 files changed, 123 insertions(+)
 create mode 100644 meta/recipes-devtools/strace/strace/Include-linux-ioctl.h-for-_IOC_-macros.patch
 create mode 100644 meta/recipes-devtools/strace/strace/Include-sys-stat.h-for-S_I-macros.patch

diff --git
a/meta/recipes-devtools/strace/strace/Include-linux-ioctl.h-for-_IOC_-macros.patch b/meta/recipes-devtools/strace/strace/Include-linux-ioctl.h-for-_IOC_-macros.patch
new file mode 100644
index 0000000..d9346a8
--- /dev/null
+++ b/meta/recipes-devtools/strace/strace/Include-linux-ioctl.h-for-_IOC_-macros.patch
 <at>  <at>  -0,0 +1,69  <at>  <at> 
+Upstream-Status: Backport
+
+  http://sourceforge.net/p/strace/code/ci/3460dc486d333231998de0f19918204aacee9ae3
+
+Expected to be released officially as part of strace 4.11
+
+Signed-off-by: Andre McCurdy <armccurdy@...>
(Continue reading)

Chatre, Reinette | 18 Apr 01:05 2015
Picon

dpkg:do_patch failure with today's updates to dizzy branch

Hi,

Today there was an update to the dizzy branch that includes the patch below:

commit f77133783e5145858ac94b9bae1576852a7e838d
Author: Richard Purdie <richard.purdie@...>
Date:   Sat Mar 28 08:50:27 2015 +0000

    dpkg-native: Avoid 'file changed' errors from tar

    Hardlink count duing do_package_write_deb can change causing dpkg-deb
    failures. We don't care about this error case so avoid it by checking
    the tar exit code.

    [YOCTO #7529]

    (From OE-Core rev: 8ee36a5f2f9367550d28bf271afc53bca6ff3d5f)

    (From OE-Core rev: bcb124931af57dc2f9d8fe9cbbabd5f8ee58e414)

    Signed-off-by: Richard Purdie <richard.purdie@...>

Unfortunately the patch introduced by this commit does not apply cleanly to the version of dpkg that can be
found in dizzy release. It seems that the patch was generated against dpkg version 1.17.21 while dizzy
uses version 1.17.4. The build fails with:

NOTE: Applying patch 'tar-error-code.patch' (../meta/recipes-devtools/dpkg/dpkg/tar-error-code.patch)
ERROR: Command Error: exit status: 1  Output:
Applying patch tar-error-code.patch
patching file dpkg-deb/build.c
(Continue reading)

Paul Eggleton | 17 Apr 17:43 2015
Picon

[PATCH v2 0/3] Packaging / warning fixes

A few fixes for things that have been bugging me lately. (I realise
we've just changed the S warning recently, hopefully this is the last
time...)

Changes since v1:
* Adjust message for installed-vs-shipped to suggest not installing
* Add S warning improvement patch

The following changes since commit cfc43743b0e41cf168cad9cbd4e9d870b8f01f03:

  toolchain-scripts: Allow the CONFIGSITE_CACHE variable to be overridden (2015-04-15 14:29:54 +0100)

are available in the git repository at:

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

Paul Eggleton (3):
  classes/package: clarify installed-vs-shipped message
  lib/oe/package_manager: avoid traceback with no packages
  classes/base: clarify S not set correctly warning

 meta/classes/base.bbclass      | 2 +-
 meta/classes/package.bbclass   | 3 ++-
 meta/lib/oe/package_manager.py | 2 ++
 3 files changed, 5 insertions(+), 2 deletions(-)

--

-- 
2.1.0

(Continue reading)

Dmitry Eremin-Solenikov | 17 Apr 15:52 2015

[PATCH] mdadm: add ptest

Enable ptest for mdadm, by reusing internal testsuite.

Signed-off-by: Dmitry Eremin-Solenikov <dmitry_eremin@...>
---
 meta/recipes-extended/mdadm/files/run-ptest | 10 ++++++++++
 meta/recipes-extended/mdadm/mdadm_3.3.2.bb  | 29 +++++++++++++++++++++++++++++
 2 files changed, 39 insertions(+)
 create mode 100644 meta/recipes-extended/mdadm/files/run-ptest

diff --git a/meta/recipes-extended/mdadm/files/run-ptest b/meta/recipes-extended/mdadm/files/run-ptest
new file mode 100644
index 0000000..5b27609
--- /dev/null
+++ b/meta/recipes-extended/mdadm/files/run-ptest
 <at>  <at>  -0,0 +1,10  <at>  <at> 
+#!/bin/sh
+
+./test &>./test.log
+if [ $? -eq 0 ]
+then
+	echo "PASS: mdadm"
+	rm test.log
+else
+	echo "FAIL: mdadm"
+fi
diff --git a/meta/recipes-extended/mdadm/mdadm_3.3.2.bb b/meta/recipes-extended/mdadm/mdadm_3.3.2.bb
index c6a5635..0742d73 100644
--- a/meta/recipes-extended/mdadm/mdadm_3.3.2.bb
+++ b/meta/recipes-extended/mdadm/mdadm_3.3.2.bb
 <at>  <at>  -12,6 +12,7  <at>  <at>  SRC_URI = "${KERNELORG_MIRROR}/linux/utils/raid/mdadm/${BPN}-${PV}.tar.xz \
(Continue reading)

Ed Bartosh | 17 Apr 15:19 2015
Picon

[wic][PATCH] wic: try to find bitbake using find_executable API

From: Ed Bartosh <eduard.bartosh@...>

Current wic code was assuming that bitbake directory is on the
same level as scripts, which is not the case for oe classic.

Using find_executable bitbake location should be determined better
as this API uss $PATH to search for executables.

Fixes [YOCTO #7621]

Signed-off-by: Ed Bartosh <eduard.bartosh@...>
Signed-off-by: Ed Bartosh <ed.bartosh@...>
---
 scripts/wic | 20 +++++++++++++++-----
 1 file changed, 15 insertions(+), 5 deletions(-)

diff --git a/scripts/wic b/scripts/wic
index 5bedd90..7d388c9 100755
--- a/scripts/wic
+++ b/scripts/wic
 <at>  <at>  -36,19 +36,25  <at>  <at>  import os
 import sys
 import optparse
 import logging
+from distutils import spawn

 # External modules
 scripts_path = os.path.abspath(os.path.dirname(__file__))
 lib_path = scripts_path + '/lib'
-bitbake_path = os.path.join(scripts_path, '../bitbake/lib')
(Continue reading)

Mike Looijmans | 17 Apr 14:17 2015
Picon

Using CRDA in combination with MDEV

´╗┐Has anyone here ever got "crda" to work with mdev (instead of udev)?

I was getting this message again from the wireless card:

cfg80211: Calling CRDA to update world regulatory domain

Now CRDA is the answer to that, and until now, I solved it by simply compiling 
a static rules database into my kernel. Which is apparently frowned upon, so I 
went looking for a more generally accepted solution.

I noticed there's a "crda" package in OE, but it RDEPENDS on udev for no other 
reason than simply because it provides a rules file for that. And I want to 
keep using mdev.

I think it would be better to split this package, and have a "crda-udev" 
package that provides the rules file and the dependency on udev. Alternative 
is to have a PACKAGECONFIG to enable udev support.

Kind regards,

Mike Looijmans
System Expert

TOPIC Embedded Products
Eindhovenseweg 32-C, NL-5683 KH Best
Postbus 440, NL-5680 AK Best
Telefoon: +31 (0) 499 33 69 79
Telefax: +31 (0) 499 33 69 70
E-mail: mike.looijmans <at> topicproducts.com
Website: www.topicproducts.com
(Continue reading)

Junling Zheng | 17 Apr 10:50 2015

[PATCH] gmp: remove referencing paths from the build host

Currently ${D}${includedir}/gmp.h references the path of build host
incorrectly, remove it.

Signed-off-by: Junling Zheng <zhengjunling@...>
---
 meta/recipes-support/gmp/gmp.inc | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/meta/recipes-support/gmp/gmp.inc b/meta/recipes-support/gmp/gmp.inc
index 558ee06..a80b356 100644
--- a/meta/recipes-support/gmp/gmp.inc
+++ b/meta/recipes-support/gmp/gmp.inc
 <at>  <at>  -26,4 +26,8  <at>  <at>  EXTRA_OECONF += " --enable-cxx=detect"
 PACKAGES =+ "libgmpxx"
 FILES_libgmpxx = "${libdir}/libgmpxx${SOLIBS}"

+do_install_append_class-target() {
+	sed -i "s+--sysroot=${STAGING_DIR_HOST}++g" ${D}${includedir}/gmp.h
+}
+
 SSTATE_SCAN_FILES += "gmp.h"
-- 
1.9.1

--

-- 
Lei Maohui | 17 Apr 08:15 2015

[oe-core][PATCH] cairo_1.14.2: Modified the license of cairo-trace.

Because the license of cairo-trace is GPLv3(util/cairo-trace/COPYING).
So pickup cairo-trace,and modified the license to GPLv3.

Signed-off-by: Lei Maohui <leimaohui@...>
---
 meta/recipes-graphics/cairo/cairo.inc       |  6 +++++-
 meta/recipes-graphics/cairo/cairo_1.14.2.bb | 10 ++++------
 2 files changed, 9 insertions(+), 7 deletions(-)

diff --git a/meta/recipes-graphics/cairo/cairo.inc b/meta/recipes-graphics/cairo/cairo.inc
index cd37559..98add5a 100644
--- a/meta/recipes-graphics/cairo/cairo.inc
+++ b/meta/recipes-graphics/cairo/cairo.inc
 <at>  <at>  -9,7 +9,11  <at>  <at>  Extension."
 HOMEPAGE = "http://cairographics.org"
 BUGTRACKER = "http://bugs.freedesktop.org"
 SECTION = "libs"
-LICENSE = "MPL-1 & LGPLv2.1"
+LICENSE = "MPL-1 & LGPLv2.1 & GPLv3+"
+LICENSE_${PN} = "MPL-1 & LGPLv2.1"
+LICENSE_${PN}-dev = "MPL-1 & LGPLv2.1"
+LICENSE_${PN}-gobject = "MPL-1 & LGPLv2.1"
+LICENSE_${PN}-perf-utils = "GPLv3+"
 X11DEPENDS = "virtual/libx11 libsm libxrender libxext"
 DEPENDS = "libpng fontconfig pixman glib-2.0 zlib"

diff --git a/meta/recipes-graphics/cairo/cairo_1.14.2.bb b/meta/recipes-graphics/cairo/cairo_1.14.2.bb
index 3272eb3..3817dbf 100644
--- a/meta/recipes-graphics/cairo/cairo_1.14.2.bb
+++ b/meta/recipes-graphics/cairo/cairo_1.14.2.bb
(Continue reading)

Lei Maohui | 17 Apr 05:21 2015

[oe-core][PATCH] libgcrypt: modified the license of dumpsexp.

Because dumpsexp.c is GPLv3. So pick up the dumpsexp and modified license to GPLv3.

Signed-off-by: Lei Maohui <leimaohui@...>
---
 meta/recipes-support/libgcrypt/libgcrypt.inc | 11 +++++++++--
 1 file changed, 9 insertions(+), 2 deletions(-)

diff --git a/meta/recipes-support/libgcrypt/libgcrypt.inc b/meta/recipes-support/libgcrypt/libgcrypt.inc
index eea67aa..683be78 100644
--- a/meta/recipes-support/libgcrypt/libgcrypt.inc
+++ b/meta/recipes-support/libgcrypt/libgcrypt.inc
 <at>  <at>  -4,7 +4,11  <at>  <at>  BUGTRACKER = "https://bugs.g10code.com/gnupg/index"
 SECTION = "libs"

 # helper program gcryptrnd and getrandom are under GPL, rest LGPL
-LICENSE = "GPLv2+ & LGPLv2.1+"
+LICENSE = "GPLv2+ & LGPLv2.1+ & GPLv3+"
+LICENSE_${PN} = "LGPLv2.1+"
+LICENSE_${PN}-dev = "GPLv2+ & LGPLv2.1+"
+LICENSE_dumpsexp-dev = "GPLv3+"
+
 LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f \
                     file://COPYING.LIB;md5=bbb461211a33b134d42ed5ee802b37ff"

 <at>  <at>  -35,7 +39,10  <at>  <at>  do_install_append() {
 	install -m 0644 ${B}/src/libgcrypt.pc ${D}/${libdir}/pkgconfig/
 }

-FILES_${PN}-dev += "${bindir}/dumpsexp ${bindir}/hmac256"
+PACKAGES =+ "dumpsexp-dev"
(Continue reading)


Gmane