[OE-core] [PATCH v2 1/1] libtirpc: upgrade to 0.2.4

2013-12-19 Thread Cristian Iorga
obsolete_automake_macros.patch removed,
no longer needed.
Disabled GSS APIs, as those APIs are
not present in our distro.
Patches directory is now generic,
as patches are not created for a specific version.

Signed-off-by: Cristian Iorga cristian.io...@intel.com
---
 .../libtirpc-0.2.3/obsolete_automake_macros.patch | 15 ---
 .../libtirpc-0.2.1-fortify.patch  |  0
 .../{libtirpc-0.2.3 = libtirpc}/remove-des-uclibc.patch  |  0
 .../libtirpc/{libtirpc_0.2.3.bb = libtirpc_0.2.4.bb} |  8 +---
 4 files changed, 5 insertions(+), 18 deletions(-)
 delete mode 100644 
meta/recipes-extended/libtirpc/libtirpc-0.2.3/obsolete_automake_macros.patch
 rename meta/recipes-extended/libtirpc/{libtirpc-0.2.3 = 
libtirpc}/libtirpc-0.2.1-fortify.patch (100%)
 rename meta/recipes-extended/libtirpc/{libtirpc-0.2.3 = 
libtirpc}/remove-des-uclibc.patch (100%)
 rename meta/recipes-extended/libtirpc/{libtirpc_0.2.3.bb = libtirpc_0.2.4.bb} 
(84%)

diff --git 
a/meta/recipes-extended/libtirpc/libtirpc-0.2.3/obsolete_automake_macros.patch 
b/meta/recipes-extended/libtirpc/libtirpc-0.2.3/obsolete_automake_macros.patch
deleted file mode 100644
index 88d759f..000
--- 
a/meta/recipes-extended/libtirpc/libtirpc-0.2.3/obsolete_automake_macros.patch
+++ /dev/null
@@ -1,15 +0,0 @@
-Upstream-Status: Submitted [libtirpc-de...@lists.sourceforge.net]
-
-Signed-off-by: Marko Lindqvist cazf...@gmail.com
-diff -Nurd libtirpc-0.2.2/configure.ac libtirpc-0.2.2/configure.ac
 libtirpc-0.2.2/configure.ac2011-05-02 15:10:40.0 +0300
-+++ libtirpc-0.2.2/configure.ac2013-01-11 15:11:24.27530 +0200
-@@ -17,7 +17,7 @@
- fi
-
- AC_PROG_CC
--AM_CONFIG_HEADER(config.h)
-+AC_CONFIG_HEADERS(config.h)
- AC_PROG_LIBTOOL
- AC_HEADER_DIRENT
- AC_PREFIX_DEFAULT(/usr)
diff --git 
a/meta/recipes-extended/libtirpc/libtirpc-0.2.3/libtirpc-0.2.1-fortify.patch 
b/meta/recipes-extended/libtirpc/libtirpc/libtirpc-0.2.1-fortify.patch
similarity index 100%
rename from 
meta/recipes-extended/libtirpc/libtirpc-0.2.3/libtirpc-0.2.1-fortify.patch
rename to meta/recipes-extended/libtirpc/libtirpc/libtirpc-0.2.1-fortify.patch
diff --git 
a/meta/recipes-extended/libtirpc/libtirpc-0.2.3/remove-des-uclibc.patch 
b/meta/recipes-extended/libtirpc/libtirpc/remove-des-uclibc.patch
similarity index 100%
rename from 
meta/recipes-extended/libtirpc/libtirpc-0.2.3/remove-des-uclibc.patch
rename to meta/recipes-extended/libtirpc/libtirpc/remove-des-uclibc.patch
diff --git a/meta/recipes-extended/libtirpc/libtirpc_0.2.3.bb 
b/meta/recipes-extended/libtirpc/libtirpc_0.2.4.bb
similarity index 84%
rename from meta/recipes-extended/libtirpc/libtirpc_0.2.3.bb
rename to meta/recipes-extended/libtirpc/libtirpc_0.2.4.bb
index 407e38e..88e2d82 100644
--- a/meta/recipes-extended/libtirpc/libtirpc_0.2.3.bb
+++ b/meta/recipes-extended/libtirpc/libtirpc_0.2.4.bb
@@ -13,17 +13,19 @@ PROVIDES = virtual/librpc
 SRC_URI = ${SOURCEFORGE_MIRROR}/${BPN}/${BPN}-${PV}.tar.bz2;name=libtirpc \
${GENTOO_MIRROR}/${BPN}-glibc-nfs.tar.xz;name=glibc-nfs \
file://libtirpc-0.2.1-fortify.patch \
-   file://obsolete_automake_macros.patch \
   
 
 SRC_URI_append_libc-uclibc =  file://remove-des-uclibc.patch
 
-SRC_URI[libtirpc.md5sum] = b70e6c12a369a91e69fcc3b9feb23d61
-SRC_URI[libtirpc.sha256sum] = 
4f29ea0491b4ca4c29f95f3c34191b857757873bbbf4b069f9dd4da01a6a923c
+SRC_URI[libtirpc.md5sum] = 847995e8d002cbf1387bda05947be086
+SRC_URI[libtirpc.sha256sum] = 
45c3e21dfc23a5ba501f9dfc6671678316fdfdb8355a1ec404ae2aa2f81943a1
 SRC_URI[glibc-nfs.md5sum] = 5ae500b9d0b6b72cb875bc04944b9445
 SRC_URI[glibc-nfs.sha256sum] = 
2677cfedf626f3f5a8f6e507aed5bb8f79a7453b589d684dbbc086e755170d83
+
 inherit autotools pkgconfig
 
+EXTRA_OECONF = --disable-gssapi
+
 do_configure_prepend () {
 cp -r ${S}/../tirpc ${S}
 }
-- 
1.8.3.2

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


[OE-core] [PATCH v2 0/1] libtirpc: upgrade to 0.2.4

2013-12-19 Thread Cristian Iorga
Better commit message, according to Saul's review.
Thanks Saul.

The following changes since commit 2961b58640daa8078ae3a70028f0fbbf2abb7882:

  security_flags: more relocation issues (2013-12-18 17:24:07 +)

are available in the git repository at:

  git://git.yoctoproject.org/poky-contrib ciorga/PUs
  http://git.yoctoproject.org/cgit.cgi/poky-contrib/log/?h=ciorga/PUs

Cristian Iorga (1):
  libtirpc: upgrade to 0.2.4

 .../libtirpc-0.2.3/obsolete_automake_macros.patch | 15 ---
 .../libtirpc-0.2.1-fortify.patch  |  0
 .../{libtirpc-0.2.3 = libtirpc}/remove-des-uclibc.patch  |  0
 .../libtirpc/{libtirpc_0.2.3.bb = libtirpc_0.2.4.bb} |  8 +---
 4 files changed, 5 insertions(+), 18 deletions(-)
 delete mode 100644 
