Chen Qi | 24 Apr 04:07 2014

[PATCH V2 0/4] systemd related fixes post 1.6

Changes since V1:
1. Fix an error in generate-rndc-key.sh. The command should be `chmod' instead of `chown'.

The following changes since commit bec37f8b85b6dd1e4e1c1b9b215a7952ca2fc386:

  build-appliance-image: Update to  head revision (2014-04-22 22:53:34 +0100)

are available in the git repository at:

  git://git.openembedded.org/openembedded-core-contrib ChenQi/systemd-post-1.6
  http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=ChenQi/systemd-post-1.6

Chen Qi (4):
  cronie: add systemd support
  bind: add systemd support
  ppp: add systemd support
  tcf-agent: add systemd support

 .../bind/bind/generate-rndc-key.sh                 |    7 +++++++
 meta/recipes-connectivity/bind/bind/named.service  |   22 ++++++++++++++++++++
 meta/recipes-connectivity/bind/bind_9.9.5.bb       |   17 ++++++++++++++-
 meta/recipes-connectivity/ppp/ppp/ppp <at> .service     |    9 ++++++++
 meta/recipes-connectivity/ppp/ppp_2.4.6.bb         |    9 ++++++--
 .../tcf-agent/tcf-agent/tcf-agent.service          |   10 +++++++++
 meta/recipes-devtools/tcf-agent/tcf-agent_git.bb   |    8 ++++++-
 meta/recipes-extended/cronie/cronie/crond.service  |   11 ++++++++++
 meta/recipes-extended/cronie/cronie_1.4.11.bb      |   12 ++++++++++-
 9 files changed, 100 insertions(+), 5 deletions(-)
 create mode 100644 meta/recipes-connectivity/bind/bind/generate-rndc-key.sh
 create mode 100644 meta/recipes-connectivity/bind/bind/named.service
(Continue reading)

Burton, Ross | 23 Apr 18:24 2014
Picon

Re: [oe-core][PATCH 2/2] systemd: fix tests when not using gold

(re-adding the list)

On 23 April 2014 17:19, Dan McGregor <danismostlikely@...> wrote:
> Sorry, I should have been more specific. It breaks with Linaro GCC from
> meta-linaro, not the one in oe-core. It works fine with oe-core's gcc.

So arguably this should be in meta-linaro, as it's to fix a problem
with their (presumably, old) toolchain?

Ross
--

-- 
Dan McGregor | 23 Apr 17:01 2014
Picon

[oe-core][PATCH 2/2] systemd: fix tests when not using gold

From: Dan McGregor <dan.mcgregor@...>

Explicitly mark the dummy function as externally visible
so that ld can find the symbol at link time. This is needed
when the DISTRO_FEATURE ld-is-gold is not enabled; systemd
uses -flto anyway.

Signed-off-by: Dan McGregor <dan.mcgregor@...>
---
 meta/recipes-core/systemd/systemd/systemd-lto-fix.patch | 14 ++++++++++++++
 meta/recipes-core/systemd/systemd_211.bb                |  1 +
 2 files changed, 15 insertions(+)
 create mode 100644 meta/recipes-core/systemd/systemd/systemd-lto-fix.patch

diff --git a/meta/recipes-core/systemd/systemd/systemd-lto-fix.patch
b/meta/recipes-core/systemd/systemd/systemd-lto-fix.patch
new file mode 100644
index 0000000..90875e4
--- /dev/null
+++ b/meta/recipes-core/systemd/systemd/systemd-lto-fix.patch
 <at>  <at>  -0,0 +1,14  <at>  <at> 
