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 <pengyu.ma@...>
---
 meta/recipes-graphics/mesa/{mesa-gl_10.3.4.bb => mesa-gl_10.4.3.bb} | 0
 meta/recipes-graphics/mesa/mesa.inc                                 | 2 --
 meta/recipes-graphics/mesa/{mesa_10.3.4.bb => mesa_10.4.3.bb}       | 4 ++--
 meta/recipes-graphics/mesa/mesa_git.bb                              | 4 ++--
 4 files changed, 4 insertions(+), 6 deletions(-)
 rename meta/recipes-graphics/mesa/{mesa-gl_10.3.4.bb => mesa-gl_10.4.3.bb} (100%)
 rename meta/recipes-graphics/mesa/{mesa_10.3.4.bb => mesa_10.4.3.bb} (78%)

diff --git a/meta/recipes-graphics/mesa/mesa-gl_10.3.4.bb b/meta/recipes-graphics/mesa/mesa-gl_10.4.3.bb
similarity index 100%
rename from meta/recipes-graphics/mesa/mesa-gl_10.3.4.bb
rename to meta/recipes-graphics/mesa/mesa-gl_10.4.3.bb
diff --git a/meta/recipes-graphics/mesa/mesa.inc b/meta/recipes-graphics/mesa/mesa.inc
index cb1837a..2d4e65d 100644
--- a/meta/recipes-graphics/mesa/mesa.inc
+++ b/meta/recipes-graphics/mesa/mesa.inc
 <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',
',${GALLIUMDRIVERS_LLVM}', '', d)}"
 # 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"
 MESA_LLVM_RELEASE ?= "3.3"
(Continue reading)

Armin Kuster | 31 Jan 02:15 2015
Picon

[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/tzcode-native_2014j.bb | 10 ----------
 meta/recipes-extended/tzcode/tzcode-native_2015a.bb | 10 ++++++++++
 2 files changed, 10 insertions(+), 10 deletions(-)
 delete mode 100644 meta/recipes-extended/tzcode/tzcode-native_2014j.bb
 create mode 100644 meta/recipes-extended/tzcode/tzcode-native_2015a.bb

(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/git-manpages_2.2.1.bb             | 25 ++++++++++++++++++++++
 1 file changed, 25 insertions(+)
 create mode 100644 meta/recipes-devtools/git-manpages/git-manpages_2.2.1.bb

diff --git a/meta/recipes-devtools/git-manpages/git-manpages_2.2.1.bb b/meta/recipes-devtools/git-manpages/git-manpages_2.2.1.bb
new file mode 100644
index 000000000000..7d8e0e972738
--- /dev/null
+++ b/meta/recipes-devtools/git-manpages/git-manpages_2.2.1.bb
 <at>  <at>  -0,0 +1,25  <at>  <at> 
+SUMMARY = "Distributed version control system manpages"
+SECTION = "console/utils"
+LICENSE = "GPLv2"
+DEPENDS = "git"
+
+RDEPENDS_${PN} = "git"
+SRC_URI = "https://www.kernel.org/pub/software/scm/git/git-manpages-${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
this:

ldconfig_postinst_fragment() {
if [ x"$D" = "x" ]; then
	if [ -x /sbin/ldconfig ]; then /sbin/ldconfig ; fi
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
	ldconfig
fi
}

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
message:

  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
Picon

[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"
-- 
2.1.0

--

-- 
(Continue reading)

Andrei Gherzan | 30 Jan 20:23 2015
Picon

libpng 1.6.16 fetch fails

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

WARNING: Checksum failure encountered with download of http://downloads.sourceforge.net/project/libpng/libpng16/1.6.16/libpng-1.6.16.tar.xz - 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
Openembedded-core@...
http://lists.openembedded.org/mailman/listinfo/openembedded-core
Ross Burton | 30 Jan 18:29 2015
Picon

[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
everything.

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 \
     USER FILESPATH STAGING_DIR_HOST STAGING_DIR_TARGET COREBASE PRSERV_HOST \
     PRSERV_DUMPDIR PRSERV_DUMPFILE PRSERV_LOCKDOWN PARALLEL_MAKE \
     CCACHE_DIR EXTERNAL_TOOLCHAIN CCACHE CCACHE_DISABLE LICENSE_PATH SDKPKGSUFFIX \
-    WARN_QA ERROR_QA WORKDIR STAMPCLEAN PKGDATA_DIR"
+    WORKDIR STAMPCLEAN PKGDATA_DIR"
 BB_HASHCONFIG_WHITELIST ?= "${BB_HASHBASE_WHITELIST} DATE TIME SSH_AGENT_PID \
     SSH_AUTH_SOCK PSEUDO_BUILD BB_ENV_EXTRAWHITE DISABLE_SANITY_CHECKS \
     PARALLEL_MAKE BB_NUMBER_THREADS BB_ORIGENV BB_INVALIDCONF BBINCLUDED"
-- 
1.7.10.4

--

-- 
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,
—Walt

--

-- 
_______________________________________________
Openembedded-core mailing list
Openembedded-core <at> lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core
Markus Boos | 30 Jan 14:39 2015

run ptest for specific packages or layers

Hi

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
Markus

[1]: https://lists.yoctoproject.org/pipermail/automated-testing/2014-September/000077.html
[2]: https://github.com/openembedded/oe-core/blob/master/meta/classes/ptest.bbclass
--

-- 
Pengyu Ma | 30 Jan 10:33 2015

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

Signed-off-by: Pengyu Ma <pengyu.ma@...>
---
 .../mesa/{mesa-gl_10.3.4.bb => mesa-gl_10.4.3.bb}  |    0
 .../mesa/{mesa_10.3.4.bb => mesa_10.4.3.bb}        |    4 ++--
 meta/recipes-graphics/mesa/mesa_git.bb             |    4 ++--
 3 files changed, 4 insertions(+), 4 deletions(-)
 rename meta/recipes-graphics/mesa/{mesa-gl_10.3.4.bb => mesa-gl_10.4.3.bb} (100%)
 rename meta/recipes-graphics/mesa/{mesa_10.3.4.bb => mesa_10.4.3.bb} (78%)

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

 SRC_URI = "ftp://ftp.freedesktop.org/pub/mesa/${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/mesa_git.bb b/meta/recipes-graphics/mesa/mesa_git.bb
index b046ae2..e554ff4 100644
--- a/meta/recipes-graphics/mesa/mesa_git.bb
+++ b/meta/recipes-graphics/mesa/mesa_git.bb
 <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://anongit.freedesktop.org/git/mesa/mesa;branch=10.4"

-- 
1.7.9.5

--

-- 

Gmane