Pengyu Ma | 31 Jan 05:39 2015

[meta-oe][V2][PATCH] mesa: Upgrade to 10.4.3

flags for EGL and GBM Gallium had been removed in 10.4,
so remove these flags.

Signed-off-by: Pengyu Ma <>
 meta/recipes-graphics/mesa/{ =>} | 0
 meta/recipes-graphics/mesa/                                 | 2 --
 meta/recipes-graphics/mesa/{ =>}       | 4 ++--
 meta/recipes-graphics/mesa/                              | 4 ++--
 4 files changed, 4 insertions(+), 6 deletions(-)
 rename meta/recipes-graphics/mesa/{ =>} (100%)
 rename meta/recipes-graphics/mesa/{ =>} (78%)

diff --git a/meta/recipes-graphics/mesa/ b/meta/recipes-graphics/mesa/
similarity index 100%
rename from meta/recipes-graphics/mesa/
rename to meta/recipes-graphics/mesa/
diff --git a/meta/recipes-graphics/mesa/ b/meta/recipes-graphics/mesa/
index cb1837a..2d4e65d 100644
--- a/meta/recipes-graphics/mesa/
+++ b/meta/recipes-graphics/mesa/
 <at>  <at>  -59,8 +59,6  <at>  <at>  GALLIUMDRIVERS_append_x86 = "${ <at> bb.utils.contains('PACKAGECONFIG', 'gallium-llvm
 GALLIUMDRIVERS_append_x86-64 = "${ <at> bb.utils.contains('PACKAGECONFIG', 'gallium-llvm',
 # keep --with-gallium-drivers separate, because when only one of gallium versions is enabled, other 2
were adding --without-gallium-drivers
 PACKAGECONFIG[gallium]      = "--with-gallium-drivers=${GALLIUMDRIVERS}, --without-gallium-drivers"
-PACKAGECONFIG[gallium-egl]  = "--enable-gallium-egl, --disable-gallium-egl"
-PACKAGECONFIG[gallium-gbm]  = "--enable-gallium-gbm, --disable-gallium-gbm"
(Continue reading)

Armin Kuster | 31 Jan 02:15 2015

[MASTER and DIZZY] [PATCH 1/2] tzcode: update to 2015a leap second changes too

Changes affecting code

tzalloc now scrubs time zone abbreviations compatibly with the way
that tzset always has, by replacing invalid bytes with '_' and by
shortening too-long abbreviations.

tzselect ports to POSIX awk implementations, no longer mishandles
POSIX TZ settings when GNU awk is used, and reports POSIX TZ
settings to the user.  (Thanks to Stefan Kuhn.)

Changes affecting build procedure

'make check' now checks for links to links in the data.
One such link (for Africa/Asmera) has been fixed.
(Thanks to Stephen Colebourne for pointing out the problem.)

Changes affecting commentary
The leapseconds file commentary now mentions the expiration date.
(Problem reported by Martin Burnicki.)

Update Mexican Library of Congress URL.

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

(Continue reading)

Paul Gortmaker | 31 Jan 01:08 2015

[PATCH] devtools: add a bb for git-manpages

These could be created from scratch from git itself, but it
requires asciidoc, xsltproc, python bits and too much other
baggage.  Since the git folks issue a tarball with the manpages
for each release, it is simpler to just go get that.

Signed-off-by: Paul Gortmaker <paul.gortmaker@...>
 .../git-manpages/             | 25 ++++++++++++++++++++++
 1 file changed, 25 insertions(+)
 create mode 100644 meta/recipes-devtools/git-manpages/

diff --git a/meta/recipes-devtools/git-manpages/ b/meta/recipes-devtools/git-manpages/
new file mode 100644
index 000000000000..7d8e0e972738
--- /dev/null
+++ b/meta/recipes-devtools/git-manpages/
 <at>  <at>  -0,0 +1,25  <at>  <at> 
+SUMMARY = "Distributed version control system manpages"
+SECTION = "console/utils"
+DEPENDS = "git"
+RDEPENDS_${PN} = "git"
+SRC_URI = "${PV}.tar.gz"
+LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6"
+SRC_URI[md5sum] = "b5ddd262b608804ba4403f0f82d881d7"
+SRC_URI[sha256sum] = "69dcb3decdb33dd35491935e80f71c40c576b536df4223eb98d5f7ccd9643293"
(Continue reading)

Ben Shelton | 31 Jan 00:06 2015

opkg intercept for ldconfig on oe-core

Hi all,

