Philip Balister | 1 Sep 15:47 2015

[PATCH] libevent_2.0.22.bb: Add native and nativesdk support to the recipe.

Build tested against thrift recipe under development.

Signed-off-by: Philip Balister <philip@...>
---
 meta/recipes-support/libevent/libevent_2.0.22.bb | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/meta/recipes-support/libevent/libevent_2.0.22.bb b/meta/recipes-support/libevent/libevent_2.0.22.bb
index 2f49293..58c263c 100644
--- a/meta/recipes-support/libevent/libevent_2.0.22.bb
+++ b/meta/recipes-support/libevent/libevent_2.0.22.bb
 <at>  <at>  -28,6 +28,8  <at>  <at>  inherit ptest

 DEPENDS = "zlib"

+BBCLASSEXTEND = "native nativesdk"
+
 do_install_ptest() {
 	install -d ${D}${PTEST_PATH}/test
 	for file in ${B}/test/.libs/regress ${B}/test/.libs/test*
-- 
2.1.0

--

-- 
rongqing.li | 1 Sep 09:54 2015

[PATCH][meta-oe] lvm2: enable lvmetad

From: Roy Li <rongqing.li@...>

the systemd unit file of lvm2-monitor requires lvm2-lvmetad.socket which
asks to enable lvmetad, lvmetad is a metadata caching daemon for LVM. so
this fixed the below error:
  # systemctl start lvm2-monitor
  Failed to start lvm2-monitor.service: Unit lvm2-lvmetad.socket failed to load: No such file or directory.
  #

replace the installation of system unit file by make install_systemd_units

Signed-off-by: Roy Li <rongqing.li@...>
---
 meta-oe/recipes-support/lvm2/lvm2.inc | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/meta-oe/recipes-support/lvm2/lvm2.inc b/meta-oe/recipes-support/lvm2/lvm2.inc
index 099164c..2b2d8ed 100644
--- a/meta-oe/recipes-support/lvm2/lvm2.inc
+++ b/meta-oe/recipes-support/lvm2/lvm2.inc
 <at>  <at>  -24,6 +24,7  <at>  <at>  EXTRA_OECONF = "--with-user= \
                 --enable-udev_rules \
                 --enable-pkgconfig \
                 --enable-dmeventd \
+                --enable-lvmetad \
                 --with-udev-prefix= \
                 --with-usrlibdir=${libdir} \
 "
 <at>  <at>  -38,14 +39,13  <at>  <at>  do_install_append() {
     # Install machine specific configuration file
(Continue reading)

Adam Lee | 1 Sep 02:47 2015
Picon

Using QT_DIR_NAME; Correct way of flattening QT5 directory structure?

My system only runs Qt5. Hence no need to have `qmake` and others in
`/usr/bin/qt5`.
I prefer to have them in `/usr/bin`.

JaMa's comment[1] seems to suggest that all it takes is setting
`QT_DIR_NAME` to an empty string.

With this, I get tonnes of QA errors because `FILES_` paths now
contain `//`, which is the right behavior
as per the manual[2].

For example:

   $ bitbake qttools -e | grep FILES_qttools-mkspecs
   # $FILES_qttools-mkspecs
   FILES_qttools-mkspecs="    /usr/lib//mkspecs "

And the corresponding error being this:

   WARNING: QA Issue: FILES variable for package qttools-mkspecs
   contains '//' which is invalid. Attempting to fix this but you should correct
   the metadata.
   [files-invalid]

The build system [seems to] successfully correct the issue, and I see
the files in the resulting rootfs.
That said, I am either doing something incorrect, or something has to be fixed.

[1] http://lists.openembedded.org/pipermail/openembedded-devel/2014-February/094232.html
[2] http://www.yoctoproject.org/docs/current/ref-manual/ref-manual.html#qa-issue-files-invalid
(Continue reading)

Christopher Larson | 31 Aug 21:11 2015
Picon

[PATCHv2 0/3] Various bits related to pulseaudio

From: Christopher Larson <chris_larson@...>

While it was pointed out that a configuration option for autospawn-for-root
may be preferable, we can switch to that as a future improvement, so I think
it should still go in as is, unless there's an objection to that.

v2 changes: removed inaccurate comment regarding autospawn-for-root
packageconfig.

The following changes since commit 524c590fb44d0ef9711accf2db1a21e4a3cbcfc2:

  oe-selftest: test devtool build-image plugin (2015-08-31 11:37:00 +0100)

are available in the git repository at:

  git://github.com/kergoth/openembedded-core pulseaudio-related-bits
  https://github.com/kergoth/openembedded-core/tree/pulseaudio-related-bits

Christopher Larson (3):
  packagegroup-core-x11-sato: obey the pulseaudio distro feature
  pulseaudio: pass --with-systemduserunitdir
  pulseaudio: add 'autospawn-for-root' PACKAGECONFIG

 meta/recipes-multimedia/pulseaudio/pulseaudio.inc      | 18 +++++++++++++++++-
 .../packagegroups/packagegroup-core-x11-sato.bb        |  3 +--
 2 files changed, 18 insertions(+), 3 deletions(-)

--

-- 
2.2.1

(Continue reading)

Christopher Larson | 31 Aug 21:08 2015
Picon

[PATCHv2] bitbake.conf: add MIRROR vars to SRC_URI vardeps

From: Christopher Larson <chris_larson@...>

Changes to what mirror we happen to fetch from shouldn't cause rebuilds.

Signed-off-by: Christopher Larson <chris_larson@...>
---
 meta/conf/bitbake.conf | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)

v2 changes: s/vardeps/vardepsexclude/

diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf
index aab4391..d8a66f9 100644
--- a/meta/conf/bitbake.conf
+++ b/meta/conf/bitbake.conf
 <at>  <at>  -581,6 +581,23  <at>  <at>  SAVANNAH_GNU_MIRROR = "http://download.savannah.gnu.org/releases"
 SAVANNAH_NONGNU_MIRROR = "http://download.savannah.nongnu.org/releases"
 CPAN_MIRROR = "http://search.cpan.org/CPAN"

+SRC_URI[vardepsexclude] += "\
+    APACHE_MIRROR \
+    CPAN_MIRROR \
+    DEBIAN_MIRROR \
+    GENTOO_MIRROR \
+    GNOME_GIT \
+    GNOME_MIRROR \
+    GNU_MIRROR \
+    GPE_MIRROR \
+    KERNELORG_MIRROR \
+    SAVANNAH_GNU_MIRROR \
(Continue reading)

leonardo.sandoval.gonzalez | 31 Aug 10:09 2015
Picon

[PATCH v3 0/3] devtool: upgrade feature

From: Leonardo Sandoval <leonardo.sandoval.gonzalez@...>

The following changes were made since V2:

- Some code packed into functions
- Change '_' to '-' on branch and tag names (per Paul suggestion
- New recipe under meta-selftest so unit tests (oe-selftest) do not
  depend on real recipes (also, Anibal/Paul suggestion)

The following changes since commit 393bd7496d71eb101f21234c1233a2d18fd2c73e:

  oeqa/oetest.py: add better package search for hasPackage() (2015-08-26 08:28:06 +0100)

are available in the git repository at:

  git://git.yoctoproject.org/poky-contrib lsandov1/devtool-upgrade
  http://git.yoctoproject.org/cgit.cgi/poky-contrib/log/?h=lsandov1/devtool-upgrade

Leonardo Sandoval (3):
  devtool: upgrade feature
  devtool-upgrade: sample recipe to test the devtool feature
  oeqa/selftest: new tests for devtool upgrage feature

 .../recipes-test/devtool/devtool-upgrade_0.1.bb    |  25 ++
 ...-exit-with-EXIT_SUCCESS-instead-of-a-magi.patch |  27 ++
 .../devtool/files/devtool-upgrade-0.1.tar.gz       | Bin 0 -> 411 bytes
 .../devtool/files/devtool-upgrade-0.2.tar.gz       | Bin 0 -> 411 bytes
 meta/lib/oeqa/selftest/devtool.py                  |  36 +++
 scripts/lib/devtool/standard.py                    |   4 +-
 scripts/lib/devtool/upgrade.py                     | 356 +++++++++++++++++++++
(Continue reading)

cliff.brake | 31 Aug 17:01 2015
Picon

OE Changelog since 2015-08-23 until 2015-08-30

Changelog since 2015-08-23 until 2015-08-30.  Projects included in this report:

bitbake: git://git.openembedded.org/bitbake
openembedded-core: git://git.openembedded.org/openembedded-core
meta-openembedded: git://git.openembedded.org/meta-openembedded
meta-angstrom: git://github.com/Angstrom-distribution/meta-angstrom.git
meta-arago: git://arago-project.org/git/meta-arago.git
meta-atmel: https://github.com/linux4sam/meta-atmel.git
meta-beagleboard: git://github.com/beagleboard/meta-beagleboard.git
meta-browser: git://github.com/OSSystems/meta-browser.git
meta-bug: git://github.com/buglabs/meta-bug.git
meta-chicken: git://github.com/OSSystems/meta-chicken
meta-efikamx: git://github.com/kraj/meta-efikamx.git
meta-ettus: http://github.com/koenkooi/meta-ettus.git
meta-fsl-arm: git://git.yoctoproject.org/meta-fsl-arm
meta-fsl-arm-extra: git://github.com/Freescale/meta-fsl-arm-extra.git
meta-fsl-ppc: git://git.yoctoproject.org/meta-fsl-ppc
meta-guacamayo: git://github.com/Guacamayo/meta-guacamayo.git
meta-gumstix: git://github.com/gumstix/meta-gumstix.git
meta-gumstix-community: https://github.com/schnitzeltony/meta-gumstix-community.git
meta-handheld: git://git.openembedded.org/meta-handheld
meta-igep: http://github.com/ebutera/meta-igep.git
meta-intel: git://git.yoctoproject.org/meta-intel
meta-ivi: git://git.yoctoproject.org/meta-ivi
meta-java: git://github.com/woglinde/meta-java
meta-jetson-tk1: https://github.com/cubicool/meta-jetson-tk1.git
meta-kde: git://gitorious.org/openembedded-core-layers/meta-kde.git
meta-micro: git://git.openembedded.org/meta-micro
meta-mono: git://git.yoctoproject.org/meta-mono.git
meta-netbookpro: git://github.com/tworaz/meta-netbookpro
(Continue reading)

mariano.lopez | 31 Aug 08:13 2015
Picon

[PATCH 6/6] runexported: Make it compatible with host dump

From: Mariano Lopez <mariano.lopez@...>

Currently it is not possible to run a exported test,
but this patch will allow to use the HosDumper class
when running a exported test, otherwise the HostDumper
class will break runexpored test.

[YOCTO #8118]

Signed-off-by: Mariano Lopez <mariano.lopez@...>
---
 meta/classes/testimage.bbclass | 6 +++++-
 meta/lib/oeqa/oetest.py        | 3 +--
 meta/lib/oeqa/runexported.py   | 8 +++++++-
 3 files changed, 13 insertions(+), 4 deletions(-)

diff --git a/meta/classes/testimage.bbclass b/meta/classes/testimage.bbclass
index 6a4b80a..57cd786 100644
--- a/meta/classes/testimage.bbclass
+++ b/meta/classes/testimage.bbclass
 <at>  <at>  -173,9 +173,10  <at>  <at>  def exportTests(d,tc):
     savedata = {}
     savedata["d"] = {}
     savedata["target"] = {}
+    savedata["host_dumper"] = {}
     for key in tc.__dict__:
         # special cases
-        if key != "d" and key != "target":
+        if key != "d" and key != "target" and key != "host_dumper":
             savedata[key] = getattr(tc, key)
(Continue reading)

Ed Bartosh | 31 Aug 13:14 2015
Picon

Re: [PATCH 1/5] image.py: write bitbake variables to .env file

On Sun, Aug 30, 2015 at 09:22:50PM -0700, Christopher Larson wrote:
> On Sun, Aug 30, 2015 at 2:14 PM, Ed Bartosh <ed.bartosh@...>
> wrote:
> 
> > Write set of bitbake variables used by wic into
> > build/tmp/sysroots/≤machine>/imagedata/≤image>.env
> >
> > List of variables is defined in WICVARS variable in
> > meta/classes/image_types.bbclass.
> >
> > This is needed for wic to be able to get bitbake variables without
> > running 'bitbake -e'.
> >
> > Signed-off-by: Ed Bartosh <ed.bartosh@...>
> >
> 
> The function name (_write_env) sounds generic, as does the commit message,
> and the filename, yet it relies on a variable which is WIC-specific. This
> seems rather inconsistent to me, either this thing is for wic alone, or it
> isn't, and the function name, file name, and variable name should reflect
> that.

Thanks for pointing this out. I'll rename _write_env to _write_wic_env it in the next patchset.

--
Regards,
Ed
--

-- 
Kravchenko, Oleh | 31 Aug 11:44 2015

opkg-0.3.0 version bump

Hello,

Does anybody known when opkg-0.3.0 will be released for Yocto?

-- 
Best regards,
Oleh Kravchenko

Senior Software Developer, CMS | skype: oleg_krava | Email:
okravchenko@...
--

-- 
Ed Bartosh | 31 Aug 10:35 2015
Picon

[wic][PATCH] oe-selftest: wic: fix test19_image_env test case

This test case fails on qemu machines as not all expected bitbake
variables are present in .env file.

Fixed by filtering out optional variables.

Signed-off-by: Ed Bartosh <ed.bartosh@...>
---
 meta/lib/oeqa/selftest/wic.py | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/meta/lib/oeqa/selftest/wic.py b/meta/lib/oeqa/selftest/wic.py
index deb2333..6bc4b60 100644
--- a/meta/lib/oeqa/selftest/wic.py
+++ b/meta/lib/oeqa/selftest/wic.py
 <at>  <at>  -180,8 +180,10  <at>  <at>  class Wic(oeSelfTest):
         path = os.path.join(imgdatadir, basename) + '.env'
         self.assertTrue(os.path.isfile(path))

-        wicvars = get_bb_var('WICVARS', image).split()
-        wicvars.remove('IMAGE_BOOT_FILES') # this variable is optional
+        wicvars = set(get_bb_var('WICVARS', image).split())
+        # filter out optional variables
+        wicvars = wicvars.difference(('HDDDIR', 'IMAGE_BOOT_FILES',
+                                      'INITRD', 'ISODIR'))
         with open(path) as envfile:
             content = dict(line.split("=", 1) for line in envfile)
             # test if variables used by wic present in the .env file
--

-- 
2.1.4

(Continue reading)


Gmane