meta/recipes-extended/libtirpc/libtirpc-0.2.3/obsolete_automake_macros.patch
 rename meta/recipes-extended/libtirpc/{libtirpc-0.2.3 = 
libtirpc}/libtirpc-0.2.1-fortify.patch (100%)
 rename meta/recipes-extended/libtirpc/{libtirpc-0.2.3 = 
libtirpc}/remove-des-uclibc.patch (100%)
 rename meta/recipes-extended/libtirpc/{libtirpc_0.2.3.bb = libtirpc_0.2.4.bb} 
(84%)

-- 
1.8.3.2

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


[OE-core] [PATCH] sstatesig: Allow the BB_HASHFILENAME to be passed in for comparision purposes

2013-12-19 Thread Richard Purdie
Currently the code can match too many things, for example, searching for
gcc-cross, we'd also get gcc-cross-initial.

If we have a bitbake cache available, we'd often have the BB_HASHFILENAME
data available from that cache. That can give us something to filter the
matches against.

The format of that field is metadata defined so it needs to be processed
in a metadata function (which find_siginfo is).

Signed-off-by: Richard Purdie richard.pur...@linuxfoundation.org
---
diff --git a/meta/lib/oe/sstatesig.py b/meta/lib/oe/sstatesig.py
index b13d11c..836a148 100644
--- a/meta/lib/oe/sstatesig.py
+++ b/meta/lib/oe/sstatesig.py
@@ -85,7 +85,7 @@ bb.siggen.SignatureGeneratorOEBasic = 
SignatureGeneratorOEBasic
 bb.siggen.SignatureGeneratorOEBasicHash = SignatureGeneratorOEBasicHash
 
 
-def find_siginfo(pn, taskname, taskhashlist, d):
+def find_siginfo(pn, taskname, taskhashlist, d, hashfn = None):
  Find signature data files for comparison purposes 
 
 import fnmatch
@@ -94,6 +94,10 @@ def find_siginfo(pn, taskname, taskhashlist, d):
 if taskhashlist:
 hashfiles = {}
 
+# This is based on BB_HASHFILENAME set for the recipe and provided from 
the cache
+if hashfn:
+ hashfn = hashfn.split( )[1]
+
 if not taskname:
 # We have to derive pn and taskname
 key = pn
@@ -157,6 +161,8 @@ def find_siginfo(pn, taskname, taskhashlist, d):
 for fn in files:
 fullpath = os.path.join(root, fn)
 if fnmatch.fnmatch(fullpath, filespec):
+if hashfn and not 
os.path.basename(fullpath).startswith(hashfn):
+continue
 if taskhashlist:
 hashfiles[hashval] = fullpath
 else:


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


[OE-core] [PATCH] sstatesig: Ensure we return all matches for find_sigdata

2013-12-19 Thread Richard Purdie
When the hashes to find isn't specified we need to return matches from both
the sstate cache and the local stamps directory regardless of how many we've
found so far. If we don't do this, we can miss stamps and the comparison is
less accurate/incorrect.

Signed-off-by: Richard Purdie richard.pur...@linuxfoundation.org
---
diff --git a/meta/lib/oe/sstatesig.py b/meta/lib/oe/sstatesig.py
index 329c84d..b13d11c 100644
--- a/meta/lib/oe/sstatesig.py
+++ b/meta/lib/oe/sstatesig.py
@@ -128,7 +128,7 @@ def find_siginfo(pn, taskname, taskhashlist, d):
 else:
 filedates[fullpath] = os.stat(fullpath).st_mtime
 
-if len(filedates)  2 and not foundall:
+if not taskhashlist or (len(filedates)  2 and not foundall):
 # That didn't work, look in sstate-cache
 hashes = taskhashlist or ['*']
 localdata = bb.data.createCopy(d)


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


[OE-core] [PATCH] sstatesig: Update for the removal of sstate-name

2013-12-19 Thread Richard Purdie
We've dropped sstate-name so we can remove this code. The fallback was
incorrect since we use taskname without the do_ prefix so this patch
updates to account for that too.

Signed-off-by: Richard Purdie richard.pur...@linuxfoundation.org
---
diff --git a/meta/lib/oe/sstatesig.py b/meta/lib/oe/sstatesig.py
index 836a148..835cee8 100644
--- a/meta/lib/oe/sstatesig.py
+++ b/meta/lib/oe/sstatesig.py
@@ -146,9 +146,7 @@ def find_siginfo(pn, taskname, taskhashlist, d, hashfn = 
None):
 localdata.setVar('BB_TASKHASH', hashval)
 if pn.endswith('-native') or pn.endswith('-crosssdk') or 
pn.endswith('-cross'):
 localdata.setVar('SSTATE_EXTRAPATH', ${NATIVELSBSTRING}/)
-sstatename = d.getVarFlag(taskname, sstate-name)
-if not sstatename:
-sstatename = taskname
+sstatename = taskname[3:]
 filespec = '%s_%s.*.siginfo' % (localdata.getVar('SSTATE_PKG', 
True), sstatename)
 
 if hashval != '*':


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


[OE-core] [PATCH] sstatesig: Correctly handle matches spanning stamps and sstatedir

2013-12-19 Thread Richard Purdie
By resetting filesdates at this point, we lose matches from stamps which
may not have been in sstatedir. When we don't have hashes specicifed,
its better to return all matches and have the caller decide which are
relavent and which are not since this function has no ability to
decide. There will almost always be one match from stamps we need
to keep and refer to.

Signed-off-by: Richard Purdie richard.pur...@linuxfoundation.org
---
diff --git a/meta/lib/oe/sstatesig.py b/meta/lib/oe/sstatesig.py
index 835cee8..5354c75 100644
--- a/meta/lib/oe/sstatesig.py
+++ b/meta/lib/oe/sstatesig.py
@@ -154,7 +154,6 @@ def find_siginfo(pn, taskname, taskhashlist, d, hashfn = 
None):
 else:
 sstatedir = d.getVar('SSTATE_DIR', True)
 
-filedates = {}
 for root, dirs, files in os.walk(sstatedir):
 for fn in files:
 fullpath = os.path.join(root, fn)


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


Re: [OE-core] [PATCH] libsoup-2.4: add intltool-native to DEPENDS

2013-12-19 Thread Javier Viguera

On 17/12/13 11:42, Paul Eggleton wrote:

-DEPENDS = glib-2.0 gnutls libxml2 libproxy sqlite3
+DEPENDS = glib-2.0 gnutls libxml2 libproxy sqlite3 intltool-native


+1 for this change.

I was bitten by this bug using a DISTRO with no X11 support (removed X11 
from DISTRO_FEATURES). In that case the 'intltool-native' dependence is 
not fulfilled and libsoup fails to build.


Could it be *backported* to Dora/Dylan?

-
Javier Viguera
Software Engineer
Digi International® Spain S.A.U.
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


Re: [OE-core] [PATCH] libsoup-2.4: add intltool-native to DEPENDS

2013-12-19 Thread Nicolas Dechesne
On Thu, Dec 19, 2013 at 11:47 AM, Javier Viguera javier.vigu...@digi.comwrote:

 On 17/12/13 11:42, Paul Eggleton wrote:

 -DEPENDS = glib-2.0 gnutls libxml2 libproxy sqlite3
 +DEPENDS = glib-2.0 gnutls libxml2 libproxy sqlite3 intltool-native


 +1 for this change.

 I was bitten by this bug using a DISTRO with no X11 support (removed X11
 from DISTRO_FEATURES). In that case the 'intltool-native' dependence is not
 fulfilled and libsoup fails to build.

 Could it be *backported* to Dora/Dylan?