+diff --git a/src/test/test-udev.c b/src/test/test-udev.c
+index b064744..3753c87 100644
+--- a/src/test/test-udev.c
++++ b/src/test/test-udev.c
+ <at>  <at>  -36,7 +36,8  <at>  <at> 
+ #include "udev.h"
+ #include "udev-util.h"
+
+-void udev_main_log(struct udev *udev, int priority,
(Continue reading)

Dan McGregor | 23 Apr 17:01 2014
Picon

[oe-core][PATCH 1/2] systemd: fix systemd-user pam configuration

From: Dan McGregor <dan.mcgregor@...>

Use common-auth and common-session files instead of system-auth.
system-auth is a Fedora-ism that oe-core doesn't have. This fixes
an issue where the systemd user session manager fails to start.

Signed-off-by: Dan McGregor <dan.mcgregor@...>
---
 .../systemd/systemd/systemd-pam-fix-systemd-user.patch     | 14 ++++++++++++++
 meta/recipes-core/systemd/systemd_211.bb                   |  1 +
 2 files changed, 15 insertions(+)
 create mode 100644
meta/recipes-core/systemd/systemd/systemd-pam-fix-systemd-user.patch

diff --git a/meta/recipes-core/systemd/systemd/systemd-pam-fix-systemd-user.patch
b/meta/recipes-core/systemd/systemd/systemd-pam-fix-systemd-user.patch
new file mode 100644
index 0000000..58614e8
--- /dev/null
+++ b/meta/recipes-core/systemd/systemd/systemd-pam-fix-systemd-user.patch
 <at>  <at>  -0,0 +1,14  <at>  <at> 
+diff --git a/src/login/systemd-user b/src/login/systemd-user
+index 7b57dbf..c0fc793 100644
+--- a/src/login/systemd-user
++++ b/src/login/systemd-user
+ <at>  <at>  -2,7 +2,7  <at>  <at> 
+
+ # Used by systemd when launching systemd user instances.
+
+-account include system-auth
(Continue reading)

Maxin B. John | 23 Apr 14:41 2014

[PATCH] libpng: bump to 1.6.10

From: "Maxin B. John" <maxin.john@...>

1. Fixes CVE-2014-0333
2. There are changes in License checksums. This is due to new
   contributor names being added to LICENSE and png.h file
   contains version of the new release.So, license remains the same.

Signed-off-by: Maxin B. John <maxin.john@...>
---
 .../libpng/{libpng_1.6.8.bb => libpng_1.6.10.bb}             |   10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)
 rename meta/recipes-multimedia/libpng/{libpng_1.6.8.bb => libpng_1.6.10.bb} (61%)

diff --git a/meta/recipes-multimedia/libpng/libpng_1.6.8.bb b/meta/recipes-multimedia/libpng/libpng_1.6.10.bb
similarity index 61%
rename from meta/recipes-multimedia/libpng/libpng_1.6.8.bb
rename to meta/recipes-multimedia/libpng/libpng_1.6.10.bb
index d063495..0f514f8 100644
--- a/meta/recipes-multimedia/libpng/libpng_1.6.8.bb
+++ b/meta/recipes-multimedia/libpng/libpng_1.6.10.bb
 <at>  <at>  -2,9 +2,9  <at>  <at>  SUMMARY = "PNG image format decoding library"
 HOMEPAGE = "http://www.libpng.org/"
 SECTION = "libs"
 LICENSE = "Libpng"
-LIC_FILES_CHKSUM = "file://LICENSE;md5=44bc22578be94b6536c8bdc3a01e5db9 \
-                    file://png.h;endline=15;md5=aa42e53406a5ebb9500bae72fa314b6d \
-                    file://png.h;beginline=209;endline=323;md5=83e13159b5bf0a4d9fb634acbda7cb5b"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=cb7a834ba2891bc30b8577e49963a435 \
+                    file://png.h;endline=15;md5=853b11c4a19ec66decd641efd756bc2c \
+                    file://png.h;beginline=209;endline=323;md5=cface34a7db6b71eaa828fe934951f81"
(Continue reading)

Chen Qi | 23 Apr 11:40 2014

[PATCH 0/4] systemd related fixes post 1.6

This patchset adds systemd unit files for four packages.

The following changes since commit bec37f8b85b6dd1e4e1c1b9b215a7952ca2fc386:

  build-appliance-image: Update to  head revision (2014-04-22 22:53:34 +0100)

are available in the git repository at:

  git://git.openembedded.org/openembedded-core-contrib ChenQi/systemd-post-1.6
  http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=ChenQi/systemd-post-1.6

