Re: [OE-core] [PATCH][v5] mmc-utils: fix the building failure when DEBUG_BUILD is 1

2015-08-16 Thread Khem Raj

> On Jun 25, 2015, at 6:30 PM, rongqing...@windriver.com wrote:
> 
> From: Roy Li 
> 
> Remove -Werror, since it is suitable to develop only; otherwise when
> gcc adds -O0 option to compile codes, the error will be generated
> since the warning:
>  //#  warning _FORTIFY_SOURCE requires compiling with optimization (-O)
> 
> Signed-off-by: Roy Li 
> ---
> meta/recipes-devtools/mmc/mmc-utils_git.bb | 4 
> 1 file changed, 4 insertions(+)
> 
> diff --git a/meta/recipes-devtools/mmc/mmc-utils_git.bb 
> b/meta/recipes-devtools/mmc/mmc-utils_git.bb
> index bdb4fed..8950360 100644
> --- a/meta/recipes-devtools/mmc/mmc-utils_git.bb
> +++ b/meta/recipes-devtools/mmc/mmc-utils_git.bb
> @@ -13,6 +13,10 @@ SRC_URI = 
> "git://git.kernel.org/pub/scm/linux/kernel/git/cjb/mmc-utils.git;branc
> 
> S = "${WORKDIR}/git"
> 
> +do_configure_prepend() {
> +sed -i "s:-Werror::g" ${S}/Makefile
> +}
> +

this should be only down when DEBUG_BUILD is set not unconditionally like this.

> do_install() {
> install -d ${D}${bindir}
> install -m 0755 mmc ${D}${bindir}
> --
> 1.9.1
> 
> --
> ___
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core



signature.asc
Description: Message signed with OpenPGP using GPGMail
-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


Re: [OE-core] [PATCH][master&fido] image.bbclass: Disable USE_DEPMOD for the dummy kernel

2015-08-16 Thread Khem Raj

> On Jun 23, 2015, at 12:22 PM, Saul Wold  wrote:
> 
> The image bbclass will try to find the kernel-abiversion file which is not 
> part
> of the linux-dummy kernel since there is no actual kernel. In this case using
> depmod also does not make sense since there should not be any kernel module 
> built.
> 
> [YOCTO #7884]
> 
> Signed-off-by: Saul Wold 
> ---
> meta/classes/image.bbclass | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/meta/classes/image.bbclass b/meta/classes/image.bbclass
> index 01f8b3f..be245e9 100644
> --- a/meta/classes/image.bbclass
> +++ b/meta/classes/image.bbclass
> @@ -66,7 +66,7 @@ PACKAGE_INSTALL_ATTEMPTONLY ?= "${FEATURE_INSTALL_OPTIONAL}"
> EXCLUDE_FROM_WORLD = "1"
> 
> USE_DEVFS ?= "1"
> -USE_DEPMOD ?= "1"
> +USE_DEPMOD ?= '${@oe.utils.conditional("PREFERRED_PROVIDER_virtual/kernel", 
> "linux-dummy", "0", "1", d)}’
> 

this is an abstraction, it should work on more general metadata then just 
OE-Core,
using hardcoded recipe names doesn't sound right here. Richard’s suggestion on
finding the .ko’s is generic, which should be the better and generic solution.


> PID = "${@os.getpid()}"
> 
> --
> 2.1.0
> 
> --
> ___
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core



signature.asc
Description: Message signed with OpenPGP using GPGMail
-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


Re: [OE-core] [PATCH] python: Add performance patches from upstream 2.7 branch

2015-08-16 Thread Khem Raj

> On Jun 17, 2015, at 2:03 PM, Richard Purdie 
>  wrote:
> 
> On Wed, 2015-06-17 at 14:10 +0100, Richard Purdie wrote:
>> These performance patches result in about a 25% speed up of our parsing
>> speed with bitbake. They're already applied in 1.7 upstream and backported
>> from 3.X so worth applying for 2.7 too.
> 
> Sadly, this was too good to be true. I'd messed up the test environment
> and the 25% is Ubuntu's python verses the one from OE. Ubuntu's uses PGO
> whereas ours does not which is likely where the speed comes from. The
> patches in this series do give a small speedup, but its more like
> 0.5-1%. Shows that PGO is likely worth investigating further though.
> 

25% is too good to ignore. Have you opened a tracker for this ?
and python has needed workload for generating profile data pybench and pydes 
benchmarks are there
in source tree.

we need to compile twice.

compile with -fprofile-generate
run make run_profile_task
compile with -fprofile-use -fprofile-correction

So it should be straight forwards to try it out, do you still have the 
environment ?

> Cheers,
> 
> Richard
> 
> 
> 
> --
> ___
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core



signature.asc
Description: Message signed with OpenPGP using GPGMail
-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


Re: [OE-core] [PATCH 5/5] rpm: update to 5.4.15

2015-08-16 Thread Richard Purdie
On Fri, 2015-08-14 at 13:43 +0300, Alexander Kanavin wrote:
> This update also requires that db is updated to 6.1 version.
> 
> Patch updates:
> 
> - verify-fix-broken-logic-for-ghost-avoidance-Mark-Hat.patch has been merged 
> to upstream
> 
> - rpm-macros.in-disable-external-key-server.patch, rpm-lua-fix-print.patch and
> rpm-db5-or-db6.patch have been ported to the new upstream release. A better 
> explanation
> for when db5 is preferred has been provided.
> 
> - rpm-payload-use-hashed-inode.patch - a portion of this patch is now in 
> upstream, so
> that portion has been removed from the patch
> 
> - rpm-db5-or-db6.patch has been dropped from the latest-cvs recipe. That 
> recipe
> is intended for tracking upstream developments, and for that use case it 
> shouldn't
> matter that db6 is under AGPLv3.
> 
> Signed-off-by: Alexander Kanavin 

Not sure what this was tested with but a simple "bitbake
core-image-minimal" breaks after this (and the db) change with licensing
failures.

The autobuilder exploded with failures like:

https://autobuilder.yoctoproject.org/main/builders/build-appliance/builds/430/steps/BuildImages_1/logs/stdio

which are due to the installed manifest file listing installed packages
being empty.

Cheers,

Richard



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


[OE-core] [PATCH 2/3] libunistring: Upgrade recipe 0.9.4 -> 0.9.5

2015-08-16 Thread Khem Raj
Signed-off-by: Khem Raj 
---
 .../{libunistring_0.9.4.bb => libunistring_0.9.5.bb} | 9 -
 1 file changed, 4 insertions(+), 5 deletions(-)
 rename meta/recipes-support/libunistring/{libunistring_0.9.4.bb => 
libunistring_0.9.5.bb} (87%)

diff --git a/meta/recipes-support/libunistring/libunistring_0.9.4.bb 
b/meta/recipes-support/libunistring/libunistring_0.9.5.bb
similarity index 87%
rename from meta/recipes-support/libunistring/libunistring_0.9.4.bb
rename to meta/recipes-support/libunistring/libunistring_0.9.5.bb
index 289c813..45cf633 100644
--- a/meta/recipes-support/libunistring/libunistring_0.9.4.bb
+++ b/meta/recipes-support/libunistring/libunistring_0.9.5.bb
@@ -13,17 +13,16 @@ DESCRIPTION = "Text files are nowadays usually encoded in 
Unicode, and may\
 
 HOMEPAGE = "http://www.gnu.org/software/libunistring/";
 SECTION = "devel"