it will. Paul said on IRC the other day, that it should reach dylan by the
end of this week .
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


[OE-core] [dylan][PATCH] libsoup-2.4: add intltool-native to DEPENDS

2013-12-19 Thread Paul Eggleton
The configure script looks for this; most of the time dependency chains
ensure this is present but we need to be explicit or failures can
occur.

Reported by Nicolas Dechesne nicolas.deche...@linaro.org

(From OE-Core master rev: 22e45ed7d74ceb4a719e7b5889400c20ed4a0783)

Signed-off-by: Paul Eggleton paul.eggle...@linux.intel.com
Signed-off-by: Richard Purdie richard.pur...@linuxfoundation.org
---
 meta/recipes-support/libsoup/libsoup-2.4_2.40.2.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/recipes-support/libsoup/libsoup-2.4_2.40.2.bb 
b/meta/recipes-support/libsoup/libsoup-2.4_2.40.2.bb
index 53807af..aa4bbce 100644
--- a/meta/recipes-support/libsoup/libsoup-2.4_2.40.2.bb
+++ b/meta/recipes-support/libsoup/libsoup-2.4_2.40.2.bb
@@ -9,7 +9,7 @@ PR = r1
 
 SECTION = x11/gnome/libs
 
-DEPENDS = glib-2.0 gnutls libxml2 libproxy
+DEPENDS = glib-2.0 gnutls libxml2 libproxy intltool-native
 
 PACKAGECONFIG ??= ${@base_contains('DISTRO_FEATURES', 'x11', 'gnome', '', d)}
 PACKAGECONFIG[gnome] = --with-gnome,--without-gnome,libgnome-keyring sqlite3
-- 
1.8.1.2

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


[OE-core] [dora][PATCH] libsoup-2.4: add intltool-native to DEPENDS

2013-12-19 Thread Paul Eggleton
The configure script looks for this; most of the time dependency chains
ensure this is present but we need to be explicit or failures can
occur.

Reported by Nicolas Dechesne nicolas.deche...@linaro.org

(From OE-Core master rev: 22e45ed7d74ceb4a719e7b5889400c20ed4a0783)

Signed-off-by: Paul Eggleton paul.eggle...@linux.intel.com
Signed-off-by: Richard Purdie richard.pur...@linuxfoundation.org
---
 meta/recipes-support/libsoup/libsoup-2.4_2.42.1.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/recipes-support/libsoup/libsoup-2.4_2.42.1.bb 
b/meta/recipes-support/libsoup/libsoup-2.4_2.42.1.bb
index ef8d439..1614a3d 100644
--- a/meta/recipes-support/libsoup/libsoup-2.4_2.42.1.bb
+++ b/meta/recipes-support/libsoup/libsoup-2.4_2.42.1.bb
@@ -7,7 +7,7 @@ LIC_FILES_CHKSUM = 
file://COPYING;md5=5f30f0716dfdd0d91eb439ebec522ec2
 
 SECTION = x11/gnome/libs
 
-DEPENDS = glib-2.0 gnutls libxml2 libproxy sqlite3
+DEPENDS = glib-2.0 gnutls libxml2 libproxy sqlite3 intltool-native
 
 # libsoup-gnome is entirely deprecated and just stubs in 2.42 onwards.  Enable
 # by default but let it be easily disabled.
-- 
1.8.1.2

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


Re: [OE-core] [PATCH] libsoup-2.4: add intltool-native to DEPENDS

2013-12-19 Thread Paul Eggleton
On Thursday 19 December 2013 11:54:14 Nicolas Dechesne wrote:
 On Thu, Dec 19, 2013 at 11:47 AM, Javier Viguera
 javier.vigu...@digi.comwrote:
  On 17/12/13 11:42, Paul Eggleton wrote:
  -DEPENDS = glib-2.0 gnutls libxml2 libproxy sqlite3
  +DEPENDS = glib-2.0 gnutls libxml2 libproxy sqlite3 intltool-native
  
  +1 for this change.
  
  I was bitten by this bug using a DISTRO with no X11 support (removed X11
  from DISTRO_FEATURES). In that case the 'intltool-native' dependence is
  not
  fulfilled and libsoup fails to build.
  
  Could it be *backported* to Dora/Dylan?
 
 it will. Paul said on IRC the other day, that it should reach dylan by the
 end of this week .