Chen Qi (4):
  cronie: add systemd support
  bind: add systemd support
  ppp: add systemd support
  tcf-agent: add systemd support

 .../bind/bind/generate-rndc-key.sh                 |    7 +++++++
 meta/recipes-connectivity/bind/bind/named.service  |   22 ++++++++++++++++++++
 meta/recipes-connectivity/bind/bind_9.9.5.bb       |   17 ++++++++++++++-
 meta/recipes-connectivity/ppp/ppp/ppp <at> .service     |    9 ++++++++
 meta/recipes-connectivity/ppp/ppp_2.4.6.bb         |    9 ++++++--
 .../tcf-agent/tcf-agent/tcf-agent.service          |   10 +++++++++
 meta/recipes-devtools/tcf-agent/tcf-agent_git.bb   |    8 ++++++-
 meta/recipes-extended/cronie/cronie/crond.service  |   11 ++++++++++
 meta/recipes-extended/cronie/cronie_1.4.11.bb      |   12 ++++++++++-
 9 files changed, 100 insertions(+), 5 deletions(-)
 create mode 100644 meta/recipes-connectivity/bind/bind/generate-rndc-key.sh
 create mode 100644 meta/recipes-connectivity/bind/bind/named.service
 create mode 100644 meta/recipes-connectivity/ppp/ppp/ppp <at> .service
(Continue reading)

Stoicescu, CorneliuX | 23 Apr 11:26 2014
Picon

oe-selftest developer oriented improvements

Hello,

During the 1.6 development/testing cycle we introduced and used oe-selftest more and more for QA purposes
to identify various issues in the master branch. For those who don't know yet what is oe-selftest, it is a
python unit test based testing framework designed to simulate poky external usage patterns. What we
basically do is translate test case steps into python classes and methods. This is useful both in reducing
QA workload and the coverage of our tests. For more information please visit the oe-selftest wiki page:
https://wiki.yoctoproject.org/wiki/Oe-selftest 

What we would like oe-selftest to be useful with as well is helping developers quickly test their patches
before submission. With this in mind, we came up with some ideas but we also encourage everyone to
contribute with theirs.

Test suites can be created from existing automated tests and accessed using command-line options. For
example, using 'oe-selftest --test-suite type=recipe target=man' would test the recipe man and
'oe-selftest --test-suite type=class target=buildhistory' would test the buildhistory class.

1)   Testing recipes updates or new recipes

Even though we cannot test every single scenario or the functionality of a recipe, we could create a test
suite that would:
- build the recipe with all major architectures(qemux86, qemux86-64, qemuarm, qemuppc, qemumips)
- rebuild the recipe from sstate(with or without a sstate file for the recipe)
- perform cleaning operations on the recipe(cleansstate)
- force all major tasks on the recipe (bitbake -C <task> <recipe>)
- selectively use each combination of .bbappend files with the recipe; all the combinations should not
break the recipe build.
- we could also create mini test suites just for some of these tests like testing only the rebuild from sstate.
(any experience from common recipe build fails can be helpful here)

(Continue reading)

Christian Charreyre | 23 Apr 10:41 2014
Picon

[PATCH] tree: new recipe for version 1.6.0

This patch creates the recipe for the command tree, which is a recursive
directory listing command that produces a depth indented listing of files,
which is colorized ala dircolors if the LS_COLORS environment variable is
set and output is to tty

Signed-off-by: Christian Charreyre <christian.charreyre@...>
---
 .../tree/tree/0001-adapt-Makefile.patch            |   44 ++++++++++++++++++++
 meta/recipes-support/tree/tree_1.6.0.bb |   15 +++++++
 2 files changed, 59 insertions(+)
 create mode 100644 meta/recipes-support/tree/tree/0001-adapt-Makefile.patch
 create mode 100644 meta/recipes-support/tree/tree_1.6.0.bb

diff --git a/meta/recipes-support/tree/tree/0001-adapt-Makefile.patch b/meta/recipes-support/tree/tree/0001-adapt-Makefile.patch
new file mode 100644
index 0000000..bcc19c9
--- /dev/null
+++ b/meta/recipes-support/tree/tree/0001-adapt-Makefile.patch
 <at>  <at>  -0,0 +1,44  <at>  <at> 
+Adapt Makefile to cross compilation and tool environment
+
+Index: tree-1.6.0/Makefile
+===================================================================
+--- tree-1.6.0.orig/Makefile	2011-06-24 16:25:27.000000000 +0200
++++ tree-1.6.0/Makefile	2014-04-22 16:53:14.817331834 +0200
+ <at>  <at>  -16,23 +16,23  <at>  <at> 
+ # along with this program; if not, write to the Free Software
+ # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+ 
+-prefix = /usr
(Continue reading)