-LICENSE = "GPLv3&LGPLv3"
+LICENSE = "GPLv3 & LGPLv3"
 LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504 \
-file://COPYING.LIB;md5=6a6a8e020838b23406c81b19c1d46df6" 
+file://COPYING.LIB;md5=6a6a8e020838b23406c81b19c1d46df6"
 
 SRC_URI = "${GNU_MIRROR}/libunistring/libunistring-${PV}.tar.gz \
file://iconv-m4-remove-the-test-to-convert-euc-jp.patch \
file://0001-Unset-need_charset_alias-when-building-for-musl.patch \
 "
-
-SRC_URI[md5sum] = "c24a6a3838d9ad4a41a62549312c4226"
-SRC_URI[sha256sum] = 
"f5246d63286a42902dc096d6d44541fbe4204b6c02d6d5d28b457c9882ddd8a6"
+SRC_URI[md5sum] = "1a705bcdcb83799d544137617b377cfd"
+SRC_URI[sha256sum] = 
"1a8c0772467850bef7197318a95f44abbb678ea83cbf119a3500cc7848276a17"
 
 inherit autotools texinfo
 BBCLASSEXTEND = "native nativesdk"
-- 
2.5.0

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


[OE-core] [PATCH 1/3] guile: Specify directories to find proper libunistring, libgmp and libltdl

2015-08-16 Thread Khem Raj
Just when building on host which doesnt have libunistring on host guile
fails the following configure test

| configure: error: GNU libunistring is required, please install it.
| Configure failed. The contents of all config.log files follows to aid
debugging

The reason is that its looking for libunistring dev files on build
system, so lets point the configure into target sysroot, similar issue
exist for libgmp, libltdl detection as well, fixed thusly

Get rid of trailing whitespaces while here

Signed-off-by: Khem Raj 
---
 meta/recipes-devtools/guile/guile_2.0.11.bb | 8 ++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/meta/recipes-devtools/guile/guile_2.0.11.bb 
b/meta/recipes-devtools/guile/guile_2.0.11.bb
index ea9017b..71f696e 100644
--- a/meta/recipes-devtools/guile/guile_2.0.11.bb
+++ b/meta/recipes-devtools/guile/guile_2.0.11.bb
@@ -11,7 +11,7 @@ DESCRIPTION = "Guile is the GNU Ubiquitous Intelligent 
Language for Extensions,\
 HOMEPAGE = "http://www.gnu.org/software/guile/";
 SECTION = "devel"
 LICENSE = "GPLv3"
-LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504" 
+LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504"
 
 SRC_URI = "${GNU_MIRROR}/guile/guile-${PV}.tar.xz \

file://debian/0002-Mark-Unused-modules-are-removed-gc-test-as-unresolve.patch \
@@ -26,7 +26,7 @@ SRC_URI = "${GNU_MIRROR}/guile/guile-${PV}.tar.xz \
"
 
 #   file://debian/0001-Change-guile-to-guile-X.Y-for-info-pages.patch
-#   file://opensuse/guile-turn-off-gc-test.patch 
+#   file://opensuse/guile-turn-off-gc-test.patch
 
 SRC_URI[md5sum] = "03f1bce1a4983076d955003472306a13"
 SRC_URI[sha256sum] = 
"aed0a4a6db4e310cbdfeb3613fa6f86fddc91ef624c1e3f8937a6304c69103e2"
@@ -43,6 +43,10 @@ RDEPENDS_${PN}_append_libc-glibc_class-target = 
"glibc-gconv-iso8859-1"
 
 EXTRA_OECONF += "${@['--without-libltdl-prefix --without-libgmp-prefix 
--without-libreadline-prefix', ''][bb.data.inherits_class('native',d)]}"
 
+EXTRA_OECONF_append_class-target = " 
--with-libunistring-prefix=${STAGING_LIBDIR} \
+ --with-libgmp-prefix=${STAGING_LIBDIR} \
+ --with-libltdl-prefix=${STAGING_LIBDIR}"
+
 do_configure_prepend() {
mkdir -p po
 }
-- 
2.5.0

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


[OE-core] [PATCH 3/3] lzop: Fix build with gcc5 on ppc

2015-08-16 Thread Khem Raj
It seems all other architectures provide their own definitions for these
functions like __ACC_UA_GET_LE16 and this code is exposed only on ppc
this is the typical extern inline ( gnu definition ) version c99
semantics, lets use static inline which works both ways

Signed-off-by: Khem Raj 
---
 ...inlines-as-the-external-inline-definition.patch | 100 +
 meta/recipes-support/lzop/lzop_1.03.bb |   4 +-
 2 files changed, 103 insertions(+), 1 deletion(-)
 create mode 100644 
meta/recipes-support/lzop/lzop/0001-use-static-inlines-as-the-external-inline-definition.patch

diff --git 
a/meta/recipes-support/lzop/lzop/0001-use-static-inlines-as-the-external-inline-definition.patch
 
b/meta/recipes-support/lzop/lzop/0001-use-static-inlines-as-the-external-inline-definition.patch
new file mode 100644
index 000..867b88b
--- /dev/null
+++ 
b/meta/recipes-support/lzop/lzop/0001-use-static-inlines-as-the-external-inline-definition.patch
@@ -0,0 +1,100 @@
+From ecccbcf66da53779d88e38e2af7f82eff8dde7f8 Mon Sep 17 00:00:00 2001
+From: Khem Raj 
+Date: Sun, 16 Aug 2015 10:35:47 -0700
+Subject: [PATCH] use static inlines as the external inline definition has
+ changed with gcc5
+
+Signed-off-by: Khem Raj 
+---
+Upstream-Status: Pending
+
+ src/miniacc.h | 24 
+ 1 file changed, 8 insertions(+), 16 deletions(-)
+
+diff --git a/src/miniacc.h b/src/miniacc.h
+index 09e6f0c..cae98d1 100644
+--- a/src/miniacc.h
 b/src/miniacc.h