I was looking at the opkg intercept functionality, and if I'm understanding this
properly, it looks like it changes the PATH so that e.g. ldconfig is redirected
to the script under /usr/share/opkg/intercept/ldconfig when running postinst
scripts.  That way, when installing a bunch of libraries, ldconfig can be run
once at the end rather than once for every package.

However, the postinst scripts for libraries are generated with
ldconfig_postinst_fragment() in meta/classes/package.bbclass, which looks like

ldconfig_postinst_fragment() {
if [ x"$D" = "x" ]; then
	if [ -x /sbin/ldconfig ]; then /sbin/ldconfig ; fi

Because this script uses the full absolute path to ldconfig, the opkg intercept
ldconfig script isn't being invoked.  I verified this by putting an echo in
/usr/share/opkg/intercept/ldconfig, which I saw only when I changed my package's
postinst script to

ldconfig_postinst_fragment() {
if [ x"$D" = "x" ]; then

In the history of package.bbclass, it originally used to look like this, but was
(Continue reading)

Rob Woolley | 30 Jan 22:55 2015

[PATCH] dhcp-client: Ignore partial checksums

dhclient will fail to get an IP address if run inside a guest when traffic is
flowing over a virtual network interface.  The user will see the error

  5 bad udp checksums in 5 packets
  No DHCPOFFERS received.
  Unable to obtain a lease on first try.  Exiting.
  Failed to bring up eth0.

This is because Linux only uses partial checksums for packets that go over
virtual network interfaces and dhclient does not like this.

  See linux kernel commit 78ea85f17b15390e30d8b47488ec7b6cf0790663
  ("net: skbuff: improve comment on checksumming")

An application can detect this behaviour by checking for the
TP_STATUS_CSUMNOTREADY flag in the tp_status field.

  See linux kernel commit 8dc4194474159660d7f37c495e3fc3f10d0db8cc
  ("Add optional checksum computation for recvmsg")

An extra parameter is added to decode_udp_ip_header() in dhclient to indicate
whether or not dhclient should ignore partial checksums.  This is used
when the TP_STATUS_CSUMNOTREADY bit is set by the guest kernel.

This fix has been included in Fedora and Ubuntu, however it has not yet been
accepted by ISC upstream.  Likely because it is specific to behaviour in Linux
and other UNIX variants do not seem to be affected.

The patch was imported from the dhcp source RPM in Fedora 21
(Continue reading)

Saul Wold | 30 Jan 21:44 2015

[PATCH] btrfs: create an empty file to build the fs in

The newer btrfs-utils needs an empty file to build the filesystem in, so
create an empty file and use it for the mkfs to build the fs in.

[YOCTO #6804]

Signed-off-by: Saul Wold <sgw@...>
 meta/classes/image_types.bbclass | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/meta/classes/image_types.bbclass b/meta/classes/image_types.bbclass
index 0c27f29..d6cc87f 100644
--- a/meta/classes/image_types.bbclass
+++ b/meta/classes/image_types.bbclass
 <at>  <at>  -59,8 +59,8  <at>  <at>  IMAGE_CMD_ext3 = "oe_mkext234fs ext3 ${EXTRA_IMAGECMD}"
 IMAGE_CMD_ext4 = "oe_mkext234fs ext4 ${EXTRA_IMAGECMD}"

 IMAGE_CMD_btrfs () {
-	touch ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.btrfs
-	mkfs.btrfs -b `expr ${ROOTFS_SIZE} \* 1024` ${EXTRA_IMAGECMD} -r ${IMAGE_ROOTFS} ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.btrfs
+	dd if=/dev/zero of=${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.btrfs count=${ROOTFS_SIZE} bs=1024
+	mkfs.btrfs ${EXTRA_IMAGECMD} -r ${IMAGE_ROOTFS} ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.btrfs

 IMAGE_CMD_squashfs = "mksquashfs ${IMAGE_ROOTFS}
${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.squashfs ${EXTRA_IMAGECMD} -noappend"


(Continue reading)

Andrei Gherzan | 30 Jan 20:23 2015

libpng 1.6.16 fetch fails

After the latest libpng update, the source link seems broken.

WARNING: Checksum failure encountered with download of - will attempt other sources if available
WARNING: Renaming /home/agherzan/work/personal/yocto/downloads/libpng-1.6.16.tar.xz to /home/agherzan/work/personal/yocto/downloads/libpng-1.6.16.tar.xz_bad-checksum_b2e23b153fad3034ec48336f81eefd33

Andrei Gherzan

Openembedded-core mailing list
Ross Burton | 30 Jan 18:29 2015

[PATCH 1/2] bitbake.conf: don't remove WARN_QA and ERROR_QA from hashes

Changing WARN_QA and ERROR_QA should cause do_package_qa to re-execute, so
removing them from the sstate hashes is harmful.

They were added back when sanity testing was part of packaging and this was the
lesser evil, compared to changing sanity tests causing a re-package of

Signed-off-by: Ross Burton <ross.burton@...>
 meta/conf/bitbake.conf |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf
index b5b54b7..907ed1e 100644
--- a/meta/conf/bitbake.conf
+++ b/meta/conf/bitbake.conf
 <at>  <at>  -774,7 +774,7  <at>  <at>  BB_HASHBASE_WHITELIST ?= "TMPDIR FILE PATH PWD BB_TASKHASH BBPATH DL_DIR \


Walter Giroir | 30 Jan 14:57 2015

Changes to Image Definitions in 1.7.1

I am in the process of moving from Yocto 1.5.1 to 1.7.1.

Overall the process has gone very smooth but I have one blocking issue.

I have a layer with an Image defined in new_layer/classes/new_image.bblcass

When running with 1.5.1, it works fine.
When running with 1.7.1, it does not even parse the file

Has anyone encountered this or is there a description of the changes in this area.

Thanks in advance,


Openembedded-core mailing list
Openembedded-core <at>
Markus Boos | 30 Jan 14:39 2015

run ptest for specific packages or layers


We faced the problem that our image (built with ptest feature) doesn't fit into our flash [1].
I'd like to run the ptest on real hardware cause some packages need the mounted FPGA functionality.

What is the best way to proceed?

Extend the ptest class [2] to read in a "local_ptest.conf" which is whitelisting layer or packages where
ptest should be built for?

Or is there another solution or proposal how to proceed?

Best regards


Pengyu Ma | 30 Jan 10:33 2015

[oe-core][PATCH] mesa: Upgrade to 10.4.3

Signed-off-by: Pengyu Ma <>
 .../mesa/{ =>}  |    0
 .../mesa/{ =>}        |    4 ++--
 meta/recipes-graphics/mesa/             |    4 ++--
 3 files changed, 4 insertions(+), 4 deletions(-)
 rename meta/recipes-graphics/mesa/{ =>} (100%)
 rename meta/recipes-graphics/mesa/{ =>} (78%)

diff --git a/meta/recipes-graphics/mesa/ b/meta/recipes-graphics/mesa/
similarity index 100%
rename from meta/recipes-graphics/mesa/
rename to meta/recipes-graphics/mesa/
diff --git a/meta/recipes-graphics/mesa/ b/meta/recipes-graphics/mesa/
similarity index 78%
rename from meta/recipes-graphics/mesa/
rename to meta/recipes-graphics/mesa/
index 50092c9..9669bcb 100644
--- a/meta/recipes-graphics/mesa/
+++ b/meta/recipes-graphics/mesa/
 <at>  <at>  -2,8 +2,8  <at>  <at>  require ${BPN}.inc

 SRC_URI = "${PV}/MesaLib-${PV}.tar.bz2"

-SRC_URI[md5sum] = "fa0558a3d02c2bb8c208c030ccdc992e"
-SRC_URI[sha256sum] = "e6373913142338d10515daf619d659433bfd2989988198930c13b0945a15e98a"
+SRC_URI[md5sum] = "be86c4ee226f8ca28b7d4c728c350b01"
+SRC_URI[sha256sum] = "ef6ecc9c2f36c9f78d1662382a69ae961f38f03af3a0c3268e53f351aa1978ad"

 S = "${WORKDIR}/Mesa-${PV}"

diff --git a/meta/recipes-graphics/mesa/ b/meta/recipes-graphics/mesa/
index b046ae2..e554ff4 100644
--- a/meta/recipes-graphics/mesa/
+++ b/meta/recipes-graphics/mesa/
 <at>  <at>  -4,8 +4,8  <at>  <at>  DEFAULT_PREFERENCE = "-1"

 LIC_FILES_CHKSUM = "file://docs/license.html;md5=6a23445982a7a972ac198e93cc1cb3de"

-SRCREV = "c7b9a2e38a3e471562b50dab8be65db8ac6819f8"
-PV = "10.3.4+git${SRCPV}"
+SRCREV = "f70e4d4afd16e66506ce3b055edb3b71b1464890"
+PV = "10.4.3+git${SRCPV}"

 SRC_URI = "git://;branch=10.4"