Saul Wold | 23 Apr 01:49 2014
Picon

[PATCH 00/10] Package Updates post 1.6

Richard,

Here is a batch of patches to start off the post 1.6 package
update season!

Sau!

The following changes since commit 90a955761db4724f0222527a129a3904d6d8aa6e:

  scripts/send-error-report: use a real server as the default (2014-04-19 11:04:05 +0100)

are available in the git repository at:

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

Saul Wold (10):
  help2man update to 1.44.1
  cups: update to 1.7.2
  lsbinitscripts: update to 9.53
  man-pages: update to 3.64
  mc: update to 4.8.12
  msmtp: update to 1.4.32
  libxkbcommon: update to 0.4.1
  util-macros: update to 1.19.0
  sqlite3: Update to 3080403
  libnl: update to 3.2.24

 ...-native_1.44.1.bb => help2man-native_1.45.1.bb} |  4 +--
 .../cups/{cups_1.7.1.bb => cups_1.7.2.bb}          |  4 +--
(Continue reading)

Saul Wold | 23 Apr 01:42 2014
Picon

[PATCH] report-error: Add posting in the public note

Signed-off-by: Saul Wold <sgw@...>
---
 meta/classes/report-error.bbclass | 1 +
 scripts/send-error-report         | 3 ++-
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/meta/classes/report-error.bbclass b/meta/classes/report-error.bbclass
index 479b38d..15adc97 100644
--- a/meta/classes/report-error.bbclass
+++ b/meta/classes/report-error.bbclass
 <at>  <at>  -60,6 +60,7  <at>  <at>  python errorreport_handler () {
                 filename = "error_report_" + e.data.getVar("BUILDNAME")+".txt"
                 datafile = errorreport_savedata(e, jsondata, filename)
                 bb.note("The errors of this build are stored in: %s. You can send the errors to an upstream server by
running: send-error-report %s [server]" % (datafile, datafile))
+                bb.note("The contents of these logs will be posted in public if you use the above script. Please ensure you
remove any identifying or propriety information before sending.")
 }

 addhandler errorreport_handler
diff --git a/scripts/send-error-report b/scripts/send-error-report
index 3d1f7a4..48d983b 100755
--- a/scripts/send-error-report
+++ b/scripts/send-error-report
 <at>  <at>  -97,8 +97,9  <at>  <at>  def sendData(json_file, server):

 if __name__ == '__main__':
     print ("\nSends an error report (if the report-error class was enabled) to a remote server.")
+    print("\nThis scripts sends the contents of the error to a public upstream server.")
+    print("\nPlease remove any identifying information before sending.")
(Continue reading)

Joe Slater | 22 Apr 20:00 2014

[V2][PATCH 1/1] pixbufcache: add error exit in pixbufcache_sstate_postinst

In order to attempt recovery of a failed populate_sysroot_setscene,
we need to explicitly error exit an SSTATEPOSTINSTFUNC.  So, we test
the return value of gdk-pixbuf-query-loaders.

Signed-off-by: Joe Slater <jslater@...>
---
 meta/classes/pixbufcache.bbclass |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/meta/classes/pixbufcache.bbclass b/meta/classes/pixbufcache.bbclass
index 922174d..b8d75bd 100644
--- a/meta/classes/pixbufcache.bbclass
+++ b/meta/classes/pixbufcache.bbclass
 <at>  <at>  -46,14 +46,16  <at>  <at>  python populate_packages_append() {
 }

 #
-# Add a sstate postinst hook to update the cache for native packages
+# Add an sstate postinst hook to update the cache for native packages.
+# An error exit during populate_sysroot_setscene allows bitbake to
+# try to recover by re-building the package.
 #
 SSTATEPOSTINSTFUNCS_append_class-native = " pixbufcache_sstate_postinst"

 pixbufcache_sstate_postinst() {
 	if [ "${BB_CURRENTTASK}" = "populate_sysroot" -o "${BB_CURRENTTASK}" =
"populate_sysroot_setscene" ]
 	then
-		GDK_PIXBUF_FATAL_LOADER=1 gdk-pixbuf-query-loaders --update-cache
+		GDK_PIXBUF_FATAL_LOADER=1 gdk-pixbuf-query-loaders --update-cache || exit 1
(Continue reading)


Gmane