+@@ -2880,8 +2880,7 @@ typedef void (__acc_cdecl_sighandler 
*acc_sighandler_t)(acc_signo_t);
+ #if !(ACC_CFG_NO_INLINE_ASM) && (__acc_HAVE_forceinline)
+ #if (ACC_ARCH_POWERPC && ACC_ABI_BIG_ENDIAN) && (ACC_CC_GNUC)
+ #if !defined(ACC_UA_GET_LE16)
+-extern __acc_forceinline unsigned long __ACC_UA_GET_LE16(__acc_ua_volatile 
const void* pp);
+-extern __acc_forceinline unsigned long __ACC_UA_GET_LE16(__acc_ua_volatile 
const void* pp) {
++static __acc_forceinline unsigned long __ACC_UA_GET_LE16(__acc_ua_volatile 
const void* pp) {
+ __acc_ua_volatile const acc_uint16e_t* p = (__acc_ua_volatile const 
acc_uint16e_t*) pp;
+ unsigned long v;
+ __asm__ __volatile__("lhbrx %0,0,%1" : "=r" (v) : "r" (p), "m" (*p));
+@@ -2890,8 +2889,7 @@ extern __acc_forceinline unsigned long 
__ACC_UA_GET_LE16(__acc_ua_volatile const
+ #define ACC_UA_GET_LE16(p)  __ACC_UA_GET_LE16(p)
+ #endif
+ #if !defined(ACC_UA_SET_LE16)
+-extern __acc_forceinline void __ACC_UA_SET_LE16(__acc_ua_volatile void* pp, 
unsigned long v);
+-extern __acc_forceinline void __ACC_UA_SET_LE16(__acc_ua_volatile void* pp, 
unsigned long v) {
++static __acc_forceinline void __ACC_UA_SET_LE16(__acc_ua_volatile void* pp, 
unsigned long v) {
+ __acc_ua_volatile acc_uint16e_t* p = (__acc_ua_volatile acc_uint16e_t*) 
pp;
+ __asm__ __volatile__("sthbrx %2,0,%1" : "=m" (*p) : "r" (p), "r" (v));
+ }
+@@ -2916,8 +2914,7 @@ extern __acc_forceinline void 
__ACC_UA_SET_LE16(__acc_ua_volatile void* pp, unsi
+ #if !(ACC_CFG_NO_INLINE_ASM) && (__acc_HAVE_forceinline)
+ #if (ACC_ARCH_POWERPC && ACC_ABI_BIG_ENDIAN) && (ACC_CC_GNUC)
+ #if !defined(ACC_UA_GET_LE32)
+-extern __acc_forceinline unsigned long __ACC_UA_GET_LE32(__acc_ua_volatile 
const void* pp);
+-extern __acc_forceinline unsigned long __ACC_UA_GET_LE32(__acc_ua_volatile 
const void* pp) {
++static __acc_forceinline unsigned long __ACC_UA_GET_LE32(__acc_ua_volatile 
const void* pp) {
+ __acc_ua_volatile const acc_uint32e_t* p = (__acc_ua_volatile const 
acc_uint32e_t*) pp;
+ unsigned long v;
+ __asm__ __volatile__("lwbrx %0,0,%1" : "=r" (v) : "r" (p), "m" (*p));
+@@ -2926,8 +2923,7 @@ extern __acc_forceinline unsigned long 
__ACC_UA_GET_LE32(__acc_ua_volatile const
+ #define ACC_UA_GET_LE32(p)  __ACC_UA_GET_LE32(p)
+ #endif
+ #if !defined(ACC_UA_SET_LE32)
+-extern __acc_forceinline void __ACC_UA_SET_LE32(__acc_ua_volatile void* pp, 
unsigned long v);
+-extern __acc_forceinline void __ACC_UA_SET_LE32(__acc_ua_volatile void* pp, 
unsigned long v) {
++static __acc_forceinline void __ACC_UA_SET_LE32(__acc_ua_volatile void* pp, 
unsigned long v) {
+ __acc_ua_volatile acc_uint32e_t* p = (__acc_ua_volatile acc_uint32e_t*) 
pp;
+ __asm__ __volatile__("stwbrx %2,0,%1" : "=m" (*p) : "r" (p), "r" (v));
+ }
+@@ -3307,8 +3303,7 @@ typedef void (__acc_cdecl_sighandler 
*acc_sighandler_t)(acc_signo_t);
+ #if !(ACC_CFG_NO_INLINE_ASM) && (__acc_HAVE_forceinline)
+ #if (ACC_ARCH_POWERPC && ACC_ABI_BIG_ENDIAN) && (ACC_CC_GNUC)
+ #if !defined(ACC_UA_GET_LE16)
+-extern __acc_forceinline unsigned long __ACC_UA_GET_LE16(__acc_ua_volatile 
const void* pp);
+-extern __acc_forceinline unsigned long __ACC_UA_GET_LE16(__acc_ua_volatile 
const void* pp) {
++static __acc_forceinline unsigned long __ACC_UA_GET_LE16(__acc_ua_volatile 
const void* pp) {
+ __acc_ua_volatile const acc_uint16e_t* p = (__acc_ua_volatile const 
acc_uint16e_t*) pp;
+ unsigned long v;
+ __asm__ __volatile__("lhbrx %0,0,%1" : "=r" (v) : "r" (p), "m" 

[OE-core] [PATCH 1/2] Binutils: Add Octeon3

2015-08-16 Thread Armin Kuster
From: Armin Kuster 

This add octeon3 support to binutils.

Signed-off-by: Armin Kuster 
---
 meta/recipes-devtools/binutils/binutils-2.25.1.inc |   1 +
 .../binutils/binutils/binutils-octeon3.patch   | 272 +
 2 files changed, 273 insertions(+)
 create mode 100644 
meta/recipes-devtools/binutils/binutils/binutils-octeon3.patch

diff --git a/meta/recipes-devtools/binutils/binutils-2.25.1.inc 
b/meta/recipes-devtools/binutils/binutils-2.25.1.inc
index 15ef36c..ef85fd4 100644
--- a/meta/recipes-devtools/binutils/binutils-2.25.1.inc
+++ b/meta/recipes-devtools/binutils/binutils-2.25.1.inc
@@ -32,6 +32,7 @@ SRC_URI = "\
  file://0012-Add-XLP-instructions-support.patch \
  file://0013-Fix-an-internal-error-in-do_print_to_mapfile-seen-wi.patch \
  file://0014-gold-arm-Skip-pic-check-for-R_ARM_REL32.patch \
+ file://binutils-octeon3.patch \
  "
 S  = "${WORKDIR}/git"
 
diff --git a/meta/recipes-devtools/binutils/binutils/binutils-octeon3.patch 
b/meta/recipes-devtools/binutils/binutils/binutils-octeon3.patch
new file mode 100644
index 000..e5beaae
--- /dev/null
+++ b/meta/recipes-devtools/binutils/binutils/binutils-octeon3.patch
@@ -0,0 +1,272 @@
+Upstream Status: Backport
+
+https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;a=commit;h=2c62985659da21a3fe16062d211a7158f79ad2e9
+
+Signed-off-By: Armin Kuster 
+
+Index: git/bfd/archures.c
+===
+--- git.orig/bfd/archures.c
 git/bfd/archures.c
+@@ -179,6 +179,7 @@ DESCRIPTION
+ .#define bfd_mach_mips_octeon 6501
+ .#define bfd_mach_mips_octeonp6601
+ .#define bfd_mach_mips_octeon26502
++.#define bfd_mach_mips_octeon36503
+ .#define bfd_mach_mips_xlr  887682   {* decimal 'XLR'  *}
+ .#define bfd_mach_mips_xlp  887680   {* decimal 'XLP'  *}
+ .#define bfd_mach_mipsisa32 32
+Index: git/bfd/bfd-in2.h
+===
+--- git.orig/bfd/bfd-in2.h
 git/bfd/bfd-in2.h
+@@ -1969,6 +1969,7 @@ enum bfd_architecture
+ #define bfd_mach_mips_octeon   6501
+ #define bfd_mach_mips_octeonp  6601
+ #define bfd_mach_mips_octeon2  6502
++#define bfd_mach_mips_octeon3  6503
+ #define bfd_mach_mips_xlr  887682   /* decimal 'XLR'  */
+ #define bfd_mach_mips_xlp  887680   /* decimal 'XLP'  */
+ #define bfd_mach_mipsisa32 32
+Index: git/bfd/cpu-mips.c
+===
+--- git.orig/bfd/cpu-mips.c
 git/bfd/cpu-mips.c
+@@ -102,6 +102,7 @@ enum
+   I_mipsocteon,
+   I_mipsocteonp,
+   I_mipsocteon2,
++  I_mipsocteon3,
+   I_xlr,
+   I_micromips,
+   I_xlp
+@@ -153,6 +154,7 @@ static const bfd_arch_info_type arch_inf
+   N (64, 64, bfd_mach_mips_octeon,"mips:octeon",  FALSE, NN(I_mipsocteon)),
+   N (64, 64, bfd_mach_mips_octeonp,"mips:octeon+",  FALSE, NN(I_mipsocteonp)),
+   N (64, 64, bfd_mach_mips_octeon2,"mips:octeon2",  FALSE, NN(I_mipsocteon2)),
++  N (64, 64, bfd_mach_mips_octeon3,"mips:octeon3",  FALSE, NN(I_mipsocteon3)),
+   N (64, 64, bfd_mach_mips_xlr, "mips:xlr",   FALSE, NN(I_xlr)),
+   N (64, 64, bfd_mach_mips_micromips,"mips:micromips",FALSE,NN(I_micromips)),
+   N (64, 64, bfd_mach_mips_xlp, "mips:xlp",  FALSE, 0)
+Index: git/bfd/elfxx-mips.c
+===
+--- git.orig/bfd/elfxx-mips.c
 git/bfd/elfxx-mips.c
+@@ -6604,6 +6604,9 @@ _bfd_elf_mips_mach (flagword flags)
+ case E_MIPS_MACH_LS3A:
+   return bfd_mach_mips_loongson_3a;
+ 
++case E_MIPS_MACH_OCTEON3:
++  return bfd_mach_mips_octeon3;
++
+ case E_MIPS_MACH_OCTEON2:
+   return bfd_mach_mips_octeon2;
+ 
+@@ -11878,6 +11881,10 @@ mips_set_isa_flags (bfd *abfd)
+   val = E_MIPS_ARCH_64R2 | E_MIPS_MACH_OCTEON;
+   break;
+ 
++case bfd_mach_mips_octeon3:
++  val = E_MIPS_ARCH_64R2 | E_MIPS_MACH_OCTEON3;
++  break;
++
+ case bfd_mach_mips_xlr:
+   val = E_MIPS_ARCH_64 | E_MIPS_MACH_XLR;
+   break;
+@@ -14773,6 +14780,7 @@ struct mips_mach_extension
+ static const struct mips_mach_extension mips_mach_extensions[] =
+ {
+   /* MIPS64r2 extensions.  */
++  { bfd_mach_mips_octeon3, bfd_mach_mips_octeon2 },
+   { bfd_mach_mips_octeon2, bfd_mach_mips_octeonp },
+   { bfd_mach_mips_octeonp, bfd_mach_mips_octeon },
+   { bfd_mach_mips_octeon, bfd_mach_mipsisa64r2 },
+Index: git/gas/config/tc-mips.c
+===
+--- git.orig/gas/config/tc-mips.c
 git/gas/config/tc-mips.c
+@@ -306,7 +306,7 @@ static unsigned int file_ase_explicit;
+ unsigned long mips_gprmask;
+ unsigned long mips_cprmask[4];
+ 
+-/* True if any MIPS16 code was produced.  */
++/* 2True if any MIPS16 code was produced.  */
+ static int file_ase_mips16;
+ 
+ #define ISA_SUPPORTS_MIPS16E (mips_opts.isa == ISA

[OE-core] [PATCH 2/2] tune-octeon: add tune file for Octeon

2015-08-16 Thread Armin Kuster
From: Armin Kuster 

this add Mips Octeon tune features.

Signed-off-by: Armin Kuster 
---
 meta/conf/machine/include/tune-octeon.inc | 27 +++
 1 file changed, 27 insertions(+)
 create mode 100644 meta/conf/machine/include/tune-octeon.inc

diff --git a/meta/conf/machine/include/tune-octeon.inc 
b/meta/conf/machine/include/tune-octeon.inc
new file mode 100644
index 000..f80f970
--- /dev/null
+++ b/meta/conf/machine/include/tune-octeon.inc
@@ -0,0 +1,27 @@
+DEFAULTTUNE ?="octeon2"
+
+require conf/machine/include/tune-mips64.inc
+
+AVAILTUNES += "octeon2 octeon2_64 octeon3 octeon3_64"
+
+TUNEVALID[octeon2] = "Enable optimization related to octeon2 support"
+TUNE_CCARGS .= "${@bb.utils.contains("TUNE_FEATURES", "octeon2", " 
-march=octeon2 ", "",d)}"
+TUNE_FEATURES_tune-octeon2 = "${TUNE_FEATURES_tune-mips64-n32} octeon2"
+MIPSPKGSFX_VARIANT_tune-octeon2 = "${TUNE_ARCH}"
+PACKAGE_EXTRA_ARCHS_tune-octeon2 = "mips64-n32 octeon2 octeon2_64-n32"
+
+TUNE_FEATURES_tune-octeon2_64 = "${TUNE_FEATURES_tune-mips64} octeon2"
+MIPSPKGSFX_VARIANT_tune-octeon2_64 = "${TUNE_ARCH}"
+PACKAGE_EXTRA_ARCHS_tune-octeon2_64 = "mips64 octeon2_64"
+
+
+TUNEVALID[octeon3] = "Enable optimization related to octeon3 support"
+TUNE_CCARGS .= "${@bb.utils.contains("TUNE_FEATURES", "octeon3", " 
-march=octeon3 ", "",d)}"
+
+TUNE_FEATURES_tune-octeon3 = "${TUNE_FEATURES_tune-mips64-n32} octeon3"
+MIPSPKGSFX_VARIANT_tune-octeon3 = "${TUNE_ARCH}"
+PACKAGE_EXTRA_ARCHS_tune-octeon3 = "mips64-n32 octeon3 octeon3_64-n32"
+
+TUNE_FEATURES_tune-octeon3_64 = "${TUNE_FEATURES_tune-mips64} octeon3"
+MIPSPKGSFX_VARIANT_tune-octeon3_64 = "${TUNE_ARCH}"
+PACKAGE_EXTRA_ARCHS_tune-octeon3_64 = "mips64 octeon3_64"
-- 
2.3.5

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


Re: [OE-core] [PATCH 2/3] populate_sdk_base.bbclass: help rpm to pull in multilib toolchain

2015-08-16 Thread Robert Yang



On 08/15/2015 04:55 PM, Richard Purdie wrote:

On Thu, 2015-08-13 at 00:37 -0700, Robert Yang wrote:

When configure multilib, "bitbake  -c populate_sdk" should
install all arch toolchains (for example, 32 and 64bit), but rpm not
handle the multilib requires correctly, for example:
lib32-packagegroup-core-standalone-sdk-target requires lib32-libc6, rpm
may pull in libc6 rather than lib32-libc6, if we directly use something
like IMAGE_INSTALL_append = " lib32-libc6", then it works well, so
update TOOLCHAIN_TARGET_TASK to include the RDEPENDS packages will fix
the issue.


Whilst I understand why you're doing this, its rather sad that as the
rpm multilib code is broken, we have to hack the core sdk code like this
to work around it.

Could/should we not put this into the rpm sdk backend instead?


Sorry, I can't understand what did you mean, do you mean put this into rpm
sdk backend such as meta/lib/oe/sdk.py ?

// Robert



I also can't help this is just a bandaid and that we'll likely find
other ways this breaks in the future, its not a complete solution to the
issue :/.

Cheers,

Richard


[YOCTO #8089]

Signed-off-by: Robert Yang 
---
  meta/classes/populate_sdk_base.bbclass |   32 
  1 file changed, 32 insertions(+)

diff --git a/meta/classes/populate_sdk_base.bbclass 
b/meta/classes/populate_sdk_base.bbclass
index a9e9bd7..c2491ea 100644
--- a/meta/classes/populate_sdk_base.bbclass
+++ b/meta/classes/populate_sdk_base.bbclass
@@ -83,8 +83,40 @@ POPULATE_SDK_POST_HOST_COMMAND_append = " 
write_host_sdk_manifest; "
  fakeroot python do_populate_sdk() {
  from oe.sdk import populate_sdk
  from oe.manifest import create_manifest, Manifest
+import oe.packagedata

  pn = d.getVar('PN', True)
+# Help rpm to pull in multilib requires since it may not pull in
+# them correctly, for example,
+# lib32-packagegroup-core-standalone-sdk-target requires
+# lib32-libc6, rpm may pull in libc6 rather than lib32-libc6, but
+# directly use
+# TOOLCHAIN_TARGET_TASK_append = " lib32-libc6" works well.
+for pkg in (d.getVar('TOOLCHAIN_TARGET_TASK', True) or "").split():
+sub_data = oe.packagedata.read_subpkgdata(pkg, d)
+sub_rdep = sub_data.get("RDEPENDS_" + pkg)
+if not sub_rdep:
+continue
+done = sub_rdep.split()
+next = done
+# Find all the rdepends on the dependency chain
+while next:
+new = []
+for sub_pkg in next:
+sub_data = oe.packagedata.read_subpkgdata(sub_pkg, d)
+sub_pkg_rdep = sub_data.get("RDEPENDS_" + sub_pkg)
+if not sub_pkg_rdep:
+continue
+for p in sub_pkg_rdep.split():
+if p in done:
+continue
+if not p.startswith('(') and \
+oe.packagedata.has_subpkgdata(p, d):
+# It's a new rdep
+done.append(p)
+new.append(p)
+next = new
+d.appendVar('TOOLCHAIN_TARGET_TASK', ' ' + " ".join(done))
  runtime_mapping_rename("TOOLCHAIN_TARGET_TASK", pn, d)
  runtime_mapping_rename("TOOLCHAIN_TARGET_TASK_ATTEMPTONLY", pn, d)

--
1.7.9.5







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


Re: [OE-core] [PATCH 1/3] toolchain-shar-extract.sh: add a space in the end

2015-08-16 Thread Robert Yang


On 08/15/2015 09:23 AM, Randy MacLeod wrote:

Nit pick on logs...

In the short log:
s/add a space in the end/
  /Add a space after asking a question/

On 2015-08-13 03:37 AM, Robert Yang wrote:

For a clear look when input.

This is a sentence fragment. It will read better if you repeat yourself:

Add a space at the end of a line when asking a question.
This makes it easier to read.


Thanks, I will update it.

// Robert



../Randy


[YOCTO #8089]

Signed-off-by: Robert Yang 
---
  meta/files/toolchain-shar-extract.sh |4 ++--
  1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/meta/files/toolchain-shar-extract.sh
b/meta/files/toolchain-shar-extract.sh
index 0a33ee8..3a50991 100644
--- a/meta/files/toolchain-shar-extract.sh
+++ b/meta/files/toolchain-shar-extract.sh
@@ -92,11 +92,11 @@ fi

  if [ -e "$target_sdk_dir/environment-setup-@REAL_MULTIMACH_TARGET_SYS@" ]; 
then
  echo "The directory \"$target_sdk_dir\" already contains a SDK for this
architecture."
-printf "If you continue, existing files will be overwritten! Proceed[y/N]?"
+printf "If you continue, existing files will be overwritten! Proceed[y/N]? 
"

  default_answer="n"
  else
-printf "You are about to install the SDK to \"$target_sdk_dir\".
Proceed[Y/n]?"
+printf "You are about to install the SDK to \"$target_sdk_dir\".
Proceed[Y/n]? "

  default_answer="y"
  fi





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


Re: [OE-core] [PATCH 2/4] systemd: Upgrade 219 -> 224

2015-08-16 Thread Jonathan Liu
Hi Khem,

On 16 August 2015 at 11:21, Khem Raj  wrote:
> diff --git a/meta/recipes-core/systemd/systemd_219.bb 
> b/meta/recipes-core/systemd/systemd_224.bb
> similarity index 94%
> rename from meta/recipes-core/systemd/systemd_219.bb
> rename to meta/recipes-core/systemd/systemd_224.bb
> index 83e4bce..16eb497 100644
> @@ -23,14 +22,13 @@ DEPENDS = "kmod docbook-sgml-dtd-4.1-native 
> intltool-native gperf-native acl rea
>
>  SECTION = "base/shell"
>
> -inherit gtk-doc useradd pkgconfig autotools perlnative update-rc.d 
> update-alternatives qemu systemd ptest gettext
> +inherit useradd pkgconfig autotools perlnative update-rc.d 
> update-alternatives qemu systemd ptest gettext
>
> -SRCREV = "85a6fabdd3e43cfab0fc6359e9f2a9e368d4a3ed"
> +SRCREV = "b2a0ac5e5b29c73ca7c0da23369a4769d5a91ddd"
>
> -PV = "219-stable+git${SRCPV}"
> +PV = "224+git${SRCPV}"
>
> -SRC_URI = 
> "git://anongit.freedesktop.org/systemd/systemd-stable;branch=v219-stable;protocol=git
>  \
> -   file://0002-shared-missing.h-fall-back-to-insecure-getenv.patch \
> +SRC_URI = "git://github.com/systemd/systemd.git;protocol=git \
> 
> file://0003-binfmt-Don-t-install-dependency-links-at-install-tim.patch \
> 
> file://0004-configure-Check-for-additional-features-that-uclibc-.patch \
> file://0005-nspawn-Use-execvpe-only-when-libc-supports-it.patch \

The git repository URL has already been changed to github.com in
master. Please rebase.

Regards,
Jonathan
-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


[OE-core] [PATCH 2/2] lz4: update to 131

2015-08-16 Thread Armin Kuster
Clean up SRC_URI and convert to use github mirror variable.

Signed-off-by: Armin Kuster 
---
 meta/recipes-support/lz4/lz4.bb | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/meta/recipes-support/lz4/lz4.bb b/meta/recipes-support/lz4/lz4.bb
index 0b0c632..39edeab 100644
--- a/meta/recipes-support/lz4/lz4.bb
+++ b/meta/recipes-support/lz4/lz4.bb
@@ -4,11 +4,11 @@ DESCRIPTION = "LZ4 is a very fast lossless compression 
algorithm, providing comp
 LICENSE = "BSD"
 LIC_FILES_CHKSUM = "file://lib/LICENSE;md5=0b0d063f37a4477b54af2459477dcafd"
 
-SRCREV = "5780864c0ce08622238a267c46fb489d7066cad4"
+SRCREV = "d86dc916771c126afb797637dda9f6421c0cb998"
 
-PV = "128+git${SRCPV}"
+PV = "131+git${SRCPV}"
 
-SRC_URI = "git://github.com/Cyan4973/lz4.git;protocol=http"
+SRC_URI = "${GITHUB_MIRROR}/Cyan4973/lz4.git"
 
 S = "${WORKDIR}/git"
 
-- 
2.3.5

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


[OE-core] [PATCH 1/2] bitbake.conf: Add Github mirror

2015-08-16 Thread Armin Kuster
From: Armin Kuster 

This adds Github mirror variable.

Signed-off-by: Armin Kuster 
---
 meta/conf/bitbake.conf | 1 +
 1 file changed, 1 insertion(+)

diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf
index 21f1698..56e7ca7 100644
--- a/meta/conf/bitbake.conf
+++ b/meta/conf/bitbake.conf
@@ -571,6 +571,7 @@ DEBIAN_MIRROR = "ftp://ftp.debian.org/debian/pool";
 GENTOO_MIRROR = "http://distfiles.gentoo.org/distfiles";
 GNOME_GIT = "git://git.gnome.org"
 GNOME_MIRROR = "http://ftp.gnome.org/pub/GNOME/sources";
+GITHUB_MIRROR = "git://github.com"
 GNU_MIRROR = "http://ftp.gnu.org/gnu";
 GPE_MIRROR = "http://gpe.linuxtogo.org/download/source";
 KERNELORG_MIRROR = "http://kernel.org/pub";
-- 
2.3.5

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


Re: [OE-core] [PATCH 1/2] bitbake.conf: Add Github mirror

2015-08-16 Thread Robert Yang


Hi Armin,

Please see this thread:

http://lists.openembedded.org/pipermail/openembedded-core/2015-July/108217.html

// Robert

On 08/17/2015 10:50 AM, Armin Kuster wrote:

From: Armin Kuster 

This adds Github mirror variable.

Signed-off-by: Armin Kuster 
---
  meta/conf/bitbake.conf | 1 +
  1 file changed, 1 insertion(+)

diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf
index 21f1698..56e7ca7 100644
--- a/meta/conf/bitbake.conf
+++ b/meta/conf/bitbake.conf
@@ -571,6 +571,7 @@ DEBIAN_MIRROR = "ftp://ftp.debian.org/debian/pool";
  GENTOO_MIRROR = "http://distfiles.gentoo.org/distfiles";
  GNOME_GIT = "git://git.gnome.org"
  GNOME_MIRROR = "http://ftp.gnome.org/pub/GNOME/sources";
+GITHUB_MIRROR = "git://github.com"
  GNU_MIRROR = "http://ftp.gnu.org/gnu";
  GPE_MIRROR = "http://gpe.linuxtogo.org/download/source";
  KERNELORG_MIRROR = "http://kernel.org/pub";


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


[OE-core] [PATCH] uclibc: Upgrade to tip of master

2015-08-16 Thread Khem Raj
Drop upstreamed patches convert the rest to git am'able patches

Signed-off-by: Khem Raj 
---
 meta/recipes-core/uclibc/uclibc-git.inc|  38 +--
 .../0001-Add-eventfd_read-and-eventfd_write.patch  | 120 
 ...IPTOS_CLASS_-macros-according-to-RFC-2474.patch |  75 -
 .../0001-Disable-lrount_tes-function.patch |  37 +++
 ...nt.c-wtent.c-move-functions-from-utxent.c.patch | 319 -
 ...1-atexit_old-Do-not-add-it-to-shared-libc.patch |  44 ---
 ...-Move-aeabi_read_tp-to-uclibc_nonshared.a.patch |  28 --
 ...rk-Hide-pthread_atfork-in-shared-versions.patch |  74 -
 .../uclibc-git/0001-timex-Sync-with-glibc.patch|  33 ---
 ...Add-implementation-for-copysignl-for-ppc.patch} |  33 ++-
 .../uclibc-git/0002-wire-setns-syscall.patch   |  68 -
 ...rt.patch => 0003-Add-argp-implementation.patch} | 311 +++-
 ...dded-headers-file-needed-by-argp-sources.patch} |  27 +-
 ...t-localised-optimizations-this-helps-to-h.patch |  29 ++
 .../0006-Always-use-O2-for-compiling-fork.c.patch  |  32 +++
 ...ldso-limited-support-for-ORIGIN-in-rpath.patch} |  12 +-
 ...rk-Hide-pthread_atfork-in-shared-versions.patch |  36 +++
 ...rt-Use-nodefaultlibs-instead-of-nostdlib.patch} |  29 +-
 .../uclibc-git/compile-arm-fork-with-O2.patch  |  21 --
 .../ldso-mark-_dl_exit-as-noreturn.patch   |  48 
 .../uclibc-git/remove_attribute_optimize_Os.patch  |  19 --
 .../uclibc-git/uclibc_enable_log2_test.patch   |  35 ---
 meta/recipes-core/uclibc/uclibc.inc|   2 +-
 23 files changed, 381 insertions(+), 1089 deletions(-)
 delete mode 100644 
meta/recipes-core/uclibc/uclibc-git/0001-Add-eventfd_read-and-eventfd_write.patch
 delete mode 100644 
meta/recipes-core/uclibc/uclibc-git/0001-Define-IPTOS_CLASS_-macros-according-to-RFC-2474.patch
 create mode 100644 
meta/recipes-core/uclibc/uclibc-git/0001-Disable-lrount_tes-function.patch
 delete mode 100644 
meta/recipes-core/uclibc/uclibc-git/0001-Revert-utent.c-wtent.c-move-functions-from-utxent.c.patch
 delete mode 100644 
meta/recipes-core/uclibc/uclibc-git/0001-atexit_old-Do-not-add-it-to-shared-libc.patch
 delete mode 100644 
meta/recipes-core/uclibc/uclibc-git/0001-nptl-arm-Move-aeabi_read_tp-to-uclibc_nonshared.a.patch
 delete mode 100644 
meta/recipes-core/uclibc/uclibc-git/0001-nptl-atfork-Hide-pthread_atfork-in-shared-versions.patch
 delete mode 100644 
meta/recipes-core/uclibc/uclibc-git/0001-timex-Sync-with-glibc.patch
 rename meta/recipes-core/uclibc/uclibc-git/{powerpc_copysignl.patch => 
0002-Add-implementation-for-copysignl-for-ppc.patch} (73%)
 delete mode 100644 
meta/recipes-core/uclibc/uclibc-git/0002-wire-setns-syscall.patch
 rename meta/recipes-core/uclibc/uclibc-git/{argp-support.patch => 
0003-Add-argp-implementation.patch} (96%)
 rename meta/recipes-core/uclibc/uclibc-git/{argp-headers.patch => 
0004-Added-headers-file-needed-by-argp-sources.patch} (97%)
 create mode 100644 
meta/recipes-core/uclibc/uclibc-git/0005-Dont-support-localised-optimizations-this-helps-to-h.patch
 create mode 100644 
meta/recipes-core/uclibc/uclibc-git/0006-Always-use-O2-for-compiling-fork.c.patch
 rename 
meta/recipes-core/uclibc/uclibc-git/{0001-ldso-limited-support-for-ORIGIN-in-rpath.patch
 => 0007-ldso-limited-support-for-ORIGIN-in-rpath.patch} (96%)
 create mode 100644 
meta/recipes-core/uclibc/uclibc-git/0008-nptl-atfork-Hide-pthread_atfork-in-shared-versions.patch
 rename 
meta/recipes-core/uclibc/uclibc-git/{0001-librt-Use-nodefaultlibs-instead-of-nostdlib.patch
 => 0009-librt-Use-nodefaultlibs-instead-of-nostdlib.patch} (50%)
 delete mode 100644 
meta/recipes-core/uclibc/uclibc-git/compile-arm-fork-with-O2.patch
 delete mode 100644 
meta/recipes-core/uclibc/uclibc-git/ldso-mark-_dl_exit-as-noreturn.patch
 delete mode 100644 
meta/recipes-core/uclibc/uclibc-git/remove_attribute_optimize_Os.patch
 delete mode 100644 
meta/recipes-core/uclibc/uclibc-git/uclibc_enable_log2_test.patch

diff --git a/meta/recipes-core/uclibc/uclibc-git.inc 
b/meta/recipes-core/uclibc/uclibc-git.inc
index 3c48940..8db3b9e 100644
--- a/meta/recipes-core/uclibc/uclibc-git.inc
+++ b/meta/recipes-core/uclibc/uclibc-git.inc
@@ -1,30 +1,22 @@
-SRCREV = "48a0006012679ff0eda6f256da958d73a924fb57"
+SRCREV = "ca1c74d67dd115d059a875150e10b8560a9c35a8"
 
 PV = "0.9.33+git${SRCPV}"
 
 FILESEXTRAPATHS =. "${FILE_DIRNAME}/uclibc-git:"
 
 SRC_URI = "git://uclibc.org/uClibc.git;branch=master \
-   file://uClibc.machine \
-   file://uClibc.distro \
-   file://obstack.cfg \
-   file://locale.cfg \
-   file://uclibc_enable_log2_test.patch \
-   file://powerpc_copysignl.patch \
-   file://argp-support.patch \
-   file://argp-headers.patch \
-   file://remove_attribute_optimize_Os.patch \
-   file://compile-arm-fork-with-O2.patch \
-   file://0001-ldso-limited-support-for-ORIGIN-in-rpath.patch \
-   file://0001-atexit_old-Do-not-add-it-to-shared-libc.patch \
-   file://0001-nptl-

[OE-core] [PATCH 2/4 V2] systemd: Upgrade 219 -> 224

2015-08-16 Thread Khem Raj
Change-Id: I998e652382950a3c74c4839f3767ef8bef23d88f
Signed-off-by: Khem Raj 
---
 ...-mount-add-dependencies-to-dynamically-mo.patch |  36 
 ...ed-missing.h-fall-back-to-insecure-getenv.patch |  25 ---
 ...t-install-dependency-links-at-install-tim.patch |  35 ++--
 ...heck-for-additional-features-that-uclibc-.patch |  23 ++-
 ...wn-Use-execvpe-only-when-libc-supports-it.patch |  37 ++---
 ...til-Use-mkostemp-only-if-libc-supports-it.patch |   8 +-
 ...-unimplemented-_SC_PHYS_PAGES-system-conf.patch |   8 +-
 ...0-Make-root-s-home-directory-configurable.patch | 136 ---
 ...files.c-Honor-ordering-within-files-as-th.patch | 185 -
 ...-remove-userspace-firmware-loading-suppor.patch |  99 ++-
 .../systemd/systemd/tmpfiles-pam.patch |  30 
 .../systemd/{systemd_219.bb => systemd_224.bb} |  25 +--
 12 files changed, 174 insertions(+), 473 deletions(-)
 delete mode 100644 
meta/recipes-core/systemd/systemd/0001-Revert-core-mount-add-dependencies-to-dynamically-mo.patch
 delete mode 100644 
meta/recipes-core/systemd/systemd/0002-shared-missing.h-fall-back-to-insecure-getenv.patch
 delete mode 100644 
meta/recipes-core/systemd/systemd/0012-systemd-tmpfiles.c-Honor-ordering-within-files-as-th.patch
 delete mode 100644 meta/recipes-core/systemd/systemd/tmpfiles-pam.patch
 rename meta/recipes-core/systemd/{systemd_219.bb => systemd_224.bb} (95%)

diff --git 
a/meta/recipes-core/systemd/systemd/0001-Revert-core-mount-add-dependencies-to-dynamically-mo.patch
 
b/meta/recipes-core/systemd/systemd/0001-Revert-core-mount-add-dependencies-to-dynamically-mo.patch
deleted file mode 100644
index d69cfe0..000
--- 
a/meta/recipes-core/systemd/systemd/0001-Revert-core-mount-add-dependencies-to-dynamically-mo.patch
+++ /dev/null
@@ -1,36 +0,0 @@
-From eb7a760052667c5a35637901de9359c377263804 Mon Sep 17 00:00:00 2001
-From: Colin Walters 
-Date: Tue, 24 Feb 2015 10:12:28 -0500
-Subject: [PATCH] Revert "core/mount: add dependencies to dynamically mounted
- mounts too"
-
-This reverts commit 06e9783e2cc12eb6514e80c7f0014295f59b.
-
-This patch was imported from Fedora 
(http://pkgs.fedoraproject.org/cgit/systemd.git/commit/?h=f22&id=9bbe0e92dc59d5a42258c729b105a7d9901eb35e).
-
-It fixes an issue where mount points not listed in fstab are immediately
-unmounted after a call to mount.
-
-Upstream-Status: Inappropriate [fixed upstream]
-
-Signed-off-by: Joshua Lock 

- src/core/mount.c | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/src/core/mount.c b/src/core/mount.c
-index 40037e7..cddb5e2 100644
 a/src/core/mount.c
-+++ b/src/core/mount.c
-@@ -295,7 +295,7 @@ static int mount_add_device_links(Mount *m) {
- 
- assert(m);
- 
--p = get_mount_parameters(m);
-+p = get_mount_parameters_fragment(m);
- if (!p)
- return 0;
- 
--- 
-1.8.3.1
-
diff --git 
a/meta/recipes-core/systemd/systemd/0002-shared-missing.h-fall-back-to-insecure-getenv.patch
 
b/meta/recipes-core/systemd/systemd/0002-shared-missing.h-fall-back-to-insecure-getenv.patch
deleted file mode 100644
index 1cf7840..000
--- 
a/meta/recipes-core/systemd/systemd/0002-shared-missing.h-fall-back-to-insecure-getenv.patch
+++ /dev/null
@@ -1,25 +0,0 @@
-From 03baade6db2cf83b44a157818ba827d725449bb0 Mon Sep 17 00:00:00 2001
-From: Emil Renner Berthing 
-Date: Thu, 18 Sep 2014 15:24:47 +0200
-Subject: [PATCH 02/11] shared/missing.h: fall back to insecure getenv
-

- src/shared/missing.h | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/src/shared/missing.h b/src/shared/missing.h
-index b33a70c..11cca04 100644
 a/src/shared/missing.h
-+++ b/src/shared/missing.h
-@@ -366,7 +366,7 @@ static inline int name_to_handle_at(int fd, const char 
*name, struct file_handle
- #  ifdef HAVE___SECURE_GETENV
- #define secure_getenv __secure_getenv
- #  else
--#error "neither secure_getenv nor __secure_getenv are available"
-+#define secure_getenv getenv
- #  endif
- #endif
- 
--- 
-2.1.4
-
diff --git 
a/meta/recipes-core/systemd/systemd/0003-binfmt-Don-t-install-dependency-links-at-install-tim.patch
 
b/meta/recipes-core/systemd/systemd/0003-binfmt-Don-t-install-dependency-links-at-install-tim.patch
index c14cc6f..0e20fd0 100644
--- 
a/meta/recipes-core/systemd/systemd/0003-binfmt-Don-t-install-dependency-links-at-install-tim.patch
+++ 
b/meta/recipes-core/systemd/systemd/0003-binfmt-Don-t-install-dependency-links-at-install-tim.patch
@@ -23,11 +23,11 @@ Signed-off-by: Khem Raj 
  units/systemd-binfmt.service.in | 5 +
  3 files changed, 8 insertions(+), 4 deletions(-)
 
-diff --git a/Makefile.am b/Makefile.am
-index ba63f68..0fb3f9f 100644
 a/Makefile.am
-+++ b/Makefile.am
-@@ -4838,10 +4838,6 @@ INSTALL_DIRS += \
+Index: git/Makefile.am
+===
+--- git.orig/Makefile.am
 git/Makefile.am
+@@ -4271,10 +4271,6 @@ INSTALL_DIRS += \
 

Re: [OE-core] [PATCH 2/4] systemd: Upgrade 219 -> 224

2015-08-16 Thread Khem Raj

> On Aug 16, 2015, at 7:43 PM, Jonathan Liu  wrote:
> 
> Hi Khem,
> 
> On 16 August 2015 at 11:21, Khem Raj  wrote:
>> diff --git a/meta/recipes-core/systemd/systemd_219.bb 
>> b/meta/recipes-core/systemd/systemd_224.bb
>> similarity index 94%
>> rename from meta/recipes-core/systemd/systemd_219.bb
>> rename to meta/recipes-core/systemd/systemd_224.bb
>> index 83e4bce..16eb497 100644
>> @@ -23,14 +22,13 @@ DEPENDS = "kmod docbook-sgml-dtd-4.1-native 
>> intltool-native gperf-native acl rea
>> 
>> SECTION = "base/shell"
>> 
>> -inherit gtk-doc useradd pkgconfig autotools perlnative update-rc.d 
>> update-alternatives qemu systemd ptest gettext
>> +inherit useradd pkgconfig autotools perlnative update-rc.d 
>> update-alternatives qemu systemd ptest gettext
>> 
>> -SRCREV = "85a6fabdd3e43cfab0fc6359e9f2a9e368d4a3ed"
>> +SRCREV = "b2a0ac5e5b29c73ca7c0da23369a4769d5a91ddd"
>> 
>> -PV = "219-stable+git${SRCPV}"
>> +PV = "224+git${SRCPV}"
>> 
>> -SRC_URI = 
>> "git://anongit.freedesktop.org/systemd/systemd-stable;branch=v219-stable;protocol=git
>>  \
>> -   file://0002-shared-missing.h-fall-back-to-insecure-getenv.patch \
>> +SRC_URI = "git://github.com/systemd/systemd.git;protocol=git \
>>
>> file://0003-binfmt-Don-t-install-dependency-links-at-install-tim.patch \
>>
>> file://0004-configure-Check-for-additional-features-that-uclibc-.patch \
>>file://0005-nspawn-Use-execvpe-only-when-libc-supports-it.patch \
> 
> The git repository URL has already been changed to github.com in
> master. Please rebase.

Yes, I sent it prior to that rename patch landed in master. I have sent out a 
rebased v2
thanks for bringing it up.



signature.asc
Description: Message signed with OpenPGP using GPGMail
-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


Re: [OE-core] [PATCH 0/4] Upgrades: openssh, nss, nfs-utils, rsvg

2015-08-16 Thread Khem Raj

> On Aug 11, 2015, at 12:12 PM, Jussi Kukkonen  wrote:
> 
> The openssh upgrade adds a test that currently fails: that looks
> like a failure in our test setup, I've filed a bug for that.


openssl 7.0 has now been released,
see
http://www.openssh.com/txt/release-7.0

it deprecates few things e.g. dsa is disabled by default but its good in general
one can still add PubkeyAcceptedKeyTypes=+ssh-dss to ssh config files keep 
going. but in general it will be improvement



> 
> 
> 
> The following changes since commit a16e0b4014173af46ef80d643bb71055219b0dab:
> 
>  bitbake: toaster: reduced amount of instance attributes (2015-08-10 13:58:02 
> -0700)
> 
> are available in the git repository at:
> 
>  git://git.yoctoproject.org/poky-contrib jku/nss-openssh-nfsutils
>  
> http://git.yoctoproject.org/cgit.cgi/poky-contrib/log/?h=jku/nss-openssh-nfsutils
> 
> Jussi Kukkonen (4):
>  openssh: Upgrade 6.8p1 -> 6.9p1
>  nss: Upgrade 3.19.1 -> 3.19.2
>  nfs-utils: Upgrade 1.3.1 -> 1.3.2
>  librsvg: Upgrade 2.40.9 -> 2.40.10
> 
> .../nfs-utils/{nfs-utils_1.3.1.bb => nfs-utils_1.3.2.bb}|  7 +++
> .../openssh/{openssh_6.8p1.bb => openssh_6.9p1.bb}  |  4 ++--
> meta/recipes-gnome/librsvg/librsvg/gtk-option.patch | 13 ++---
> .../librsvg/{librsvg_2.40.9.bb => librsvg_2.40.10.bb}   |  4 ++--
> meta/recipes-support/nss/{nss_3.19.1.bb => nss_3.19.2.bb}   |  6 +++---
> 5 files changed, 16 insertions(+), 18 deletions(-)
> rename meta/recipes-connectivity/nfs-utils/{nfs-utils_1.3.1.bb => 
> nfs-utils_1.3.2.bb} (95%)
> rename meta/recipes-connectivity/openssh/{openssh_6.8p1.bb => 
> openssh_6.9p1.bb} (97%)
> rename meta/recipes-gnome/librsvg/{librsvg_2.40.9.bb => librsvg_2.40.10.bb} 
> (91%)
> rename meta/recipes-support/nss/{nss_3.19.1.bb => nss_3.19.2.bb} (97%)
> 
> --
> 2.1.4
> 
> --
> ___
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core



signature.asc
Description: Message signed with OpenPGP using GPGMail
-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


Re: [OE-core] shell script guidelines in oe-core? (was Re: [PATCH v4] create-pull-request: cleanup bashisms)

2015-08-16 Thread Mikko.Rapeli
On Sat, Aug 15, 2015 at 06:38:18PM -0700, Christopher Larson wrote:
> Update: checkbashisms and shellcheck both check for this now.

This is great! How about formulating that oe-core shell scripts should
pass shellcheck and checkbashisms checks without warnings?

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