FYI It's now merged in dylan thanks to Richard. I've also sent a patch for 
dora (cc'd to Robert).

Cheers,
Paul

-- 

Paul Eggleton
Intel Open Source Technology Centre
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


Re: [OE-core] [PATCH V3] openssl.inc: Install c_rehash utility with openssl

2013-12-19 Thread Richard Purdie
On Tue, 2013-12-17 at 13:28 +0500, Yasir Khan wrote:
 From: mykhani yasir_k...@mentor.com
 
 c_rehash utility is not being installed with openssl.It conveniently
 generates hash and symbolic links based on it for CA certificates
 stored locally for SSL based server authentication
 
 Signed-off-by: Yasir-Khan yasir_k...@mentor.com
 ---
  meta/recipes-connectivity/openssl/openssl.inc |7 ++-
  1 file changed, 6 insertions(+), 1 deletion(-)

Unfortunately this commit has increased our benchmark build time by
approximately 3 minutes on a 1 hour 25 minute build time which is quite
a regression :(.

Would you be able to help figure out how we can regain some of the
performance?

Cheers,

Richard

 diff --git a/meta/recipes-connectivity/openssl/openssl.inc 
 b/meta/recipes-connectivity/openssl/openssl.inc
 index 3bfe569..cdb1809 100644
 --- a/meta/recipes-connectivity/openssl/openssl.inc
 +++ b/meta/recipes-connectivity/openssl/openssl.inc
 @@ -13,6 +13,9 @@ LIC_FILES_CHKSUM = 
 file://LICENSE;md5=f9a8f968107345e0b75aa8c2ecaa7ec8
  
  DEPENDS = perl-native-runtime
  
 +# Adding RDEPENDS for perl scripts
 +RDEPENDS_${PN}-misc +=perl
 +
  SRC_URI = http://www.openssl.org/source/openssl-${PV}.tar.gz \

  S = ${WORKDIR}/openssl-${PV}
 @@ -37,7 +40,7 @@ PACKAGES =+ libcrypto libssl ${PN}-misc openssl-conf
  FILES_libcrypto = ${base_libdir}/libcrypto${SOLIBS}
  FILES_libssl = ${libdir}/libssl.so.*
  FILES_${PN} =+  ${libdir}/ssl/*
 -FILES_${PN}-misc = ${libdir}/ssl/misc
 +FILES_${PN}-misc = ${libdir}/ssl/misc ${bindir}/c_rehash
  FILES_${PN}-dev += ${base_libdir}/libcrypto${SOLIBSDEV}
  
  # Add the openssl.cnf file to the openssl-conf package.  Make the libcrypto
 @@ -157,6 +160,8 @@ do_install () {
   sed -i -e '1s,.*,#!${bindir}/env perl,' ${D}${libdir}/ssl/misc/CA.pl
  
   oe_multilib_header openssl/opensslconf.h
 + # The c_rehash utility isn't installed by the normal installation 
 process.
 + install -m 0755 ${S}/tools/c_rehash ${D}${bindir}
  }
  
  BBCLASSEXTEND = native nativesdk


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


[OE-core] [PATCH] runqemu: Allow user to set -vga option with qemuparams

2013-12-19 Thread Valentin Popa
At the moment, the user cannot to set -vga other then vmware
(because vmware is set by default); and the first argument
in qemuparams has higher precedence.

Signed-off-by: Valentin Popa valentin.p...@intel.com
---
 scripts/runqemu  |  1 +
 scripts/runqemu-internal | 12 ++--
 2 files changed, 11 insertions(+), 2 deletions(-)

diff --git a/scripts/runqemu b/scripts/runqemu
index 9c0a03b..dcb2931 100755
--- a/scripts/runqemu
+++ b/scripts/runqemu
@@ -156,6 +156,7 @@ while true; do
 # to use simplified options instead
 serial_option=`expr $SCRIPT_QEMU_EXTRA_OPT : '.*\(-serial\)'`
 kvm_option=`expr $SCRIPT_QEMU_EXTRA_OPT : '.*\(-enable-kvm\)'`
+vga_option=`expr $SCRIPT_QEMU_EXTRA_OPT : '.*\(-vga\)'`
 [ ! -z $serial_option -o ! -z $kvm_option ]  \
 echo Please use simplified serial or kvm options instead
 ;;
diff --git a/scripts/runqemu-internal b/scripts/runqemu-internal
index 74b0c35..284b88c 100755
--- a/scripts/runqemu-internal
+++ b/scripts/runqemu-internal
@@ -357,7 +357,11 @@ fi
 
 if [ $MACHINE = qemux86 ]; then
 QEMU=qemu-system-i386
-QEMU_UI_OPTIONS=$QEMU_UI_OPTIONS -vga vmware
+if [ ! -z $vga_option ]; then
+QEMU_UI_OPTIONS=$QEMU_UI_OPTIONS
+else
+QEMU_UI_OPTIONS=$QEMU_UI_OPTIONS -vga vmware
+fi
 if [ ${FSTYPE:0:3} = ext -o $FSTYPE = btrfs ]; then
 KERNCMDLINE=vga=0 uvesafb.mode_option=640x480-32 root=$DROOT rw 
mem=$QEMU_MEMORY $KERNEL_NETWORK_CMD
 QEMUOPTIONS=$QEMU_NETWORK_CMD $ROOTFS_OPTIONS $QEMU_UI_OPTIONS
@@ -381,7 +385,11 @@ fi
 
 if [ $MACHINE = qemux86-64 ]; then
 QEMU=qemu-system-x86_64
-QEMU_UI_OPTIONS=$QEMU_UI_OPTIONS -vga vmware
+if [ ! -z $vga_option ]; then
+QEMU_UI_OPTIONS=$QEMU_UI_OPTIONS
+else
+QEMU_UI_OPTIONS=$QEMU_UI_OPTIONS -vga vmware
+fi
 if [ ${FSTYPE:0:3} = ext -o $FSTYPE = btrfs ]; then
 KERNCMDLINE=vga=0 uvesafb.mode_option=640x480-32 root=$DROOT rw 
mem=$QEMU_MEMORY $KERNEL_NETWORK_CMD
 QEMUOPTIONS=$QEMU_NETWORK_CMD $ROOTFS_OPTIONS $QEMU_UI_OPTIONS
-- 
1.8.3.2

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


Re: [OE-core] [PATCH V3] openssl.inc: Install c_rehash utility with openssl

2013-12-19 Thread Koen Kooi

Op 17 dec. 2013, om 09:28 heeft Yasir Khan yasir_k...@mentor.com het volgende 
geschreven:

 From: mykhani yasir_k...@mentor.com
 
 c_rehash utility is not being installed with openssl.It conveniently
 generates hash and symbolic links based on it for CA certificates
 stored locally for SSL based server authentication
 
 Signed-off-by: Yasir-Khan yasir_k...@mentor.com
 ---
 meta/recipes-connectivity/openssl/openssl.inc |7 ++-
 1 file changed, 6 insertions(+), 1 deletion(-)
 
 diff --git a/meta/recipes-connectivity/openssl/openssl.inc 
 b/meta/recipes-connectivity/openssl/openssl.inc
 index 3bfe569..cdb1809 100644
 --- a/meta/recipes-connectivity/openssl/openssl.inc
 +++ b/meta/recipes-connectivity/openssl/openssl.inc
 @@ -13,6 +13,9 @@ LIC_FILES_CHKSUM = 
 file://LICENSE;md5=f9a8f968107345e0b75aa8c2ecaa7ec8
 
 DEPENDS = perl-native-runtime
 
 +# Adding RDEPENDS for perl scripts
 +RDEPENDS_${PN}-misc +=perl

Does it need any perl-modules to function?

 +

R* variables go below do_install

 SRC_URI = http://www.openssl.org/source/openssl-${PV}.tar.gz \
   
 S = ${WORKDIR}/openssl-${PV}
 @@ -37,7 +40,7 @@ PACKAGES =+ libcrypto libssl ${PN}-misc openssl-conf
 FILES_libcrypto = ${base_libdir}/libcrypto${SOLIBS}
 FILES_libssl = ${libdir}/libssl.so.*
 FILES_${PN} =+  ${libdir}/ssl/*
 -FILES_${PN}-misc = ${libdir}/ssl/misc
 +FILES_${PN}-misc = ${libdir}/ssl/misc ${bindir}/c_rehash
 FILES_${PN}-dev += ${base_libdir}/libcrypto${SOLIBSDEV}

Same thing for FILES* variables, btw

 
 # Add the openssl.cnf file to the openssl-conf package.  Make the libcrypto
 @@ -157,6 +160,8 @@ do_install () {
   sed -i -e '1s,.*,#!${bindir}/env perl,' ${D}${libdir}/ssl/misc/CA.pl
 
   oe_multilib_header openssl/opensslconf.h
 + # The c_rehash utility isn't installed by the normal installation 
 process.
 + install -m 0755 ${S}/tools/c_rehash ${D}${bindir}
 }
 
 BBCLASSEXTEND = native nativesdk
 -- 
 1.7.10.4
 
 ___
 Openembedded-core mailing list
 Openembedded-core@lists.openembedded.org
 http://lists.openembedded.org/mailman/listinfo/openembedded-core
 

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


[OE-core] [PATCH] weston: for fbdev enabled distro feature, change WESTON_NATIVE_BACKEND

2013-12-19 Thread Valentin Popa
For builds with fbdev (no drm/kms), set
WESTON_NATIVE_BACKEND to fbdev-backend.so; doing this,
weston-launch will be able to know what backend to use.

Signed-off-by: Valentin Popa valentin.p...@intel.com
---
 meta/recipes-graphics/wayland/weston_1.3.1.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/recipes-graphics/wayland/weston_1.3.1.bb 
b/meta/recipes-graphics/wayland/weston_1.3.1.bb
index d97f6af..4ab2776 100644
--- a/meta/recipes-graphics/wayland/weston_1.3.1.bb
+++ b/meta/recipes-graphics/wayland/weston_1.3.1.bb
@@ -45,7 +45,7 @@ PACKAGECONFIG[x11] = 
--enable-x11-compositor,--disable-x11-compositor,virtual/l
 # Headless Weston
 PACKAGECONFIG[headless] = 
--enable-headless-compositor,--disable-headless-compositor
 # Weston on framebuffer
-PACKAGECONFIG[fbdev] = 
--enable-fbdev-compositor,--disable-fbdev-compositor,udev mtdev
+PACKAGECONFIG[fbdev] = --enable-fbdev-compositor 
WESTON_NATIVE_BACKEND=fbdev-backend.so,--disable-fbdev-compositor,udev mtdev
 # weston-launch
 PACKAGECONFIG[launch] = --enable-weston-launch,--disable-weston-launch,libpam
 # VA-API desktop recorder
-- 
1.8.3.2

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


Re: [OE-core] [RFC] Binutils upgrade to 2.24

2013-12-19 Thread Saul Wold

On 12/16/2013 12:03 PM, Khem Raj wrote:

Hi

I have pushed a contrib branch for binutils 2.24 upgrade here

http://git.openembedded.org/openembedded-core-contrib/log/?h=kraj/binutils-2.24

I have tested it on both uclibc/eglibc and qemu machines. But it would
be nice if
it gets more testing for machines I havent tested



Looks like we tickled an LD bug of somekind, we are seeing the following 
failure across all machines, this was a second build using binutils 
2.24, so there was some shared state usage.


RP pointed out the --as-needed option was used with -lm as those symbols 
are math related.



| powerpc-poky-linux-gcc  -m32 -mhard-float -mcpu=7400 
--sysroot=/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-ppc/build/build/tmp/sysroots/qemuppc
 -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed  
-I/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-ppc/build/build/tmp/work/ppc7400-poky-linux/wireless-tools/1_29-r4/wireless_tools.29
  -O2 -pipe -g -feliminate-unused-debug-types -MMD -o iwconfig iwconfig.o 
libiw.so.29 -lm
| powerpc-poky-linux-gcc  -m32 -mhard-float -mcpu=7400 
--sysroot=/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-ppc/build/build/tmp/sysroots/qemuppc
 -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed  
-I/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-ppc/build/build/tmp/work/ppc7400-poky-linux/wireless-tools/1_29-r4/wireless_tools.29
  -O2 -pipe -g -feliminate-unused-debug-types -MMD -o iwlist iwlist.o 
libiw.so.29 -lm
| powerpc-poky-linux-gcc  -m32 -mhard-float -mcpu=7400 
--sysroot=/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-ppc/build/build/tmp/sysroots/qemuppc
 -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed  
-I/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-ppc/build/build/tmp/work/ppc7400-poky-linux/wireless-tools/1_29-r4/wireless_tools.29
  -O2 -pipe -g -feliminate-unused-debug-types -MMD -o iwpriv iwpriv.o 
libiw.so.29 -lm
| powerpc-poky-linux-gcc  -m32 -mhard-float -mcpu=7400 
--sysroot=/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-ppc/build/build/tmp/sysroots/qemuppc
 -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed  
-I/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-ppc/build/build/tmp/work/ppc7400-poky-linux/wireless-tools/1_29-r4/wireless_tools.29
  -O2 -pipe -g -feliminate-unused-debug-types -MMD -o iwspy iwspy.o 
libiw.so.29 -lm
| powerpc-poky-linux-gcc  -m32 -mhard-float -mcpu=7400 
--sysroot=/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-ppc/build/build/tmp/sysroots/qemuppc
 -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed  
-I/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-ppc/build/build/tmp/work/ppc7400-poky-linux/wireless-tools/1_29-r4/wireless_tools.29
  -O2 -pipe -g -feliminate-unused-debug-types -MMD -o iwgetid iwgetid.o 
libiw.so.29 -lm
| powerpc-poky-linux-gcc  -m32 -mhard-float -mcpu=7400 
--sysroot=/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-ppc/build/build/tmp/sysroots/qemuppc
 -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed  
-I/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-ppc/build/build/tmp/work/ppc7400-poky-linux/wireless-tools/1_29-r4/wireless_tools.29
  -O2 -pipe -g -feliminate-unused-debug-types -MMD -o iwevent iwevent.o 
libiw.so.29 -lm
| libiw.so.29: undefined reference to `ceil'
| libiw.so.29: undefined reference to `pow'
| libiw.so.29: undefined reference to `log10'
| libiw.so.29: undefined reference to `floor'
| collect2: error: ld returned 1 exit status
| make: *** [iwconfig] Error 1
| make: *** Waiting for unfinished jobs
| libiw.so.29: undefined reference to `ceil'
| libiw.so.29: undefined reference to `pow'
| libiw.so.29: undefined reference to `log10'
| libiw.so.29: undefined reference to `floor'
| collect2: error: ld returned 1 exit status
| make: *** [iwgetid] Error 1
| libiw.so.29: undefined reference to `ceil'
| libiw.so.29: undefined reference to `pow'
| libiw.so.29: undefined reference to `log10'
| libiw.so.29: undefined reference to `floor'
| collect2: error: ld returned 1 exit status
| make: *** [iwspy] Error 1
| libiw.so.29: undefined reference to `ceil'
| libiw.so.29: undefined reference to `pow'
| libiw.so.29: undefined reference to `log10'
| libiw.so.29: undefined reference to `floor'
| collect2: error: ld returned 1 exit status
| make: *** [iwpriv] Error 1
| libiw.so.29: undefined reference to `ceil'
| libiw.so.29: undefined reference to `pow'
| libiw.so.29: undefined reference to `log10'
| libiw.so.29: undefined reference to `floor'
| collect2: error: ld returned 1 exit status
| make: *** [iwlist] Error 1
| libiw.so.29: undefined reference to `ceil'
| libiw.so.29: undefined reference to `pow'
| libiw.so.29: undefined reference to `log10'
| libiw.so.29: undefined reference to `floor'
| collect2: error: ld returned 1 exit status
| make: *** [iwevent] Error 1
| ERROR: oe_runmake failed



Link to the AB example, this is one of many.

http://autobuilder.yoctoproject.org/main/builders/nightly-ppc/builds/54/steps/Building%20Images/logs/stdio



[OE-core] [PATCH V2] oe-selftest: New tests for sstate related operations

2013-12-19 Thread Corneliu Stoicescu
Signed-off-by: Corneliu Stoicescu corneliux.stoice...@intel.com
---
 meta/lib/oeqa/selftest/sstate.py |  226 ++
 1 file changed, 226 insertions(+)
 create mode 100644 meta/lib/oeqa/selftest/sstate.py

diff --git a/meta/lib/oeqa/selftest/sstate.py b/meta/lib/oeqa/selftest/sstate.py
new file mode 100644
index 000..98c1426
--- /dev/null
+++ b/meta/lib/oeqa/selftest/sstate.py
@@ -0,0 +1,226 @@
+import datetime
+import unittest
+import os
+import re
+import shutil
+
+import oeqa.utils.ftools as ftools
+from oeqa.selftest.base import oeSelfTest
+from oeqa.utils.commands import runCmd, bitbake, get_bb_var, get_test_layer
+
+class SStateTests(oeSelfTest):
+
+def setUpLocal(self):
+self.temp_sstate_location = None
+self.sstate_path = get_bb_var('SSTATE_DIR')
+self.distro = get_bb_var('NATIVELSBSTRING')
+self.distro_specific_sstate = os.path.join(self.sstate_path, 
self.distro)
+
+# Creates a special sstate configuration with the option to add sstate 
mirrors
+def config_sstate(self, temp_sstate_location=False, add_local_mirrors=[]):
+self.temp_sstate_location = temp_sstate_location
+
+if self.temp_sstate_location:
+temp_sstate_path = os.path.join(self.builddir, temp_sstate_%s % 
datetime.datetime.now().strftime('%Y%m%d%H%M%S'))
+config_temp_sstate = SSTATE_DIR = \%s\ % temp_sstate_path
+self.append_config(config_temp_sstate)
+self.track_for_cleanup(temp_sstate_path)
+self.sstate_path = get_bb_var('SSTATE_DIR')
+self.distro = get_bb_var('NATIVELSBSTRING')
+self.distro_specific_sstate = os.path.join(self.sstate_path, 
self.distro)
+
+if add_local_mirrors:
+config_set_sstate_if_not_set = 'SSTATE_MIRRORS ?= '
+self.append_config(config_set_sstate_if_not_set)
+for local_mirror in add_local_mirrors:
+self.assertFalse(os.path.join(local_mirror) == 
os.path.join(self.sstate_path), msg='Cannot add the current sstate path as a 
sstate mirror')
+config_sstate_mirror = SSTATE_MIRRORS += \file://.* 
file:///%s/PATH\ % local_mirror
+self.append_config(config_sstate_mirror)
+
+# Returns a list containing sstate files
+def search_sstate(self, filename_regex, distro_specific=True, 
distro_nonspecific=True):
+result = []
+for root, dirs, files in os.walk(self.sstate_path):
+if distro_specific and re.search(%s/[a-z0-9]{2}$ % self.distro, 
root):
+for f in files:
+if re.search(filename_regex, f):
+result.append(f)
+if distro_nonspecific and re.search(%s/[a-z0-9]{2}$ % 
self.sstate_path, root):
+for f in files:
+if re.search(filename_regex, f):
+result.append(f)
+return result
+
+
+# Test sstate files creation and their location
+def run_test_sstate_creation(self, targets, distro_specific=True, 
distro_nonspecific=True, temp_sstate_location=True, should_pass=True):
+self.config_sstate(temp_sstate_location)
+
+if  self.temp_sstate_location:
+bitbake(['-cclean'] + targets)
+else:
+bitbake(['-ccleansstate'] + targets)
+
+bitbake(targets)
+file_tracker = self.search_sstate('|'.join(map(str, targets)), 
distro_specific, distro_nonspecific)
+if should_pass:
+self.assertTrue(file_tracker , msg=Could not find sstate files 
for: %s % ', '.join(map(str, targets)))
+else:
+self.assertTrue(not file_tracker , msg=Found sstate files in the 
wrong place for: %s % ', '.join(map(str, targets)))
+
+def test_sstate_creation_distro_specific_pass(self):
+self.run_test_sstate_creation(['binutils-cross', 'binutils-native'], 
distro_specific=True, distro_nonspecific=False, temp_sstate_location=True)
+
+def test_sstate_creation_distro_specific_fail(self):
+self.run_test_sstate_creation(['binutils-cross', 'binutils-native'], 
distro_specific=False, distro_nonspecific=True, temp_sstate_location=True, 
should_pass=False)
+
+def test_sstate_creation_distro_nonspecific_pass(self):
+self.run_test_sstate_creation(['eglibc-initial'], 
distro_specific=False, distro_nonspecific=True, temp_sstate_location=True)
+
+def test_sstate_creation_distro_nonspecific_fail(self):
+self.run_test_sstate_creation(['eglibc-initial'], 
distro_specific=True, distro_nonspecific=False, temp_sstate_location=True, 
should_pass=False)
+
+
+# Test the sstate files deletion part of the do_cleansstate task
+def run_test_cleansstate_task(self, targets, distro_specific=True, 
distro_nonspecific=True, temp_sstate_location=True):
+self.config_sstate(temp_sstate_location)
+
+bitbake(['-ccleansstate'] + targets)
+
+bitbake(targets)
+file_tracker_1 = 

Re: [OE-core] [PATCH] weston: for fbdev enabled distro feature, change WESTON_NATIVE_BACKEND

2013-12-19 Thread Saul Wold

On 12/19/2013 06:20 AM, Valentin Popa wrote:

For builds with fbdev (no drm/kms), set
WESTON_NATIVE_BACKEND to fbdev-backend.so; doing this,
weston-launch will be able to know what backend to use.

Signed-off-by: Valentin Popa valentin.p...@intel.com
---
  meta/recipes-graphics/wayland/weston_1.3.1.bb | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/recipes-graphics/wayland/weston_1.3.1.bb 
b/meta/recipes-graphics/wayland/weston_1.3.1.bb
index d97f6af..4ab2776 100644
--- a/meta/recipes-graphics/wayland/weston_1.3.1.bb
+++ b/meta/recipes-graphics/wayland/weston_1.3.1.bb
@@ -45,7 +45,7 @@ PACKAGECONFIG[x11] = 
--enable-x11-compositor,--disable-x11-compositor,virtual/l
  # Headless Weston
  PACKAGECONFIG[headless] = 
--enable-headless-compositor,--disable-headless-compositor
  # Weston on framebuffer
-PACKAGECONFIG[fbdev] = --enable-fbdev-compositor,--disable-fbdev-compositor,udev 
mtdev
+PACKAGECONFIG[fbdev] = --enable-fbdev-compositor 
WESTON_NATIVE_BACKEND=fbdev-backend.so,--disable-fbdev-compositor,udev mtdev


Is this a more general way to do this as suggested by Koen back in May?

+# Needed for weston-launch
+WESTONBACKEND ??= fbdev-backend.so
+
+export WESTON_NATIVE_BACKEND = ${WESTONBACKEND}

See http://patches.openembedded.org/patch/50871/

Sau!



  # weston-launch
  PACKAGECONFIG[launch] = 
--enable-weston-launch,--disable-weston-launch,libpam
  # VA-API desktop recorder


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


[OE-core] [PATCH V3 0/1] image.bbclass: add ability to set systemd default target

2013-12-19 Thread Qi.Chen
From: Chen Qi qi.c...@windriver.com

Changes since V2:
1. Fix the commit message.

The following changes since commit 9daa1de753e58b7f678e68cf307f6028c0c79a6a:

  qemu/local.conf.sample: Add sdl PACKAGECONFIG (2013-12-16 12:13:59 +)

are available in the git repository at:

  git://git.pokylinux.org/poky-contrib ChenQi/systemd-default-target
  
http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=ChenQi/systemd-default-target

Chen Qi (1):
  image.bbclass: add ability to set systemd default target

 meta/classes/image.bbclass |   10 ++
 1 file changed, 10 insertions(+)

-- 
1.7.9.5

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


[OE-core] [PATCH V3 1/1] image.bbclass: add ability to set systemd default target

2013-12-19 Thread Qi.Chen
From: Chen Qi qi.c...@windriver.com

Add ability to set the default target for systemd images.

The default target for system is controlled by SYSTEMD_DEFAULT_TARGET.
The default value for this variable is derived from checking whether
IMAGE_FEATURES contains 'x11-base' or not. Each image could override
this value in its own recipe. For now, we don't need to do any change,
because all images that support graphical environment has 'x11-base'
in its IMAGE_FEATURES.

[YOCTO #3816]

Signed-off-by: Chen Qi qi.c...@windriver.com
---
 meta/classes/image.bbclass |   10 ++
 1 file changed, 10 insertions(+)

diff --git a/meta/classes/image.bbclass b/meta/classes/image.bbclass
index c595721..4c63bc2 100644
--- a/meta/classes/image.bbclass
+++ b/meta/classes/image.bbclass
@@ -186,6 +186,9 @@ IMAGE_MANIFEST = 
${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.manifest
 ROOTFS_POSTPROCESS_COMMAND =+ write_image_manifest ; 
 # Set default postinst log file
 POSTINST_LOGFILE ?= ${localstatedir}/log/postinstall.log
+# Set default target for systemd images
+SYSTEMD_DEFAULT_TARGET ?= '${@base_contains(IMAGE_FEATURES, x11-base, 
graphical.target, multi-user.target, d)}'
+ROOTFS_POSTPROCESS_COMMAND += '${@base_contains(DISTRO_FEATURES, systemd, 
set_systemd_default_target; , , d)}'
 
 # some default locales
 IMAGE_LINGUAS ?= de-de fr-fr en-gb
@@ -596,6 +599,13 @@ postinst_enable_logging () {
echo LOGFILE=${POSTINST_LOGFILE}  
${IMAGE_ROOTFS}${sysconfdir}/default/postinst
 }
 
+# Modify systemd default target
+set_systemd_default_target () {
+   if [ -d ${IMAGE_ROOTFS}${sysconfdir}/systemd/system -a -e 
${IMAGE_ROOTFS}${systemd_unitdir}/system/${SYSTEMD_DEFAULT_TARGET} ]; then
+   ln -sf ${systemd_unitdir}/system/${SYSTEMD_DEFAULT_TARGET} 
${IMAGE_ROOTFS}${sysconfdir}/systemd/system/default.target
+   fi
+}
+
 # Turn any symbolic /sbin/init link into a file
 remove_init_link () {
if [ -h ${IMAGE_ROOTFS}/sbin/init ]; then
-- 
1.7.9.5

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


[OE-core] [PATCH 0/4] Misc Fixes

2013-12-19 Thread Saul Wold
Fix up build time with PACKAGECONFIG for perl in openssl, found some 
non-overridable
PACKAGECONFIGs so fix them and clean up util-linux-dev issue

Sau!

Saul Wold (4):
  harfbuzz: Allow PACKAGECONFIG to be overridden
  beecrypt: Allow PACKAGECONFIG to be overridden
  openssl: use PACKAGECONFIG to disable perl bits
  util-linux: remove non PN based -dev packages

 meta/recipes-connectivity/openssl/openssl.inc | 16 +++-
 meta/recipes-core/util-linux/util-linux.inc   | 10 --
 meta/recipes-graphics/harfbuzz/harfbuzz_0.9.25.bb |  2 +-
 meta/recipes-support/beecrypt/beecrypt_4.2.1.bb   |  2 +-
 4 files changed, 17 insertions(+), 13 deletions(-)

-- 
1.8.3.1

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


[OE-core] [PATCH 1/4] harfbuzz: Allow PACKAGECONFIG to be overridden

2013-12-19 Thread Saul Wold
Signed-off-by: Saul Wold s...@linux.intel.com
---
 meta/recipes-graphics/harfbuzz/harfbuzz_0.9.25.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/recipes-graphics/harfbuzz/harfbuzz_0.9.25.bb 
b/meta/recipes-graphics/harfbuzz/harfbuzz_0.9.25.bb
index a18dafe..544deecd 100644
--- a/meta/recipes-graphics/harfbuzz/harfbuzz_0.9.25.bb
+++ b/meta/recipes-graphics/harfbuzz/harfbuzz_0.9.25.bb
@@ -24,7 +24,7 @@ BBCLASSEXTEND = native
 
 EXTRA_OECONF = --with-glib --with-freetype --with-cairo --without-graphite2
 
-PACKAGECONFIG = 
+PACKAGECONFIG ??= 
 PACKAGECONFIG[icu] = --with-icu,--without-icu,icu
 
 PACKAGES =+ ${PN}-icu ${PN}-icu-dbg ${PN}-icu-dev
-- 
1.8.3.1

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


[OE-core] [PATCH 4/4] util-linux: remove non PN based -dev packages

2013-12-19 Thread Saul Wold
All dev related items should be packaged in the core PN package not in seperate 
packages.

Signed-off-by: Saul Wold s...@linux.intel.com
---
 meta/recipes-core/util-linux/util-linux.inc | 10 --
 1 file changed, 4 insertions(+), 6 deletions(-)

diff --git a/meta/recipes-core/util-linux/util-linux.inc 
b/meta/recipes-core/util-linux/util-linux.inc
index 9f5fd01..2527fbe 100644
--- a/meta/recipes-core/util-linux/util-linux.inc
+++ b/meta/recipes-core/util-linux/util-linux.inc
@@ -32,10 +32,9 @@ SRC_URI = 
${KERNELORG_MIRROR}/linux/utils/util-linux/v${MAJOR_VERSION}/util-lin
 PACKAGES =+ util-linux-agetty util-linux-fdisk util-linux-cfdisk 
util-linux-sfdisk \
  util-linux-swaponoff util-linux-losetup util-linux-umount \
  util-linux-mount util-linux-readprofile util-linux-libblkid \
- util-linux-libmount util-linux-libmount-dev \
- util-linux-libblkid-dev util-linux-libuuid util-linux-libuuid-dev 
\
+ util-linux-libmount util-linux-libuuid \
  util-linux-uuidgen util-linux-lscpu util-linux-fsck 
util-linux-blkid \
- util-linux-mkfs util-linux-mcookie util-linux-reset 
util-linux-uuidd \
+ util-linux-mkfs util-linux-mcookie util-linux-reset \
  util-linux-mkfs.cramfs util-linux-fsck.cramfs \
  util-linux-partx ${PN}-bash-completion
 
@@ -77,11 +76,8 @@ FILES_util-linux-reset = ${base_bindir}/reset
 FILES_util-linux-partx = ${sbindir}/partx
 
 FILES_util-linux-libblkid = ${base_libdir}/libblkid.so.*
-FILES_util-linux-libblkid-dev = ${libdir}/libblkid.so ${libdir}/libblkid.la 
${includedir}/blkid ${libdir}/pkgconfig/blkid.pc
 FILES_util-linux-libmount = ${base_libdir}/libmount.so.*
-FILES_util-linux-libmount-dev = ${libdir}/libmount.so ${libdir}/libmount.la 
${includedir}/libmount ${libdir}/pkgconfig/mount.pc
 FILES_util-linux-libuuid = ${base_libdir}/libuuid.so.*
-FILES_util-linux-libuuid-dev = ${libdir}/libuuid.so ${libdir}/libuuid.la 
${includedir}/uuid ${libdir}/pkgconfig/uuid.pc
 FILES_util-linux-lscpu = ${bindir}/lscpu
 
 FILES_util-linux-fsck = ${base_sbindir}/fsck*
@@ -107,6 +103,8 @@ RRECOMMENDS_${PN}_class-nativesdk = 
 RDEPENDS_${PN}_class-native = 
 RDEPENDS_${PN}_class-nativesdk = 
 
+RPROVIDES_${PN}-dev = util-linux-libblkid-dev util-linux-libmount-dev 
util-linux-libuuid-dev
+
 SYSTEMD_PACKAGES = ${PN}-uuidd
 SYSTEMD_SERVICE_${PN}-uuidd = uuidd.service
 
-- 
1.8.3.1

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


[OE-core] [PATCH 2/4] beecrypt: Allow PACKAGECONFIG to be overridden

2013-12-19 Thread Saul Wold
Signed-off-by: Saul Wold s...@linux.intel.com
---
 meta/recipes-support/beecrypt/beecrypt_4.2.1.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/recipes-support/beecrypt/beecrypt_4.2.1.bb 
b/meta/recipes-support/beecrypt/beecrypt_4.2.1.bb
index a917201..5874f9e 100644
--- a/meta/recipes-support/beecrypt/beecrypt_4.2.1.bb
+++ b/meta/recipes-support/beecrypt/beecrypt_4.2.1.bb
@@ -27,7 +27,7 @@ do_install_append() {
 
 EXTRA_OECONF=--without-python --enable-shared --enable-static 
--disable-openmp --with-java=no
 
-PACKAGECONFIG = 
+PACKAGECONFIG ??= 
 PACKAGECONFIG[cplusplus] = --with-cplusplus,--without-cplusplus,icu
 
 FILES_${PN} = ${sysconfdir} ${libdir}/*.so.* ${libdir}/${BPN}/*.so.*
-- 
1.8.3.1

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


[OE-core] [CONSOLIDATED PULL 00/21] Currently finishing on AB

2013-12-19 Thread Saul Wold
Richard,

here is a set of mostly your patches alone with a few others, I actually built
a few more patches which I dropped, notably Valentin's weston patch since I 
think
Koen's suggestion from May would make a more flexible solution.

I verified the openssl change via buildhistory (thanks Paul!)


Thanks  
Sau!


The following changes since commit cd94dd3d9bba32c3fd55959586128b236d1d4e34:

  security_flags: more relocation issues (2013-12-18 17:23:55 +)

are available in the git repository at:

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

Corneliu Stoicescu (3):
  oe-selftest: New BuildhistoryBase object for buildhistory testing.
  oe-selftest: New test module for OE scripts.
  oe-selftest: added buildhistory buildtime tests in module
buildoptions.py

Cristian Iorga (1):
  libtirpc: upgrade to 0.2.4

Richard Purdie (8):
  native: Use deltask to remove tasks which have no purpose
  externalsrc: Use deltask API
  ptest: Fix dependency/ordering issue
  ptest: Disable for native recipes
  sstatesig: Ensure we return all matches for find_sigdata
  sstatesig: Allow the BB_HASHFILENAME to be passed in for comparision
purposes
  sstatesig: Update for the removal of sstate-name
  sstatesig: Correctly handle matches spanning stamps and sstatedir

Saul Wold (5):
  conf-notes: remove meta-toolchain-sdk references
  harfbuzz: Allow PACKAGECONFIG to be overridden
  beecrypt: Allow PACKAGECONFIG to be overridden
  openssl: use PACKAGECONFIG to disable perl bits
  util-linux: remove non PN based -dev packages

Stefan Stanacar (2):
  lib/oeqa/runtime: rewrite the systemd test module
  testimage: include traceback when loading a test fails

Valentin Popa (1):
  runqemu: Allow user to set -vga option with qemuparams

Zhang Xiao (1):
  nfs-utils: modify the boot sequence of the init script

 meta/classes/externalsrc.bbclass   | 21 +
 meta/classes/native.bbclass| 11 +--
 meta/classes/ptest.bbclass |  3 +-
 meta/classes/testimage.bbclass |  3 +-
 meta/conf/conf-notes.txt   |  1 -
 meta/lib/oe/sstatesig.py   | 15 ++--
 meta/lib/oeqa/runtime/systemd.py   | 93 +++---
 meta/lib/oeqa/selftest/buildhistory.py | 45 +++
 meta/lib/oeqa/selftest/buildoptions.py | 20 +
 meta/lib/oeqa/selftest/oescripts.py| 60 ++
 .../nfs-utils/nfs-utils_1.2.9.bb   |  5 +-
 meta/recipes-connectivity/openssl/openssl.inc  | 16 ++--
 meta/recipes-core/util-linux/util-linux.inc| 10 +--
 .../libtirpc-0.2.3/obsolete_automake_macros.patch  | 15 
 .../libtirpc-0.2.1-fortify.patch   |  0
 .../remove-des-uclibc.patch|  0
 .../{libtirpc_0.2.3.bb = libtirpc_0.2.4.bb}   |  8 +-
 meta/recipes-graphics/harfbuzz/harfbuzz_0.9.25.bb  |  2 +-
 meta/recipes-support/beecrypt/beecrypt_4.2.1.bb|  2 +-
 scripts/runqemu|  1 +
 scripts/runqemu-internal   | 12 ++-
 21 files changed, 228 insertions(+), 115 deletions(-)
 create mode 100644 meta/lib/oeqa/selftest/buildhistory.py
 create mode 100644 meta/lib/oeqa/selftest/oescripts.py
 delete mode 100644 
meta/recipes-extended/libtirpc/libtirpc-0.2.3/obsolete_automake_macros.patch
 rename meta/recipes-extended/libtirpc/{libtirpc-0.2.3 = 
libtirpc}/libtirpc-0.2.1-fortify.patch (100%)
 rename meta/recipes-extended/libtirpc/{libtirpc-0.2.3 = 
libtirpc}/remove-des-uclibc.patch (100%)
 rename meta/recipes-extended/libtirpc/{libtirpc_0.2.3.bb = libtirpc_0.2.4.bb} 
(84%)

-- 
1.8.3.1

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