[OE-core] [PATCH] scripts: analyze_patch: Analyze patch and suggest tests.

2015-11-20 Thread Daniel Istrate
[YOCTO #8647] - Script to analyse what areas a patch changes
and what tests need running

This script will analyze files modified by a commit and
attempt to suggest what tests to run.
It is somewhat dependent of the 'snakefood' tool to determine
the import relationship between files. If this pkg is missing
a backup file will be used instead: deps.txt

Usage: analyze_patch --revision 
Example: analyze_patch --revision 351c69a

Revision: 351c69a

Modified files:
meta/recipes-support/sqlite/files/0001-using-the-dynamic-library.patch
meta/recipes-support/sqlite/sqlite3_3.8.10.2.bb
meta/recipes-support/sqlite/sqlite3_3.9.0.bb

Suggested tests:
Rebuild: sqlite3

Signed-off-by: Daniel Istrate 
---
 scripts/analyze_patch | 300 
 scripts/deps.txt  | 628 ++
 2 files changed, 928 insertions(+)
 create mode 100755 scripts/analyze_patch
 create mode 100644 scripts/deps.txt

diff --git a/scripts/analyze_patch b/scripts/analyze_patch
new file mode 100755
index 000..1b6609b
--- /dev/null
+++ b/scripts/analyze_patch
@@ -0,0 +1,300 @@
+#!/usr/bin/env python
+
+# Description: This will analyze the files modified by a commit and attempt to 
suggest what tests to run.
+#  It uses an adjacent file 'deps.txt' that was generated by 
'snakefood' tool:
+#  sfood  | grep -v /usr/lib/python | grep -v 
/usr/share/pyshared/ |
+#  grep -v None | grep ".py')," | grep ".py\'))" > deps.txt
+#  This file has to be edited further: remove the  and 
replace  "', '" with '/'.
+#  In the end you should have something like this: a matrix with 2 
columns, which represent
+#  elements from the left import elements from the right.
+# (('bitbake/lib/bb/build.py'), ('bitbake/lib/bb/event.py'))
+# (('bitbake/lib/bb/build.py'), ('bitbake/lib/bb/msg.py'))
+#
+# How to use it: analyze_patch --revision 
+#analyze_patch -r 2d1071e
+# Notes: if revision is not provided, will default to HEAD
+# Author: Daniel Istrate 
+
+import argparse
+import os
+import glob
+import ast
+import re
+from subprocess import PIPE, Popen, STDOUT
+
+parser = argparse.ArgumentParser()
+parser.add_argument('-r', '--revision', help=' changes to analyze.')
+args = parser.parse_args()
+
+revision = args.revision or 'HEAD'
+
+this_file_path = os.path.dirname(os.path.abspath(__file__))
+poky_dir = os.path.abspath(os.path.join(this_file_path, os.pardir))
+# Move into the the poky dir
+os.chdir(poky_dir)
+
+# Where are the available tests located
+bb_test_dir = 'bitbake/lib/bb/tests/'
+selftest_dir = 'meta/lib/oeqa/selftest/'
+runtime_dir = 'meta/lib/oeqa/runtime/'
+
+RETOK = 0
+
+
+def run_cmd(cmd, ignore_err=False):
+"""
+Run cmd in bash shell
+:param   cmd: command to be ran.
+:param   ignore_err: redirect stderr to /dev/null, otherwise redirect 
stderr to stdout
+:return: tuple containing exit code & output of the cmd
+"""
+DEVNULL = open(os.devnull, 'w')
+
+if ignore_err:
+proc = Popen(args=cmd, stdout=PIPE, stderr=DEVNULL, shell=True, 
executable='/bin/bash')
+else:
+proc = Popen(args=cmd, stdout=PIPE, stderr=STDOUT, shell=True, 
executable='/bin/bash')
+retval = proc.communicate()[0]
+retcode = proc.returncode
+
+return retcode, retval
+
+
+def get_modified_files(rev=revision):
+"""
+Determine modified files by a commit
+:param   rev: the revision number to determine modified files for.
+:return: a list of modified files
+"""
+cmd = 'git diff-tree --no-commit-id --name-only -r ' + rev
+retcode, retval = run_cmd(cmd)
+
+if retcode != RETOK:
+return retcode, retval
+
+retlist = retval.split('\n')
+retlist.remove('')
+
+return retlist
+
+
+def get_list_of_testuites(test_dir):
+"""
+Looks for .py files in test_dir
+:param test_dir: directory containing (hopefully) test suites
+:return: list of test suites
+"""
+test_suites = []
+test_list = glob.glob(test_dir + '*.py')
+
+# trim the .py extension and the path to each testsuite
+for ts in test_list:
+test_suites.append(ts.replace(test_dir, '').replace('.py', ''))
+
+# remove __init__ from test_suites
+try:
+test_suites.remove('__init__')
+except:
+pass
+
+return test_suites
+
+
+def get_modules_dependencies(mfile):
+"""
+Get modules dependencies from poky.
+It uses 'snakefood' pkg (please make sure it is installed)
+In case 'snakefood' is not installed a backup file will be used instead.
+:return: a list of all modules deps
+"""
+
+cmd = 'sfood %s | grep -v /usr/lib/python | grep -v /usr/share/pyshared/ | 
' \
+  'grep -v None | grep ".py\')," | grep ".py\'))"' % poky_dir
+
+retcode, retval = run_cmd(cmd)
+
+if retcode != 0:
+# 

[OE-core] [PATCH 6/9] package_regex.inc: split sourceforge related entries to their own recipes

2015-11-20 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin 
---
 meta/conf/distro/include/package_regex.inc | 43 --
 .../console-tools/console-tools_0.3.2.bb   |  3 ++
 meta/recipes-core/libcgroup/libcgroup_0.41.bb  |  2 +
 meta/recipes-core/sysfsutils/sysfsutils_2.1.0.bb   |  4 ++
 .../cdrtools/cdrtools-native_3.01a31.bb|  2 +
 .../docbook-dsssl-stylesheets-native_1.79.bb   |  3 ++
 .../docbook-xml/docbook-xsl-stylesheets_1.78.1.bb  |  3 ++
 meta/recipes-devtools/expect/expect_5.45.bb|  3 ++
 meta/recipes-devtools/fdisk/gptfdisk_1.0.0.bb  |  3 ++
 .../openjade/openjade-native_1.3.2.bb  |  2 +
 meta/recipes-devtools/python/python-scons_2.3.6.bb |  3 ++
 meta/recipes-extended/cracklib/cracklib_2.9.5.bb   |  3 ++
 meta/recipes-extended/lsb/lsb_4.1.bb   |  4 ++
 meta/recipes-extended/quota/quota_4.02.bb  |  3 ++
 meta/recipes-extended/watchdog/watchdog_5.14.bb|  3 ++
 meta/recipes-graphics/glew/glew_1.12.0.bb  |  3 ++
 .../menu-cache/menu-cache_1.0.0.bb |  2 +
 meta/recipes-graphics/x11vnc/x11vnc_0.9.13.bb  |  3 ++
 meta/recipes-kernel/libpfm/libpfm4_4.6.0.bb|  2 +
 meta/recipes-lsb4/libpng/libpng12_1.2.53.bb|  3 ++
 meta/recipes-multimedia/liba52/liba52_0.7.4.bb |  3 ++
 meta/recipes-multimedia/mpeg2dec/mpeg2dec_0.4.1.bb |  2 +
 meta/recipes-sato/pcmanfm/pcmanfm_1.2.3.bb |  2 +
 meta/recipes-support/libpcre/libpcre_8.37.bb   |  3 ++
 meta/recipes-support/libusb/libusb-compat_0.1.5.bb |  3 ++
 25 files changed, 67 insertions(+), 43 deletions(-)

diff --git a/meta/conf/distro/include/package_regex.inc 
b/meta/conf/distro/include/package_regex.inc
index 7888260..7db8d57 100644
--- a/meta/conf/distro/include/package_regex.inc
+++ b/meta/conf/distro/include/package_regex.inc
@@ -120,49 +120,6 @@ REGEX_pn-nativesdk-qt4-tools = "(?P\d+(\.\d+)+)/"
 REGEX_URI_pn-qt4-native = "http://download.qt.io/official_releases/qt/4.8/;
 REGEX_pn-qt4-native = "(?P\d+(\.\d+)+)/"
 
-# Sourceforge sites
-REGEX_URI_pn-python-scons = 
"http://sourceforge.net/projects/scons/files/scons/;
-REGEX_pn-python-scons = "/scons/${COMMON_REGEX}/"
-REGEX_URI_pn-expect = "http://sourceforge.net/projects/expect/files/Expect/;
-REGEX_pn-expect = "/Expect/${COMMON_REGEX}/"
-REGEX_URI_pn-docbook-xsl-stylesheets = 
"http://sourceforge.net/projects/docbook/files/docbook-xsl/;
-REGEX_pn-docbook-xsl-stylesheets = "/docbook-xsl/${COMMON_REGEX}/"
-REGEX_URI_pn-glew = "http://sourceforge.net/projects/glew/files/glew;
-REGEX_pn-glew = "/glew/${COMMON_REGEX}/"
-REGEX_URI_pn-menu-cache = 
"http://sourceforge.net/projects/lxde/files/menu-cache/1.0/;
-REGEX_URI_pn-x11vnc = 
"http://sourceforge.net/projects/libvncserver/files/x11vnc/;
-REGEX_pn-x11vnc = "/x11vnc/${COMMON_REGEX}/"
-REGEX_URI_pn-quota = 
"http://sourceforge.net/projects/linuxquota/files/quota-tools/;
-REGEX_pn-quota = "/quota-tools/${COMMON_REGEX}/"
-REGEX_URI_pn-lsb = "http://sourceforge.net/projects/lsb/files/lsb_release/;
-REGEX_pn-lsb = "/lsb_release/${COMMON_REGEX}/"
-REGEX_URI_pn-libpcre = "http://sourceforge.net/projects/pcre/files/pcre/;
-REGEX_pn-libpcre = "/pcre/${COMMON_REGEX}/"
-REGEX_URI_pn-libusb-compat = 
"http://sourceforge.net/projects/libusb/files/libusb-compat-0.1/;
-REGEX_pn-libusb-compat = "/libusb-compat-${COMMON_REGEX}/$"
-REGEX_URI_pn-sysfsutils = 
"http://sourceforge.net/projects/linux-diag/files/sysfsutils/;
-REGEX_pn-sysfsutils = "/sysfsutils/${COMMON_REGEX}/"
-REGEX_URI_pn-console-tools = 
"http://sourceforge.net/projects/lct/files/console-tools-devel/;
-REGEX_pn-console-tools = "/console-tools-devel/(?P(\d\d?\.)+\d\d?)/"
-REGEX_URI_pn-watchdog = 
"http://sourceforge.net/projects/watchdog/files/watchdog/;
-REGEX_pn-watchdog = "/watchdog/${COMMON_REGEX}/"
-REGEX_URI_pn-cracklib = 
"http://sourceforge.net/projects/cracklib/files/cracklib/;
-REGEX_pn-cracklib = "/cracklib/${COMMON_REGEX}/"
-REGEX_URI_pn-gptfdisk = 
"http://sourceforge.net/projects/gptfdisk/files/gptfdisk/;
-REGEX_pn-gptfdisk = "/gptfdisk/${COMMON_REGEX}/"
-REGEX_URI_pn-libpng12 = 
"http://sourceforge.net/projects/libpng/files/libpng12/;
-REGEX_pn-libpng12 = "/libpng12/${COMMON_REGEX}/"
-REGEX_URI_pn-docbook-dsssl-stylesheets = 
"http://sourceforge.net/projects/docbook/files/docbook-dsssl/;
-REGEX_pn-docbook-dsssl-stylesheets = "/docbook-dsssl/${COMMON_REGEX}/"
-
-REGEX_URI_pn-openjade = "http://openjade.sourceforge.net/download.html;
-REGEX_URI_pn-libpfm4 = 
"http://sourceforge.net/projects/perfmon2/files/libpfm4/;
-REGEX_URI_pn-liba52 = "http://liba52.sourceforge.net/downloads.html;
-REGEX_URI_pn-mpeg2dec = "http://libmpeg2.sourceforge.net/downloads.html;
-REGEX_URI_pn-pcmanfm = 
"http://sourceforge.net/projects/pcmanfm/files/PCManFM%20%2B%20Libfm%20%28tarball%20release%29/PCManFM/;
-REGEX_URI_pn-libcgroup = 
"http://sourceforge.net/projects/libcg/files/libcgroup/;
-REGEX_URI_pn-cdrtools = 

[OE-core] [PATCH 7/9] package_regex.inc: split entries which blacklist specific versions to their recipes

2015-11-20 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin 
---
 meta/conf/distro/include/package_regex.inc | 35 --
 .../docbook-sgml-dtd-3.1-native_3.1.bb |  3 ++
 .../docbook-sgml-dtd-4.1-native_4.1.bb |  3 ++
 meta/recipes-devtools/gcc/gcc-4.9.inc  |  2 ++
 meta/recipes-devtools/python/python.inc|  4 +++
 .../python/python3-native_3.4.3.bb |  3 ++
 meta/recipes-devtools/python/python3_3.4.3.bb  |  3 ++
 meta/recipes-extended/unzip/unzip_6.0.bb   |  4 +++
 meta/recipes-extended/zip/zip_3.0.bb   |  3 ++
 meta/recipes-multimedia/libtiff/tiff_4.0.4.bb  |  3 ++
 meta/recipes-qt/qt4/nativesdk-qt4-tools.inc|  3 ++
 meta/recipes-qt/qt4/qt4-4.8.7.inc  |  3 ++
 meta/recipes-qt/qt4/qt4-native.inc |  4 +++
 meta/recipes-support/db/db_6.0.30.bb   |  4 +++
 14 files changed, 42 insertions(+), 35 deletions(-)

diff --git a/meta/conf/distro/include/package_regex.inc 
b/meta/conf/distro/include/package_regex.inc
index 7db8d57..beed994 100644
--- a/meta/conf/distro/include/package_regex.inc
+++ b/meta/conf/distro/include/package_regex.inc
@@ -46,25 +46,9 @@ REGEX_pn-cmake = "cmake-(?P\d+(\.\d+)+)\.tar"
 REGEX_pn-libsdl = "SDL-(?P\d+(\.\d+)+)\.tar"
 REGEX_pn-libxslt = "libxslt-(?P\d+(\.\d+)+)\.tar"
 
-# Exclude NC versions which lack AES encryption
-REGEX_pn-db = "db-(?P\d+\.\d+(\.\d+)?).tar"
-
 REGEX_URI_pn-autogen = "http://ftp.gnu.org/gnu/autogen/;
 REGEX_pn-autogen = "rel(?P\d+(\.\d+)+)/"
 
-# python recipe is actually python 2.x
-# also, exclude pre-releases for both python 2.x and 3.x
-REGEX_pn-python = "[Pp]ython-(?P2(\.\d+)+).tar"
-REGEX_pn-python3 = "[Pp]ython-(?P\d+(\.\d+)+).tar"
-
-# exclude betas
-REGEX_pn-tiff = "tiff-(?P\d+(\.\d+)+).tar"
-
-# exclude version 5.5.2 which triggers a false positive
-REGEX_pn-unzip = "unzip(?P(?!552).+)\.tgz"
-# similar for zip
-REGEX_pn-zip = "^zip(?P(?!232).+)\.tgz"
-
 # Isn't possible to download with the default URI web server returns
 # (403, 404, 550)
 REGEX_URI_pn-dosfstools = "https://github.com/dosfstools/dosfstools/releases;
@@ -104,22 +88,3 @@ REGEX_URI_pn-libnfsidmap = 
"http://www.citi.umich.edu/projects/nfsv4/linux/libnf
 REGEX_URI_pn-mpfr = "http://www.mpfr.org/mpfr-current/;
 REGEX_URI_pn-nss = 
"https://developer.mozilla.org/en-US/docs/Mozilla/Projects/NSS/NSS_Releases;
 REGEX_pn-nss = "NSS_(?P.+)_release_notes"
-
-REGEX_URI_pn-docbook-sgml-dtd-3.1 = "http://www.docbook.org/sgml/;
-REGEX_pn-docbook-sgml-dtd-3.1 = "(?P3\..+)/"
-REGEX_URI_pn-docbook-sgml-dtd-4.1 = "http://www.docbook.org/sgml/;
-REGEX_pn-docbook-sgml-dtd-4.1 = "(?P4\.1(\.\d+)*)/"
-
-# Qt recipes should be kept at 4.x
-REGEX_URI_pn-qt4-embedded = "http://download.qt.io/official_releases/qt/4.8/;
-REGEX_pn-qt4-embedded = "(?P\d+(\.\d+)+)/"
-REGEX_URI_pn-qt4-x11-free = "http://download.qt.io/official_releases/qt/4.8/;
-REGEX_pn-qt4-x11-free = "(?P\d+(\.\d+)+)/"
-REGEX_URI_pn-nativesdk-qt4-tools = 
"http://download.qt.io/official_releases/qt/4.8/;
-REGEX_pn-nativesdk-qt4-tools = "(?P\d+(\.\d+)+)/"
-REGEX_URI_pn-qt4-native = "http://download.qt.io/official_releases/qt/4.8/;
-REGEX_pn-qt4-native = "(?P\d+(\.\d+)+)/"
-
-# Keep old gcc versions at their major versions
-REGEX_pn-gcc-source-4.9.3 = "gcc-(?P4\.9\.\d+).tar"
-REGEX_pn-gcc-source-4.8.4 = "gcc-(?P4\.8\.\d+).tar"
diff --git 
a/meta/recipes-devtools/docbook-sgml-dtd/docbook-sgml-dtd-3.1-native_3.1.bb 
b/meta/recipes-devtools/docbook-sgml-dtd/docbook-sgml-dtd-3.1-native_3.1.bb
index a7df4f9..83d60a0 100644
--- a/meta/recipes-devtools/docbook-sgml-dtd/docbook-sgml-dtd-3.1-native_3.1.bb
+++ b/meta/recipes-devtools/docbook-sgml-dtd/docbook-sgml-dtd-3.1-native_3.1.bb
@@ -16,6 +16,9 @@ SRC_URI = "http://www.docbook.org/sgml/3.1/docbk31.zip \
 SRC_URI[md5sum] = "432749c0c806dbae81c8bcb70da3b5d3"
 SRC_URI[sha256sum] = 
"20261d2771b9a052abfa3d8fab1aa62be05791a010281c566f9073bf0e644538"
 
+REGEX_URI = "http://www.docbook.org/sgml/;
+REGEX = "(?P3\..+)/"
+
 do_compile() {
# Refer to 
http://www.linuxfromscratch.org/blfs/view/stable/pst/sgml-dtd-3.html
# for details.
diff --git 
a/meta/recipes-devtools/docbook-sgml-dtd/docbook-sgml-dtd-4.1-native_4.1.bb 
b/meta/recipes-devtools/docbook-sgml-dtd/docbook-sgml-dtd-4.1-native_4.1.bb
index 88c9396..77938e1 100644
--- a/meta/recipes-devtools/docbook-sgml-dtd/docbook-sgml-dtd-4.1-native_4.1.bb
+++ b/meta/recipes-devtools/docbook-sgml-dtd/docbook-sgml-dtd-4.1-native_4.1.bb
@@ -16,6 +16,9 @@ SRC_URI = "http://docbook.org/sgml/4.1/docbk41.zip \
 SRC_URI[md5sum] = "489f6ff2a2173eb1e14216c10533ede2"
 SRC_URI[sha256sum] = 
"deaafcf0a3677692e7ad4412c0e41c1db3e9da6cdcdb3dd32b2cc1f9c97d6311"
 
+REGEX_URI = "http://www.docbook.org/sgml/;
+REGEX = "(?P4\.1(\.\d+)*)/"
+
 do_compile() {
# Refer to 
http://www.linuxfromscratch.org/blfs/view/stable/pst/sgml-dtd.html
# for details.
diff --git 

[OE-core] [PATCH 2/9] package_regex.inc: split entries with odd-even versioning into their own recipes

2015-11-20 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin 
---
 meta/classes/upstream-version-is-even.bbclass  |  5 +++
 meta/conf/distro/include/package_regex.inc | 50 --
 meta/recipes-core/dbus/dbus-test_1.8.20.bb |  2 +-
 meta/recipes-core/dbus/dbus.inc|  2 +-
 meta/recipes-core/glib-2.0/glib.inc|  2 +-
 .../glib-networking/glib-networking_2.44.0.bb  |  2 +-
 meta/recipes-devtools/perl/perl.inc|  2 +
 meta/recipes-devtools/vala/vala.inc|  2 +-
 meta/recipes-gnome/epiphany/epiphany_3.16.3.bb |  2 +-
 meta/recipes-gnome/gdk-pixbuf/gdk-pixbuf_2.30.8.bb |  2 +-
 .../gnome-desktop/gnome-desktop3_3.16.2.bb |  2 +-
 .../gnome/adwaita-icon-theme_3.16.2.1.bb   |  2 +-
 meta/recipes-gnome/gtk+/gtk+.inc   |  4 ++
 meta/recipes-gnome/gtk+/gtk+3.inc  |  2 +-
 .../gtk-engines/gtk-engines_2.20.2.bb  |  4 ++
 meta/recipes-gnome/librsvg/librsvg_2.40.10.bb  |  2 +-
 meta/recipes-graphics/clutter/clutter-1.0.inc  |  2 +-
 meta/recipes-graphics/clutter/clutter-gst-3.0.inc  |  2 +-
 meta/recipes-graphics/clutter/clutter-gtk-1.0.inc  |  2 +-
 meta/recipes-graphics/cogl/cogl-1.0.inc|  2 +-
 meta/recipes-graphics/pango/pango.inc  |  2 +-
 .../gstreamer/gstreamer1.0-libav.inc   |  2 +-
 .../gstreamer/gstreamer1.0-plugins.inc |  2 +-
 .../gstreamer/gstreamer1.0-rtsp-server.inc |  2 +-
 meta/recipes-multimedia/gstreamer/gstreamer1.0.inc |  2 +-
 meta/recipes-sato/webkit/webkitgtk_2.8.5.bb|  2 +-
 meta/recipes-support/atk/at-spi2-atk_2.16.0.bb |  2 +-
 meta/recipes-support/atk/at-spi2-core_2.16.0.bb|  2 +-
 meta/recipes-support/atk/atk_2.16.0.bb |  2 +-
 meta/recipes-support/libsoup/libsoup-2.4_2.50.0.bb |  2 +-
 meta/recipes-support/p11-kit/p11-kit_0.22.1.bb |  2 +-
 meta/recipes-support/vte/vte.inc   |  2 +-
 32 files changed, 42 insertions(+), 77 deletions(-)
 create mode 100644 meta/classes/upstream-version-is-even.bbclass

diff --git a/meta/classes/upstream-version-is-even.bbclass 
b/meta/classes/upstream-version-is-even.bbclass
new file mode 100644
index 000..21d844e
--- /dev/null
+++ b/meta/classes/upstream-version-is-even.bbclass
@@ -0,0 +1,5 @@
+# This class ensures that the upstream version check only 
+# accepts even minor versions (i.e. 3.0.x, 3.2.x, 3.4.x, etc.)
+# This scheme is used by Gnome and a number of other projects
+# to signify stable releases vs development releases.
+REGEX = "(?P2\.([0-8]*[02468])+(\.\d+)+)"
diff --git a/meta/conf/distro/include/package_regex.inc 
b/meta/conf/distro/include/package_regex.inc
index 0035586..2216b41 100644
--- a/meta/conf/distro/include/package_regex.inc
+++ b/meta/conf/distro/include/package_regex.inc
@@ -208,56 +208,6 @@ GITTAGREGEX_pn-xinetd = "xinetd-(?P(?!20030122).+)"
 # Blacklist debian-specific tags
 GITTAGREGEX_pn-xf86-video-omapfb = "(?P\d+(\.\d+)+)(?!-)"
 
-# GNOME related.
-#
-# GNOME2_STABLE picks stable releases in the 2.x series (so not 2.90 onwards,
-# which were GNOME 3 betas.
-#
-# GNOME_STABLE picks the latest stable release.
-
-GNOME2_STABLE = "(?P2\.([0-8]*[02468])+(\.\d+)+)"
-GNOME_STABLE = "(?P\d+\.(\d*[02468])+(\.\d+)+)"
-
-REGEX_pn-glib-2.0 = "${GNOME_STABLE}"
-REGEX_pn-atk = "${GNOME_STABLE}"
-REGEX_pn-at-spi2-core = "${GNOME_STABLE}"
-REGEX_pn-at-spi2-atk = "${GNOME_STABLE}"
-REGEX_pn-gdk-pixbuf = "${GNOME_STABLE}"
-REGEX_pn-pango = "${GNOME_STABLE}"
-REGEX_pn-gtk+ = "${GNOME2_STABLE}"
-REGEX_pn-gtk+3 = "${GNOME_STABLE}"
-REGEX_pn-gtk-engines = "${GNOME2_STABLE}"
-REGEX_pn-glib-networking = "${GNOME_STABLE}"
-REGEX_pn-librsvg = "${GNOME_STABLE}"
-REGEX_pn-libsoup-2.4 = "${GNOME_STABLE}"
-REGEX_pn-vala = "${GNOME_STABLE}"
-REGEX_pn-clutter-1.0 = "${GNOME_STABLE}"
-REGEX_pn-clutter-gtk-1.0 = "${GNOME_STABLE}"
-REGEX_pn-clutter-gst-3.0 = "${GNOME_STABLE}"
-REGEX_pn-cogl-1.0 = "${GNOME_STABLE}"
-REGEX_pn-adwaita-icon-theme = "${GNOME_STABLE}"
-REGEX_pn-vte = "${GNOME_STABLE}"
-REGEX_pn-epiphany = "${GNOME_STABLE}"
-REGEX_pn-webkitgtk = "${GNOME_STABLE}"
-REGEX_pn-p11-kit = "${GNOME_STABLE}"
-REGEX_pn-gnome-desktop3 = "${GNOME_STABLE}"
-
-# not GNOME related but uses same even-minor-release-is-stable logic
-REGEX_pn-dbus = "${GNOME_STABLE}"
-REGEX_pn-dbus-test = "${GNOME_STABLE}"
-
-# same logic applies to gstreamer releases
-REGEX_pn-gstreamer1.0 = "${GNOME_STABLE}"
-REGEX_pn-gstreamer1.0-libav = "${GNOME_STABLE}"
-REGEX_pn-gstreamer1.0-plugins-bad = "${GNOME_STABLE}"
-REGEX_pn-gstreamer1.0-plugins-base = "${GNOME_STABLE}"
-REGEX_pn-gstreamer1.0-plugins-good = "${GNOME_STABLE}"
-REGEX_pn-gstreamer1.0-plugins-ugly = "${GNOME_STABLE}"
-REGEX_pn-gstreamer1.0-rtsp-server = "${GNOME_STABLE}"
-
-# and perl
-REGEX_pn-perl = "${GNOME_STABLE}"
-
 # Keep old gcc versions at their major versions
 REGEX_pn-gcc-source-4.9.3 = "gcc-(?P4\.9\.\d+).tar"
 

[OE-core] [PATCH 4/9] package_regex.inc: split Debian-related entries into their own recipes

2015-11-20 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin 
---
 meta/conf/distro/include/package_regex.inc  | 17 -
 meta/recipes-bsp/apmd/apmd_3.2.2-15.bb  |  4 
 meta/recipes-connectivity/resolvconf/resolvconf_1.77.bb |  4 
 meta/recipes-core/base-passwd/base-passwd_3.5.29.bb |  4 
 meta/recipes-devtools/apt/apt.inc   |  4 
 meta/recipes-extended/blktool/blktool_4-7.bb|  4 
 meta/recipes-extended/mailx/mailx_12.5-5.bb |  4 
 meta/recipes-extended/net-tools/net-tools_1.60-26.bb|  8 
 8 files changed, 32 insertions(+), 17 deletions(-)

diff --git a/meta/conf/distro/include/package_regex.inc 
b/meta/conf/distro/include/package_regex.inc
index 2eaaca4..d55f5c8 100644
--- a/meta/conf/distro/include/package_regex.inc
+++ b/meta/conf/distro/include/package_regex.inc
@@ -185,20 +185,3 @@ REGEX_URI_pn-cdrtools = 
"http://sourceforge.net/projects/cdrtools/files/alpha/;
 # Keep old gcc versions at their major versions
 REGEX_pn-gcc-source-4.9.3 = "gcc-(?P4\.9\.\d+).tar"
 REGEX_pn-gcc-source-4.8.4 = "gcc-(?P4\.8\.\d+).tar"
-
-# these packages are taken from snapshots.debian.org; that source is static 
and goes stale
-# so we check the latest upstream from a directory that does get updated
-REGEX_URI_pn-apt = "${DEBIAN_MIRROR}/main/a/apt/"
-REGEX_URI_pn-resolvconf = "${DEBIAN_MIRROR}/main/r/resolvconf/"
-REGEX_URI_pn-net-tools = "${DEBIAN_MIRROR}/main/n/net-tools/"
-
-# same for packages from launchpad
-REGEX_URI_pn-base-passwd = "${DEBIAN_MIRROR}/main/b/base-passwd/"
-
-# for these packages we're mostly interested in tracking debian patches,
-# and not in the upstream version where all development has effectively stopped
-DEBIAN_PATCH_REGEX = 
"(?P((\d+\.*)+)-((\d+\.*)+))\.(diff|debian\.tar)\.(gz|xz)"
-REGEX_pn-net-tools = "${DEBIAN_PATCH_REGEX}"
-REGEX_pn-apmd = "${DEBIAN_PATCH_REGEX}"
-REGEX_pn-blktool = "${DEBIAN_PATCH_REGEX}"
-REGEX_pn-mailx = "${DEBIAN_PATCH_REGEX}"
diff --git a/meta/recipes-bsp/apmd/apmd_3.2.2-15.bb 
b/meta/recipes-bsp/apmd/apmd_3.2.2-15.bb
index ea10526..511d209 100644
--- a/meta/recipes-bsp/apmd/apmd_3.2.2-15.bb
+++ b/meta/recipes-bsp/apmd/apmd_3.2.2-15.bb
@@ -22,6 +22,10 @@ SRC_URI = 
"${DEBIAN_MIRROR}/main/a/apmd/apmd_3.2.2.orig.tar.gz;name=tarball \
 SRC_URI[tarball.md5sum] = "b1e6309e8331e0f4e6efd311c2d97fa8"
 SRC_URI[tarball.sha256sum] = 
"7f7d9f60b7766b852881d40b8ff91d8e39fccb0d1d913102a5c75a2dbb52332d"
 
+# for this package we're mostly interested in tracking debian patches,
+# and not in the upstream version where all development has effectively stopped
+REGEX = "(?P((\d+\.*)+)-((\d+\.*)+))\.(diff|debian\.tar)\.(gz|xz)"
+
 S = "${WORKDIR}/apmd-3.2.2.orig"
 
 inherit update-rc.d systemd
diff --git a/meta/recipes-connectivity/resolvconf/resolvconf_1.77.bb 
b/meta/recipes-connectivity/resolvconf/resolvconf_1.77.bb
index 916b9f2..564354f 100644
--- a/meta/recipes-connectivity/resolvconf/resolvconf_1.77.bb
+++ b/meta/recipes-connectivity/resolvconf/resolvconf_1.77.bb
@@ -19,6 +19,10 @@ SRC_URI = 
"http://snapshot.debian.org/archive/debian/20150511T214718Z/pool/main/
 SRC_URI[md5sum] = "7362d766e47bfc253500f42b30330d9f"
 SRC_URI[sha256sum] = 
"5a6e21e8ba6822a5f93075c8c8fe7977e34780ba551af51930d0b31fdd99ab56"
 
+# the package is taken from snapshots.debian.org; that source is static and 
goes stale
+# so we check the latest upstream from a directory that does get updated
+REGEX_URI = "${DEBIAN_MIRROR}/main/r/resolvconf/"
+
 inherit allarch
 
 do_compile () {
diff --git a/meta/recipes-core/base-passwd/base-passwd_3.5.29.bb 
b/meta/recipes-core/base-passwd/base-passwd_3.5.29.bb
index ac9bd81..26495ba 100644
--- a/meta/recipes-core/base-passwd/base-passwd_3.5.29.bb
+++ b/meta/recipes-core/base-passwd/base-passwd_3.5.29.bb
@@ -17,6 +17,10 @@ SRC_URI = 
"https://launchpad.net/debian/+archive/primary/+files/${BPN}_${PV}.tar
 SRC_URI[md5sum] = "6beccac48083fe8ae5048acd062e5421"
 SRC_URI[sha256sum] = 
"f0b66388b2c8e49c15692439d2bee63bcdd4bbbf7a782c7f64accc55986b6a36"
 
+# the package is taken from launchpad; that source is static and goes stale
+# so we check the latest upstream from a directory that does get updated
+REGEX_URI = "${DEBIAN_MIRROR}/main/b/base-passwd/"
+
 inherit autotools
 
 SSTATEPOSTINSTFUNCS += "base_passwd_sstate_postinst"
diff --git a/meta/recipes-devtools/apt/apt.inc 
b/meta/recipes-devtools/apt/apt.inc
index 3248b9a..0bec5b4 100644
--- a/meta/recipes-devtools/apt/apt.inc
+++ b/meta/recipes-devtools/apt/apt.inc
@@ -16,6 +16,10 @@ SRC_URI[md5sum] = "6505c4297b338adb2087ce87bbc4a276"
 SRC_URI[sha256sum] = 
"3fb1de9598363c416591d49e3c285458e095b035e6c06d5b944a54e15fc9b543"
 LIC_FILES_CHKSUM = "file://COPYING.GPL;md5=0636e73ff0215e8d672dc4c32c317bb3"
 
+# the package is taken from snapshots.debian.org; that source is static and 
goes stale
+# so we check the latest upstream from a directory that does get updated
+REGEX_URI = 

[OE-core] [PATCH 3/9] package_regex.inc: split GITTAGREGEX entries into recipe files

2015-11-20 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin 
---
 meta/conf/distro/include/package_regex.inc | 26 --
 .../glibc/cross-localedef-native_2.22.bb   |  1 +
 meta/recipes-core/glibc/glibc_2.22.bb  |  1 +
 meta/recipes-core/uclibc/uclibc-git.inc|  3 +++
 meta/recipes-devtools/binutils/binutils-2.25.1.inc |  2 ++
 .../bootchart2/bootchart2_0.14.7.bb|  2 ++
 meta/recipes-devtools/file/file_5.24.bb|  3 +++
 meta/recipes-devtools/remake/remake_4.1+dbg-1.1.bb |  1 +
 .../recipes-devtools/sgmlspl/sgmlspl-native_git.bb |  1 +
 meta/recipes-devtools/tcf-agent/tcf-agent_git.bb   |  1 +
 .../chkconfig-alternatives-native_1.3.59.bb|  1 +
 meta/recipes-extended/xinetd/xinetd_2.3.15.bb  |  3 +++
 meta/recipes-graphics/mx/mx-1.0_1.4.7.bb   |  3 +++
 .../xorg-driver/xf86-video-omapfb_git.bb   |  3 +++
 meta/recipes-kernel/linux/linux-yocto.inc  |  2 ++
 15 files changed, 27 insertions(+), 26 deletions(-)

diff --git a/meta/conf/distro/include/package_regex.inc 
b/meta/conf/distro/include/package_regex.inc
index 2216b41..2eaaca4 100644
--- a/meta/conf/distro/include/package_regex.inc
+++ b/meta/conf/distro/include/package_regex.inc
@@ -182,32 +182,6 @@ REGEX_URI_pn-pcmanfm = 
"http://sourceforge.net/projects/pcmanfm/files/PCManFM%20
 REGEX_URI_pn-libcgroup = 
"http://sourceforge.net/projects/libcg/files/libcgroup/;
 REGEX_URI_pn-cdrtools = "http://sourceforge.net/projects/cdrtools/files/alpha/;
 
-# GIT
-GITTAGREGEX_COMMON = "(?P\d+\.\d+(\.\d+)*)"
-
-GITTAGREGEX_pn-linux-yocto = "${GITTAGREGEX_COMMON}"
-GITTAGREGEX_pn-linux-yocto-tiny = "${GITTAGREGEX_COMMON}"
-GITTAGREGEX_pn-linux-yocto-dev = "${GITTAGREGEX_COMMON}"
-GITTAGREGEX_pn-uclibc = "${GITTAGREGEX_COMMON}"
-GITTAGREGEX_pn-glibc = "${GITTAGREGEX_COMMON}"
-GITTAGREGEX_pn-cross-localedef = "${GITTAGREGEX_COMMON}"
-GITTAGREGEX_pn-binutils = "binutils-(?P\d+_(\d_?)*)"
-GITTAGREGEX_pn-bootchart2 = "${GITTAGREGEX_COMMON}"
-GITTAGREGEX_pn-remake = "(?P(\d+(\.\d+)+)\+dbg.+)"
-GITTAGREGEX_pn-tcf-agent = "(?P(\d+(\.\d+)+))"
-GITTAGREGEX_pn-chkconfig-alternatives = "chkconfig-(?P(\d+(\.\d+)+))"
-GITTAGREGEX_pn-sgmlspl = "(?P(\d+(\.\d+)+))"
-
-# Exclude x.99.x versions
-GITTAGREGEX_pn-mx-1.0 = "(?P^\d+(\.(?!99)\d+)+)"
-
-# Blacklist a bogus tag
-GITTAGREGEX_pn-file = "FILE(?P(?!6_23).+)"
-GITTAGREGEX_pn-xinetd = "xinetd-(?P(?!20030122).+)"
-
-# Blacklist debian-specific tags
-GITTAGREGEX_pn-xf86-video-omapfb = "(?P\d+(\.\d+)+)(?!-)"
-
 # Keep old gcc versions at their major versions
 REGEX_pn-gcc-source-4.9.3 = "gcc-(?P4\.9\.\d+).tar"
 REGEX_pn-gcc-source-4.8.4 = "gcc-(?P4\.8\.\d+).tar"
diff --git a/meta/recipes-core/glibc/cross-localedef-native_2.22.bb 
b/meta/recipes-core/glibc/cross-localedef-native_2.22.bb
index 03be9c0..7cfd698 100644
--- a/meta/recipes-core/glibc/cross-localedef-native_2.22.bb
+++ b/meta/recipes-core/glibc/cross-localedef-native_2.22.bb
@@ -16,6 +16,7 @@ FILESEXTRAPATHS =. 
"${FILE_DIRNAME}/${PN}:${FILE_DIRNAME}/glibc:"
 
 SRCBRANCH ?= "release/${PV}/master"
 GLIBC_GIT_URI ?= "git://sourceware.org/git/glibc.git"
+GITTAGREGEX = "(?P\d+\.\d+(\.\d+)*)"
 
 SRC_URI = "${GLIBC_GIT_URI};branch=${SRCBRANCH};name=glibc \

git://github.com/kraj/localedef;branch=master;name=localedef;destsuffix=git/localedef
 \
diff --git a/meta/recipes-core/glibc/glibc_2.22.bb 
b/meta/recipes-core/glibc/glibc_2.22.bb
index 1b23597..947beef 100644
--- a/meta/recipes-core/glibc/glibc_2.22.bb
+++ b/meta/recipes-core/glibc/glibc_2.22.bb
@@ -12,6 +12,7 @@ SRCREV ?= "a34d1c6afc86521d6ad17662a3b5362d8481514c"
 SRCBRANCH ?= "release/${PV}/master"
 
 GLIBC_GIT_URI ?= "git://sourceware.org/git/glibc.git"
+GITTAGREGEX = "(?P\d+\.\d+(\.\d+)*)"
 
 SRC_URI = "${GLIBC_GIT_URI};branch=${SRCBRANCH};name=glibc \

file://0004-Backport-https-sourceware.org-ml-libc-ports-2007-12-.patch \
diff --git a/meta/recipes-core/uclibc/uclibc-git.inc 
b/meta/recipes-core/uclibc/uclibc-git.inc
index dcb616d..958a4ec 100644
--- a/meta/recipes-core/uclibc/uclibc-git.inc
+++ b/meta/recipes-core/uclibc/uclibc-git.inc
@@ -21,3 +21,6 @@ SRC_URI = "git://uclibc.org/uClibc.git;branch=master \
 file://0001-wire-in-syncfs.patch \
 "
 S = "${WORKDIR}/git"
+
+GITTAGREGEX = "(?P\d+\.\d+(\.\d+)*)"
+
diff --git a/meta/recipes-devtools/binutils/binutils-2.25.1.inc 
b/meta/recipes-devtools/binutils/binutils-2.25.1.inc
index f3817fa..6b9a152 100644
--- a/meta/recipes-devtools/binutils/binutils-2.25.1.inc
+++ b/meta/recipes-devtools/binutils/binutils-2.25.1.inc
@@ -16,6 +16,8 @@ def binutils_branch_version(d):
 
 BINUPV = "${@binutils_branch_version(d)}"
 
+GITTAGREGEX = "binutils-(?P\d+_(\d_?)*)"
+
 SRCREV = "2bd25930221dea4bf33c13a89c111514491440e2"
 SRC_URI = "\
  
git://sourceware.org/git/binutils-gdb.git;branch=binutils-${BINUPV}-branch;protocol=git
 \
diff --git a/meta/recipes-devtools/bootchart2/bootchart2_0.14.7.bb 

Re: [OE-core] systemd service vs. update-alternatives (was rsyslog: buggy systemd/ua handling?)

2015-11-20 Thread Steffen Sledz
On 20.11.2015 10:06, ChenQi wrote:
> I sent out a series of patches regarding syslog & systemd some time ago.
> The title is "[OE-core] [PATCH V3 0/4] Fixes for systemd services in systemd".
> Codes regarding update-alternatives and syslog for 'rsyslog' recipe is 
> actually part of the whole fix.
> You could try the patch series to see if they work for you.

I've applied your four patches to our fido based build environment (with a 
little modification because systemd was updated from 216 to 219).

Here are the results of my first tests:

--
(1) busybox-syslog only

Everything seems to be OK.

--
(2) opkg install sysklogd_1.5.1-r0.0_armv5e.ipk

Job for sysklogd.service failed. See "systemctl status sysklogd.service" and 
"journalctl -xe" for details.
Collected errors:
 * pkg_run_script: package "sysklogd" postinst script returned status 1.
 * opkg_configure: sysklogd.postinst returned 1.

# ps aux | grep syslog;ll /etc/systemd/system/*syslog*;ll 
/sbin/syslogd;systemctl status syslog.service;systemctl status 
busybox-syslog.service;systemctl status sysklogd.service
root 24123  0.0  0.1   2256  1528 ?Ss   13:21   0:00 /sbin/syslogd 
-n -C
root 24291  0.0  0.1   2244  1272 pts/0S+   13:22   0:00 grep syslog
lrwxrwxrwx1 root root36 Nov 20 13:21 
/etc/systemd/system/syslog.service -> /lib/systemd/system/sysklogd.service
lrwxrwxrwx1 root root22 Nov 20 13:21 /sbin/syslogd -> 
/sbin/syslogd.sysklogd*
● sysklogd.service - System Logging Service
   Loaded: loaded (/lib/systemd/system/sysklogd.service; enabled; vendor 
preset: enabled)
   Active: failed (Result: exit-code) since Fri 2015-11-20 13:21:57 UTC; 24s ago
  Process: 24278 ExecStart=/sbin/syslogd $SYSLOGD (code=exited, 
status=1/FAILURE)
● busybox-syslog.service - System Logging Service
   Loaded: loaded (/lib/systemd/system/busybox-syslog.service; indirect; vendor 
preset: enabled)
   Active: active (running) since Fri 2015-11-20 13:21:14 UTC; 1min 8s ago
 Main PID: 24123 (syslogd)
   CGroup: /system.slice/busybox-syslog.service
   └─24123 /sbin/syslogd -n -C
● sysklogd.service - System Logging Service
   Loaded: loaded (/lib/systemd/system/sysklogd.service; enabled; vendor 
preset: enabled)
   Active: failed (Result: exit-code) since Fri 2015-11-20 13:21:57 UTC; 24s ago
  Process: 24278 ExecStart=/sbin/syslogd $SYSLOGD (code=exited, 
status=1/FAILURE)

So the symlinks seem to be OK. But why is busybox-syslog.service as running and 
sysklogd.service as failed.

--
(3) opkg remove sysklogd

Warning: Stopping sysklogd.service, but it can still be activated by:
  syslog.socket

Evrything seems to be OK. All symlinks are set right. sysklogd.service is 
reported as not-found

--
(4) opkg install sysklogd_1.5.1-r0.0_armv5e.ipk

This time no postinst error. But two syslogd instances are running and 
busybox-syslog.service is reported as running again.

# ps aux | grep syslog;ll /etc/systemd/system/*syslog*;ll 
/sbin/syslogd;systemctl status syslog.service;systemctl status 
busybox-syslog.service;systemctl status sysklogd.service
root 24123  0.0  0.1   2256  1528 ?Ss   13:21   0:00 /sbin/syslogd 
-n -C
root 24647  0.0  0.1   1788  1420 ?Ss   13:23   0:00 /sbin/syslogd
root 24653  0.0  0.1   2244  1260 pts/0S+   13:24   0:00 grep syslog
lrwxrwxrwx1 root root36 Nov 20 13:23 
/etc/systemd/system/syslog.service -> /lib/systemd/system/sysklogd.service
lrwxrwxrwx1 root root22 Nov 20 13:23 /sbin/syslogd -> 
/sbin/syslogd.sysklogd*
● sysklogd.service - System Logging Service
   Loaded: loaded (/lib/systemd/system/sysklogd.service; enabled; vendor 
preset: enabled)
   Active: active (running) since Fri 2015-11-20 13:23:55 UTC; 12s ago
  Process: 24646 ExecStart=/sbin/syslogd $SYSLOGD (code=exited, 
status=0/SUCCESS)
 Main PID: 24647 (syslogd)
   CGroup: /system.slice/sysklogd.service
   └─24647 /sbin/syslogd
● busybox-syslog.service - System Logging Service
   Loaded: loaded (/lib/systemd/system/busybox-syslog.service; indirect; vendor 
preset: enabled)
   Active: active (running) since Fri 2015-11-20 13:21:14 UTC; 2min 52s ago
 Main PID: 24123 (syslogd)
   CGroup: /system.slice/busybox-syslog.service
   └─24123 /sbin/syslogd -n -C
● sysklogd.service - System Logging Service
   Loaded: loaded (/lib/systemd/system/sysklogd.service; enabled; vendor 
preset: enabled)
   Active: active (running) since Fri 2015-11-20 13:23:55 UTC; 12s ago
  Process: 24646 ExecStart=/sbin/syslogd $SYSLOGD (code=exited, 
status=0/SUCCESS)
 Main PID: 24647 (syslogd)
   CGroup: /system.slice/sysklogd.service
   └─24647 /sbin/syslogd


[OE-core] back port for Fido

2015-11-20 Thread akuster808


can we get the following commit backported to Fido if it is not queued
up already?

bash: Disable custom memory allocator
05594f86366d97975501ffd84886d37f0c72e238

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


[OE-core] [PATCH 8/9] package_regex.inc: split the rest of the entries to their recipes

2015-11-20 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin 
---
 meta/conf/distro/include/package_regex.inc | 68 --
 meta/recipes-bsp/libacpi/libacpi_0.2.bb|  2 +
 meta/recipes-bsp/lrzsz/lrzsz_0.12.20.bb|  2 +
 meta/recipes-connectivity/dhcp/dhcp.inc|  3 +
 .../nfs-utils/libnfsidmap_0.25.bb  |  2 +
 .../wireless-tools/wireless-tools_30.pre9.bb   |  3 +
 .../autogen/autogen-native_5.18.5.bb   |  3 +
 meta/recipes-devtools/chrpath/chrpath_0.16.bb  |  2 +
 meta/recipes-devtools/cmake/cmake.inc  |  2 +
 .../dosfstools/dosfstools_3.0.28.bb|  2 +
 meta/recipes-devtools/intltool/intltool.inc|  3 +
 meta/recipes-devtools/json-c/json-c_0.12.bb|  5 ++
 meta/recipes-devtools/rpm/rpm_5.4.14.bb|  2 +
 meta/recipes-extended/bzip2/bzip2_1.0.6.bb |  2 +
 meta/recipes-extended/cups/cups.inc|  3 +
 .../foomatic/foomatic-filters_4.0.17.bb|  2 +
 meta/recipes-extended/iputils/iputils_s20121221.bb |  2 +
 meta/recipes-extended/less/less_479.bb |  2 +
 meta/recipes-extended/lsof/lsof_4.89.bb|  2 +
 meta/recipes-extended/minicom/minicom_2.7.bb   |  2 +
 meta/recipes-extended/pbzip2/pbzip2_1.1.12.bb  |  2 +
 meta/recipes-extended/sysstat/sysstat.inc  |  2 +
 .../xdg-utils/xdg-utils_1.1.0-rc1.bb   |  2 +
 meta/recipes-graphics/cairo/cairo_1.14.4.bb|  2 +
 meta/recipes-graphics/libsdl/libsdl_1.2.15.bb  |  2 +
 meta/recipes-graphics/tslib/tslib_1.1.bb   |  1 +
 meta/recipes-graphics/waffle/waffle_1.5.1.bb   |  2 +
 .../xorg-lib/libxkbcommon_0.5.0.bb |  2 +
 meta/recipes-kernel/powertop/powertop_2.7.bb   |  2 +
 .../libsamplerate/libsamplerate0_0.1.8.bb  |  3 +
 .../libtheora/libtheora_1.1.1.bb   |  2 +
 meta/recipes-multimedia/webp/libwebp_0.4.3.bb  |  2 +
 meta/recipes-qt/qt-apps/quicky_0.4.bb  |  2 +
 meta/recipes-support/libevent/libevent_2.0.22.bb   |  2 +
 meta/recipes-support/libical/libical_1.0.0.bb  |  2 +
 meta/recipes-support/libmpc/libmpc_1.0.3.bb|  2 +
 meta/recipes-support/libxslt/libxslt_1.1.28.bb |  3 +
 meta/recipes-support/mpfr/mpfr_3.1.3.bb|  2 +
 meta/recipes-support/nettle/nettle.inc |  2 +
 meta/recipes-support/nss/nss_3.19.2.bb |  3 +
 meta/recipes-support/sqlite/sqlite3_3.9.0.bb   |  3 +
 meta/recipes-support/taglib/taglib_1.9.1.bb|  2 +
 42 files changed, 93 insertions(+), 68 deletions(-)

diff --git a/meta/conf/distro/include/package_regex.inc 
b/meta/conf/distro/include/package_regex.inc
index beed994..e08082a 100644
--- a/meta/conf/distro/include/package_regex.inc
+++ b/meta/conf/distro/include/package_regex.inc
@@ -20,71 +20,3 @@
 # determine the upstream release version. This regex can be used
 # to filter only relevant tags.
 #
-
-COMMON_REGEX = "(?P(\d+[\.\-_]*)+)"
-
-# Generic regex don't match
-REGEX_URI_pn-wireless-tools = 
"http://www.hpl.hp.com/personal/Jean_Tourrilhes/Linux/Tools.html;
-REGEX_pn-wireless-tools = "wireless_tools\.(?P(\d+)(\..*|))\.tar\.gz"
-
-REGEX_URI_pn-sqlite3="http://www.sqlite.org/;
-REGEX_pn-sqlite3="releaselog/${COMMON_REGEX}.html"
-
-REGEX_URI_pn-dhcp = "ftp://ftp.isc.org/isc/dhcp/;
-REGEX_pn-dhcp="(?P\d+\.\d+\.(\d+?))/"
-
-REGEX_pn-foomatic-filters = 
"foomatic-filters-(?P((\d|\d\d)\.*)+)\.tar\.gz"
-REGEX_pn-xdg-utils = 
"xdg-utils-(?P((\d+[\.\-_]*)+)((rc|alpha|beta)\d+)?)\.(tar\.gz|tgz)"
-REGEX_pn-rpm="rpm-${COMMON_REGEX}-.*$"
-REGEX_pn-libtheora = "libtheora-(?P\d+(\.\d)+)\.(tar\.gz|tgz)"
-
-REGEX_pn-iputils="iputils-(?Ps\d+).tar"
-REGEX_pn-nettle = "nettle-(?P\d+(\.\d+)+)\.tar"
-
-REGEX_pn-cairo = "cairo-(?P\d+(\.\d+)+)\.tar"
-REGEX_pn-cmake = "cmake-(?P\d+(\.\d+)+)\.tar"
-REGEX_pn-libsdl = "SDL-(?P\d+(\.\d+)+)\.tar"
-REGEX_pn-libxslt = "libxslt-(?P\d+(\.\d+)+)\.tar"
-
-REGEX_URI_pn-autogen = "http://ftp.gnu.org/gnu/autogen/;
-REGEX_pn-autogen = "rel(?P\d+(\.\d+)+)/"
-
-# Isn't possible to download with the default URI web server returns
-# (403, 404, 550)
-REGEX_URI_pn-dosfstools = "https://github.com/dosfstools/dosfstools/releases;
-REGEX_pn-json-c = "json-c-(?P\d+(\.\d+)+).tar"
-# json-c releases page is fetching the list of releases in some weird XML 
format
-# from https://s3.amazonaws.com/json-c_releases and processes it with 
javascript :-/
-#REGEX_URI_pn-json-c = 
"https://s3.amazonaws.com/json-c_releases/releases/index.html;
-REGEX_URI_pn-chrpath = "http://alioth.debian.org/frs/?group_id=31052;
-
-REGEX_URI_pn-powertop = "https://01.org/powertop/downloads;
-REGEX_URI_pn-libsamplerate0 = "http://www.mega-nerd.com/SRC/download.html;
-REGEX_URI_pn-libxkbcommon = "http://xkbcommon.org/;
-REGEX_URI_pn-tslib = "https://github.com/kergoth/tslib/releases;
-REGEX_URI_pn-waffle="http://www.waffle-gl.org/releases.html;
-REGEX_URI_pn-lrzsz = 

[OE-core] [PATCH 5/9] package_regex.inc: split PyPi related entries to their own recipes

2015-11-20 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin 
---
 meta/conf/distro/include/package_regex.inc| 19 ---
 meta/recipes-devtools/python/python-async_0.6.2.bb|  2 ++
 meta/recipes-devtools/python/python-git_1.0.1.bb  |  3 +++
 meta/recipes-devtools/python/python-gitdb_0.6.4.bb|  2 ++
 meta/recipes-devtools/python/python-mako_1.0.1.bb |  3 +++
 meta/recipes-devtools/python/python-nose_1.3.6.bb |  3 +++
 meta/recipes-devtools/python/python-pexpect_3.3.bb|  2 ++
 meta/recipes-devtools/python/python-smmap_0.9.0.bb|  3 +++
 meta/recipes-devtools/python/python3-pip_6.1.1.bb |  2 ++
 .../python/python3-setuptools_18.2.bb |  2 ++
 10 files changed, 22 insertions(+), 19 deletions(-)

diff --git a/meta/conf/distro/include/package_regex.inc 
b/meta/conf/distro/include/package_regex.inc
index d55f5c8..7888260 100644
--- a/meta/conf/distro/include/package_regex.inc
+++ b/meta/conf/distro/include/package_regex.inc
@@ -120,25 +120,6 @@ REGEX_pn-nativesdk-qt4-tools = "(?P\d+(\.\d+)+)/"
 REGEX_URI_pn-qt4-native = "http://download.qt.io/official_releases/qt/4.8/;
 REGEX_pn-qt4-native = "(?P\d+(\.\d+)+)/"
 
-# PyPI sites
-REGEX_URI_pn-python-nose = "https://pypi.python.org/pypi/nose/;
-REGEX_pn-python-nose = "/nose/${COMMON_REGEX}"
-# python-distribute 0.7.x is a simple compatibility layer that installs 
Setuptools 0.7+.
-# so we stick to 0.6.x series
-REGEX_URI_pn-python-distribute = "https://pypi.python.org/pypi/distribute/;
-REGEX_pn-python-distribute = "/distribute/(?P\d+.6.\d+)"
-REGEX_URI_pn-python-gitdb = "https://pypi.python.org/pypi/gitdb/;
-REGEX_URI_pn-python-async = "https://pypi.python.org/pypi/async/;
-REGEX_URI_pn-python-smmap = "https://pypi.python.org/pypi/smmap/;
-REGEX_pn-python-smmap = "/smmap/${COMMON_REGEX}"
-REGEX_URI_pn-python-git = "https://pypi.python.org/pypi/GitPython/;
-REGEX_pn-python-git = "/GitPython/${COMMON_REGEX}"
-REGEX_URI_pn-python-mako = "https://pypi.python.org/pypi/mako/;
-REGEX_pn-python-mako = "/Mako/${COMMON_REGEX}"
-REGEX_URI_pn-python-pexpect = "https://pypi.python.org/pypi/pexpect;
-REGEX_URI_pn-python3-pip = "https://pypi.python.org/pypi/pip;
-REGEX_URI_pn-python3-setuptools = "https://pypi.python.org/pypi/setuptools;
-
 # Sourceforge sites
 REGEX_URI_pn-python-scons = 
"http://sourceforge.net/projects/scons/files/scons/;
 REGEX_pn-python-scons = "/scons/${COMMON_REGEX}/"
diff --git a/meta/recipes-devtools/python/python-async_0.6.2.bb 
b/meta/recipes-devtools/python/python-async_0.6.2.bb
index 5a17a1a..0da6be6 100644
--- a/meta/recipes-devtools/python/python-async_0.6.2.bb
+++ b/meta/recipes-devtools/python/python-async_0.6.2.bb
@@ -8,6 +8,8 @@ SRC_URI = 
"http://pypi.python.org/packages/source/a/async/async-${PV}.tar.gz;
 SRC_URI[md5sum] = "9b06b5997de2154f3bc0273f80bcef6b"
 SRC_URI[sha256sum] = 
"ac6894d876e45878faae493b0cf61d0e28ec417334448ac0a6ea2229d8343051"
 
+REGEX_URI = "https://pypi.python.org/pypi/async/;
+
 S = "${WORKDIR}/async-${PV}"
 
 inherit setuptools
diff --git a/meta/recipes-devtools/python/python-git_1.0.1.bb 
b/meta/recipes-devtools/python/python-git_1.0.1.bb
index a78d7c8..6a6f15b 100644
--- a/meta/recipes-devtools/python/python-git_1.0.1.bb
+++ b/meta/recipes-devtools/python/python-git_1.0.1.bb
@@ -14,6 +14,9 @@ SRC_URI = 
"http://pypi.python.org/packages/source/G/GitPython/GitPython-${PV}.ta
 SRC_URI[md5sum] = "4659644b42c41e5e5170c0cd83ed6422"
 SRC_URI[sha256sum] = 
"9c88c17bbcae2a445ff64024ef13526224f70e35e38c33416be5ceb56ca7f760"
 
+REGEX_URI = "https://pypi.python.org/pypi/GitPython/;
+REGEX = "/GitPython/(?P(\d+[\.\-_]*)+)"
+
 S = "${WORKDIR}/GitPython-${PV}"
 
 inherit setuptools
diff --git a/meta/recipes-devtools/python/python-gitdb_0.6.4.bb 
b/meta/recipes-devtools/python/python-gitdb_0.6.4.bb
index f0083bd..20b8b06 100644
--- a/meta/recipes-devtools/python/python-gitdb_0.6.4.bb
+++ b/meta/recipes-devtools/python/python-gitdb_0.6.4.bb
@@ -10,6 +10,8 @@ SRC_URI = 
"https://pypi.python.org/packages/source/g/gitdb/gitdb-${PV}.tar.gz;
 SRC_URI[md5sum] = "44e4366b8bdfd306b075c3a52c96ae1a"
 SRC_URI[sha256sum] = 
"a3ebbc27be035a2e874ed904df516e35f4a29a778a764385de09de9e0f139658"
 
+REGEX_URI = "https://pypi.python.org/pypi/gitdb/;
+
 S = "${WORKDIR}/gitdb-${PV}"
 
 inherit distutils
diff --git a/meta/recipes-devtools/python/python-mako_1.0.1.bb 
b/meta/recipes-devtools/python/python-mako_1.0.1.bb
index 5d42b0c..2c2b45e 100644
--- a/meta/recipes-devtools/python/python-mako_1.0.1.bb
+++ b/meta/recipes-devtools/python/python-mako_1.0.1.bb
@@ -8,6 +8,9 @@ SRC_URI = 
"https://pypi.python.org/packages/source/M/Mako/Mako-${PV}.tar.gz;
 SRC_URI[md5sum] = "9f0aafd177b039ef67b90ea350497a54"
 SRC_URI[sha256sum] = 
"45f0869febea59dab7efd256fb451c377cbb7947bef386ff0bb44627c31a8d1c"
 
+REGEX_URI = "https://pypi.python.org/pypi/mako/;
+REGEX = "/Mako/(?P(\d+[\.\-_]*)+)"
+
 S = "${WORKDIR}/Mako-${PV}"
 
 inherit setuptools
diff --git 

[OE-core] [PATCH 1/9] package_regex.inc: deprecate the file

2015-11-20 Thread Alexander Kanavin
New entries should be added to recipes themselves

Signed-off-by: Alexander Kanavin 
---
 meta/conf/distro/include/package_regex.inc | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/meta/conf/distro/include/package_regex.inc 
b/meta/conf/distro/include/package_regex.inc
index d12999b..0035586 100644
--- a/meta/conf/distro/include/package_regex.inc
+++ b/meta/conf/distro/include/package_regex.inc
@@ -1,3 +1,5 @@
+# NOTE: THIS FILE IS DEPRECATED. Please add new entries to the recipes 
themselves.
+#
 # package_regex.inc - This file contains data that tracks
 # upstream project associated with a given recipe. This list is needed
 # for recipes that version information can not be automagically discovered.
-- 
2.6.2

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


[OE-core] [PATCH 0/9] Deprecate package_regex.inc and split it into recipes

2015-11-20 Thread Alexander Kanavin
This patch series deprecates package_regex.inc and splits its contents into
respective recipes. This is done for same reasons as deprecating
upstream_tracking.inc: having upstream version check tweaks bundled into a
separate file makes the information prone to getting out of date.

Changes since the previous version of the patch:
- take the opportunity to rename REGEX and REGEX_URI to UPSTREAM_CHECK_REGEX and
UPSTREAM_CHECK_URI.

The following changes since commit 1b25a70991589ed1f123015c16ee4806c46e3199:

  yocto-project-qs, ref-manual, poky.ent: CentOS Package updates (2015-11-18 
16:42:22 +)

are available in the git repository at:

  git://git.yoctoproject.org/poky-contrib akanavin/split-package-regex
  
http://git.yoctoproject.org/cgit.cgi/poky-contrib/log/?h=akanavin/split-package-regex

Alexander Kanavin (9):
  package_regex.inc: deprecate the file
  package_regex.inc: split entries with odd-even versioning into their
own recipes
  package_regex.inc: split GITTAGREGEX entries into recipe files
  package_regex.inc: split Debian-related entries into their own recipes
  package_regex.inc: split PyPi related entries to their own recipes
  package_regex.inc: split sourceforge related entries to their own
recipes
  package_regex.inc: split entries which blacklist specific versions to
their recipes
  package_regex.inc: split the rest of the entries to their recipes
  bitbake: rename REGEX and REGEX_URI to UPSTREAM_CHECK_REGEX and
UPSTREAM_CHECK_URI

 bitbake/lib/bb/fetch2/wget.py  |   4 +-
 bitbake/lib/bb/tests/fetch.py  |   6 +-
 meta/classes/upstream-version-is-even.bbclass  |   5 +
 meta/conf/distro/include/package_regex.inc | 266 +
 meta/recipes-bsp/apmd/apmd_3.2.2-15.bb |   4 +
 meta/recipes-bsp/libacpi/libacpi_0.2.bb|   2 +
 meta/recipes-bsp/lrzsz/lrzsz_0.12.20.bb|   2 +
 meta/recipes-connectivity/dhcp/dhcp.inc|   3 +
 .../nfs-utils/libnfsidmap_0.25.bb  |   2 +
 .../resolvconf/resolvconf_1.77.bb  |   4 +
 .../wireless-tools/wireless-tools_30.pre9.bb   |   3 +
 .../recipes-core/base-passwd/base-passwd_3.5.29.bb |   4 +
 .../console-tools/console-tools_0.3.2.bb   |   3 +
 meta/recipes-core/dbus/dbus-test_1.8.20.bb |   2 +-
 meta/recipes-core/dbus/dbus.inc|   2 +-
 meta/recipes-core/glib-2.0/glib.inc|   2 +-
 .../glib-networking/glib-networking_2.44.0.bb  |   2 +-
 .../glibc/cross-localedef-native_2.22.bb   |   1 +
 meta/recipes-core/glibc/glibc_2.22.bb  |   1 +
 meta/recipes-core/libcgroup/libcgroup_0.41.bb  |   2 +
 meta/recipes-core/sysfsutils/sysfsutils_2.1.0.bb   |   4 +
 meta/recipes-core/uclibc/uclibc-git.inc|   3 +
 meta/recipes-devtools/apt/apt.inc  |   4 +
 .../autogen/autogen-native_5.18.5.bb   |   3 +
 meta/recipes-devtools/binutils/binutils-2.25.1.inc |   2 +
 .../bootchart2/bootchart2_0.14.7.bb|   2 +
 .../cdrtools/cdrtools-native_3.01a31.bb|   2 +
 meta/recipes-devtools/chrpath/chrpath_0.16.bb  |   2 +
 meta/recipes-devtools/cmake/cmake.inc  |   2 +
 .../docbook-dsssl-stylesheets-native_1.79.bb   |   3 +
 .../docbook-sgml-dtd-3.1-native_3.1.bb |   3 +
 .../docbook-sgml-dtd-4.1-native_4.1.bb |   3 +
 .../docbook-xml/docbook-xsl-stylesheets_1.78.1.bb  |   3 +
 .../dosfstools/dosfstools_3.0.28.bb|   2 +
 meta/recipes-devtools/expect/expect_5.45.bb|   3 +
 meta/recipes-devtools/fdisk/gptfdisk_1.0.0.bb  |   3 +
 meta/recipes-devtools/file/file_5.24.bb|   3 +
 meta/recipes-devtools/gcc/gcc-4.9.inc  |   2 +
 meta/recipes-devtools/intltool/intltool.inc|   3 +
 meta/recipes-devtools/json-c/json-c_0.12.bb|   5 +
 .../openjade/openjade-native_1.3.2.bb  |   2 +
 meta/recipes-devtools/perl/perl.inc|   2 +
 meta/recipes-devtools/python/python-async_0.6.2.bb |   2 +
 meta/recipes-devtools/python/python-git_1.0.1.bb   |   3 +
 meta/recipes-devtools/python/python-gitdb_0.6.4.bb |   2 +
 meta/recipes-devtools/python/python-mako_1.0.1.bb  |   3 +
 meta/recipes-devtools/python/python-nose_1.3.6.bb  |   3 +
 meta/recipes-devtools/python/python-pexpect_3.3.bb |   2 +
 meta/recipes-devtools/python/python-scons_2.3.6.bb |   3 +
 meta/recipes-devtools/python/python-smmap_0.9.0.bb |   3 +
 meta/recipes-devtools/python/python.inc|   4 +
 .../python/python3-native_3.4.3.bb |   3 +
 meta/recipes-devtools/python/python3-pip_6.1.1.bb  |   2 +
 .../python/python3-setuptools_18.2.bb  |   2 +
 meta/recipes-devtools/python/python3_3.4.3.bb  |   3 +
 meta/recipes-devtools/remake/remake_4.1+dbg-1.1.bb |   1 +
 meta/recipes-devtools/rpm/rpm_5.4.14.bb|   2 +
 .../recipes-devtools/sgmlspl/sgmlspl-native_git.bb |   1 

[OE-core] [PATCH v3 3/3] dbus: add apparmor support

2015-11-20 Thread Andrew Shadura
Signed-off-by: Andrew Shadura 
---
 meta/recipes-core/dbus/dbus_1.10.2.bb | 1 +
 1 file changed, 1 insertion(+)

diff --git a/meta/recipes-core/dbus/dbus_1.10.2.bb 
b/meta/recipes-core/dbus/dbus_1.10.2.bb
index 9e24090..1abe067 100644
--- a/meta/recipes-core/dbus/dbus_1.10.2.bb
+++ b/meta/recipes-core/dbus/dbus_1.10.2.bb
@@ -104,6 +104,7 @@ PACKAGECONFIG_class-nativesdk = ""
 # systemd<->dbus
 PACKAGECONFIG[systemd] = 
"--with-systemdsystemunitdir=${systemd_unitdir}/system/,--without-systemdsystemunitdir"
 PACKAGECONFIG[x11] = "--with-x --enable-x11-autolaunch,--without-x 
--disable-x11-autolaunch, virtual/libx11 libsm"
+PACKAGECONFIG[apparmor] = "--enable-apparmor,--disable-apparmor,libapparmor"
 
 do_install() {
autotools_do_install
-- 
2.5.0

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


[OE-core] [PATCH v3 2/3] dbus: update the recipes to 1.10.2

2015-11-20 Thread Andrew Shadura
dbus 1.10.2 doesn't depend on dbus-glib anymore, so drop the
dependency.

Refresh python-config.patch.

Signed-off-by: Andrew Shadura 
Signed-off-by: Joshua Lock 
---
 .../dbus/{dbus-test_1.8.20.bb => dbus-test_1.10.2.bb}  |  4 ++--
 meta/recipes-core/dbus/dbus/python-config.patch| 13 +++--
 meta/recipes-core/dbus/{dbus_1.8.20.bb => dbus_1.10.2.bb}  | 14 +-
 3 files changed, 18 insertions(+), 13 deletions(-)
 rename meta/recipes-core/dbus/{dbus-test_1.8.20.bb => dbus-test_1.10.2.bb} 
(93%)
 rename meta/recipes-core/dbus/{dbus_1.8.20.bb => dbus_1.10.2.bb} (93%)

diff --git a/meta/recipes-core/dbus/dbus-test_1.8.20.bb 
b/meta/recipes-core/dbus/dbus-test_1.10.2.bb
similarity index 93%
rename from meta/recipes-core/dbus/dbus-test_1.8.20.bb
rename to meta/recipes-core/dbus/dbus-test_1.10.2.bb
index 704070b..8317548 100644
--- a/meta/recipes-core/dbus/dbus-test_1.8.20.bb
+++ b/meta/recipes-core/dbus/dbus-test_1.10.2.bb
@@ -18,8 +18,8 @@ SRC_URI = 
"http://dbus.freedesktop.org/releases/dbus/dbus-${PV}.tar.gz \
file://clear-guid_from_server-if-send_negotiate_unix_f.patch \
"
 
-SRC_URI[md5sum] = "b49890bbabedab3a1c3f4f73c7ff8b2b"
-SRC_URI[sha256sum] = 
"5c4fbf4c64621c96e871da91d2b729a5b00536e116d3c4612a469d924b1b703a"
+SRC_URI[md5sum] = "9190f5c0e41e8d220352c058faf5463522378e35"
+SRC_URI[sha256sum] = 
"aef3f49595df09b0824433ee993cda748ede93693a719a831562ae1616b6bb9e"
 
 S="${WORKDIR}/dbus-${PV}"
 FILESEXTRAPATHS =. "${FILE_DIRNAME}/dbus:"
diff --git a/meta/recipes-core/dbus/dbus/python-config.patch 
b/meta/recipes-core/dbus/dbus/python-config.patch
index 2944002..fbb4ede 100644
--- a/meta/recipes-core/dbus/dbus/python-config.patch
+++ b/meta/recipes-core/dbus/dbus/python-config.patch
@@ -6,19 +6,20 @@ Disable the python module check for cross compiling.
 Upstream-Status: Inappropriate [oe specific]
 
 Signed-off-by: Mark Hatle 
+Signed-off-by: Andrew Shadura 
 
 dbus-1.6.8/configure.ac.orig   2013-07-11 14:15:58.834554799 -0500
-+++ dbus-1.6.8/configure.ac2013-07-11 14:14:40.969554848 -0500
-@@ -257,13 +257,6 @@
+--- a/configure.ac
 b/configure.ac
+@@ -267,13 +267,6 @@
# full test coverage is required, Python is a hard dependency
-   AC_MSG_NOTICE([Full test coverage (--enable-tests=yes) requires Python, 
dbus-python, pygobject])
+   AC_MSG_NOTICE([Full test coverage (--enable-tests=yes) requires Python, 
dbus-python, pygi])
AM_PATH_PYTHON([2.6])
 -  AC_MSG_CHECKING([for Python modules for full test coverage])
--  if "$PYTHON" -c "import dbus, gobject, dbus.mainloop.glib"; then
+-  if "$PYTHON" -c "import dbus, gi.repository.GObject, dbus.mainloop.glib"; 
then
 -AC_MSG_RESULT([yes])
 -  else
 -AC_MSG_RESULT([no])
--AC_MSG_ERROR([cannot import dbus, gobject, dbus.mainloop.glib Python 
modules])
+-AC_MSG_ERROR([cannot import dbus, gi.repository.GObject, 
dbus.mainloop.glib Python modules])
 -  fi
  else
# --enable-tests not given: do not abort if Python is missing
diff --git a/meta/recipes-core/dbus/dbus_1.8.20.bb 
b/meta/recipes-core/dbus/dbus_1.10.2.bb
similarity index 93%
rename from meta/recipes-core/dbus/dbus_1.8.20.bb
rename to meta/recipes-core/dbus/dbus_1.10.2.bb
index 207a018..9e24090 100644
--- a/meta/recipes-core/dbus/dbus_1.8.20.bb
+++ b/meta/recipes-core/dbus/dbus_1.10.2.bb
@@ -19,8 +19,8 @@ SRC_URI = 
"http://dbus.freedesktop.org/releases/dbus/dbus-${PV}.tar.gz \
file://clear-guid_from_server-if-send_negotiate_unix_f.patch \
 "
 
-SRC_URI[md5sum] = "b49890bbabedab3a1c3f4f73c7ff8b2b"
-SRC_URI[sha256sum] = 
"5c4fbf4c64621c96e871da91d2b729a5b00536e116d3c4612a469d924b1b703a"
+SRC_URI[md5sum] = "2428919cc77b8d0028d65ee4d5dbef31"
+SRC_URI[sha256sum] = 
"aef3f49595df09b0824433ee993cda748ede93693a719a831562ae1616b6bb9e"
 
 inherit useradd autotools pkgconfig gettext update-rc.d
 
@@ -58,15 +58,20 @@ FILES_${PN} = "${bindir}/dbus-daemon* \
${bindir}/dbus-monitor \
${bindir}/dbus-launch \
${bindir}/dbus-run-session \
+   ${bindir}/dbus-update-activation-environment \
${libexecdir}/dbus* \
${sysconfdir} \
${localstatedir} \
${datadir}/dbus-1/services \
${datadir}/dbus-1/system-services \
+   ${datadir}/dbus-1/session.d \
+   ${datadir}/dbus-1/session.conf \
+   ${datadir}/dbus-1/system.d \
+   ${datadir}/dbus-1/system.conf \
${systemd_unitdir}/system/"
 FILES_${PN}-lib = "${libdir}/lib*.so.*"
 RRECOMMENDS_${PN}-lib = "${PN}"
-FILES_${PN}-dev += "${libdir}/dbus-1.0/include ${bindir}/dbus-glib-tool"
+FILES_${PN}-dev += "${libdir}/dbus-1.0/include ${bindir}/dbus-glib-tool 
${bindir}/dbus-test-tool"
 
 pkg_postinst_dbus() {
# If both systemd and sysvinit are enabled, mask the 

Re: [OE-core] can i use qemuppc to demo an example of using UIO?

2015-11-20 Thread Bruce Ashfield
On Fri, Nov 20, 2015 at 5:52 AM, Robert P. J. Day  wrote:
>
>   i'm not sure i've done enough research to even ask this question
> intelligently, but can i use OE to build and demo what is described
> here?
>
>   http://nairobi-embedded.org/uio_example.html
>
> while that article uses x86_64, i would *prefer* to use qemuppc as
> that is the preferred target architecture, but i can always use x86_64
> in a pinch.
>
>   for a number of OE/embedded linux classes i'm going to be teaching
> next year, i'm trying to shift a number of exercises from needing
> actual hardware to using QEMU images, and this is something i'd dearly
> love to be able to demo using QEMU.
>
>   thoughts? i'm still digging into this, but can anyone point out any
> obvious flaws in my plan? thanks.

It should work. uio is architecture and h/w agnostic for the most part, at
a glance, I don't see anything that jumps out a red flag.

Bruce

>
> rday
>
> --
>
> 
> Robert P. J. Day Ottawa, Ontario, CANADA
> http://crashcourse.ca
>
> Twitter:   http://twitter.com/rpjday
> LinkedIn:   http://ca.linkedin.com/in/rpjday
> 
>
> --
> ___
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core



-- 
"Thou shalt not follow the NULL pointer, for chaos and madness await
thee at its end"
-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


[OE-core] [PATCH v3 1/3] dbus: merge .bb and .inc

2015-11-20 Thread Andrew Shadura
The split is no longer necessary, and only makes it more complicated to
do changes in external layers.

Signed-off-by: Andrew Shadura 
Signed-off-by: Joshua Lock 
---
 meta/recipes-core/dbus/dbus.inc   | 170 -
 meta/recipes-core/dbus/dbus_1.8.20.bb | 171 +-
 2 files changed, 170 insertions(+), 171 deletions(-)
 delete mode 100644 meta/recipes-core/dbus/dbus.inc

diff --git a/meta/recipes-core/dbus/dbus.inc b/meta/recipes-core/dbus/dbus.inc
deleted file mode 100644
index 3971081..000
--- a/meta/recipes-core/dbus/dbus.inc
+++ /dev/null
@@ -1,170 +0,0 @@
-SUMMARY = "D-Bus message bus"
-DESCRIPTION = "D-Bus is a message bus system, a simple way for applications to 
talk to one another. In addition to interprocess communication, D-Bus helps 
coordinate process lifecycle; it makes it simple and reliable to code a 
\"single instance\" application or daemon, and to launch applications and 
daemons on demand when their services are needed."
-HOMEPAGE = "http://dbus.freedesktop.org;
-SECTION = "base"
-LICENSE = "AFL-2 | GPLv2+"
-LIC_FILES_CHKSUM = "file://COPYING;md5=10dded3b58148f3f1fd804b26354af3e \
-
file://dbus/dbus.h;beginline=6;endline=20;md5=7755c9d7abccd5dbd25a6a974538bb3c"
-DEPENDS = "expat virtual/libintl"
-RDEPENDS_dbus_class-native = ""
-RDEPENDS_dbus_class-nativesdk = ""
-PACKAGES += "${@bb.utils.contains('DISTRO_FEATURES', 'ptest', '${PN}-ptest', 
'', d)}"
-ALLOW_EMPTY_dbus-ptest = "1"
-RDEPENDS_dbus-ptest_class-target = "dbus-test-ptest"
-
-SRC_URI = "http://dbus.freedesktop.org/releases/dbus/dbus-${PV}.tar.gz \
-   file://tmpdir.patch \
-   file://dbus-1.init \
-   file://os-test.patch \
-   file://clear-guid_from_server-if-send_negotiate_unix_f.patch \
-"
-
-inherit useradd autotools pkgconfig gettext update-rc.d
-
-INITSCRIPT_NAME = "dbus-1"
-INITSCRIPT_PARAMS = "start 02 5 3 2 . stop 20 0 1 6 ."
-
-python __anonymous() {
-if not bb.utils.contains('DISTRO_FEATURES', 'sysvinit', True, False, d):
-d.setVar("INHIBIT_UPDATERCD_BBCLASS", "1")
-}
-
-USERADD_PACKAGES = "${PN}"
-GROUPADD_PARAM_${PN} = "-r netdev"
-USERADD_PARAM_${PN} = "--system --home ${localstatedir}/lib/dbus \
-   --no-create-home --shell /bin/false \
-   --user-group messagebus"
-
-CONFFILES_${PN} = "${sysconfdir}/dbus-1/system.conf 
${sysconfdir}/dbus-1/session.conf"
-
-DEBIANNAME_${PN} = "dbus-1"
-
-PACKAGES =+ "${PN}-lib"
-
-OLDPKGNAME = "dbus-x11"
-OLDPKGNAME_class-nativesdk = ""
-
-# for compatibility
-RPROVIDES_${PN} = "${OLDPKGNAME}"
-RREPLACES_${PN} += "${OLDPKGNAME}"
-
-FILES_${PN} = "${bindir}/dbus-daemon* \
-   ${bindir}/dbus-uuidgen \
-   ${bindir}/dbus-cleanup-sockets \
-   ${bindir}/dbus-send \
-   ${bindir}/dbus-monitor \
-   ${bindir}/dbus-launch \
-   ${bindir}/dbus-run-session \
-   ${libexecdir}/dbus* \
-   ${sysconfdir} \
-   ${localstatedir} \
-   ${datadir}/dbus-1/services \
-   ${datadir}/dbus-1/system-services \
-   ${systemd_unitdir}/system/"
-FILES_${PN}-lib = "${libdir}/lib*.so.*"
-RRECOMMENDS_${PN}-lib = "${PN}"
-FILES_${PN}-dev += "${libdir}/dbus-1.0/include ${bindir}/dbus-glib-tool"
-
-pkg_postinst_dbus() {
-   # If both systemd and sysvinit are enabled, mask the dbus-1 init script
-if ${@bb.utils.contains('DISTRO_FEATURES','systemd 
sysvinit','true','false',d)}; then
-   if [ -n "$D" ]; then
-   OPTS="--root=$D"
-   fi
-   systemctl $OPTS mask dbus-1.service
-   fi
-
-   if [ -z "$D" ] && [ -e /etc/init.d/populate-volatile.sh ] ; then
-   /etc/init.d/populate-volatile.sh update
-   fi
-}
-
-EXTRA_OECONF = "--disable-tests \
---disable-xml-docs \
---disable-doxygen-docs \
---disable-libaudit \
---disable-systemd \
---without-dbus-glib"
-
-EXTRA_OECONF_append_class-native = " --disable-selinux"
-
-PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 
'systemd', '', d)} \
-   ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'x11', '', 
d)}"
-PACKAGECONFIG_class-native = ""
-PACKAGECONFIG_class-nativesdk = ""
-
-# Would like to --enable-systemd but that's a circular build-dependency between
-# systemd<->dbus
-PACKAGECONFIG[systemd] = 
"--with-systemdsystemunitdir=${systemd_unitdir}/system/,--without-systemdsystemunitdir"
-PACKAGECONFIG[x11] = "--with-x --enable-x11-autolaunch,--without-x 
--disable-x11-autolaunch, virtual/libx11 libsm"
-
-do_install() {
-   autotools_do_install
-
-   if ${@bb.utils.contains('DISTRO_FEATURES', 'sysvinit', 'true', 'false', 
d)}; then
-   install -d ${D}${sysconfdir}/init.d
-   

Re: [OE-core] [PATCH v2] cups: update systemd support

2015-11-20 Thread Andrew Shadura
On 26/10/15 23:33, Andrew Shadura wrote:
> On 22/10/15 16:00, Andrew Shadura wrote:
>> Add PACKAGECONFIG for systemd, enable it when systemd is enabled
>> in DISTRO_FEATURES. Pass the correct path to systemd units,
>> ensure they're installed into the package.
> 
> Ross, could you please review an updated version of the patch?

Any news on this patch since then? Comments, critique, anything?

-- 
Cheers,
  Andrew



signature.asc
Description: OpenPGP digital signature
-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


[OE-core] [PATCH 1/2] dbus: build with systemd support

2015-11-20 Thread Andrew Shadura
It's good to have the extra functionality, such as seat support
provided with systemd support. Not least of all to support
systemd user-sessions.

This commit also changes references to the system unit path
from ${systemd_unitdir}/system to ${systemd_system_unitdir},
a new variable provided by bitbake.

Signed-off-by: Andrew Shadura 
Signed-off-by: Joshua Lock 
---
 meta/recipes-core/dbus/dbus_1.10.2.bb | 19 ---
 1 file changed, 8 insertions(+), 11 deletions(-)

diff --git a/meta/recipes-core/dbus/dbus_1.10.2.bb 
b/meta/recipes-core/dbus/dbus_1.10.2.bb
index 1abe067..f7ab39b 100644
--- a/meta/recipes-core/dbus/dbus_1.10.2.bb
+++ b/meta/recipes-core/dbus/dbus_1.10.2.bb
@@ -68,7 +68,7 @@ FILES_${PN} = "${bindir}/dbus-daemon* \
${datadir}/dbus-1/session.conf \
${datadir}/dbus-1/system.d \
${datadir}/dbus-1/system.conf \
-   ${systemd_unitdir}/system/"
+   ${systemd_system_unitdir}"
 FILES_${PN}-lib = "${libdir}/lib*.so.*"
 RRECOMMENDS_${PN}-lib = "${PN}"
 FILES_${PN}-dev += "${libdir}/dbus-1.0/include ${bindir}/dbus-glib-tool 
${bindir}/dbus-test-tool"
@@ -90,8 +90,7 @@ pkg_postinst_dbus() {
 EXTRA_OECONF = "--disable-tests \
 --disable-xml-docs \
 --disable-doxygen-docs \
---disable-libaudit \
---disable-systemd"
+--disable-libaudit"
 
 EXTRA_OECONF_append_class-native = " --disable-selinux"
 
@@ -100,9 +99,7 @@ PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 
'systemd', 'systemd',
 PACKAGECONFIG_class-native = ""
 PACKAGECONFIG_class-nativesdk = ""
 
-# Would like to --enable-systemd but that's a circular build-dependency between
-# systemd<->dbus
-PACKAGECONFIG[systemd] = 
"--with-systemdsystemunitdir=${systemd_unitdir}/system/,--without-systemdsystemunitdir"
+PACKAGECONFIG[systemd] = "--enable-systemd 
--with-systemdsystemunitdir=${systemd_system_unitdir},--disable-systemd 
--without-systemdsystemunitdir,systemd"
 PACKAGECONFIG[x11] = "--with-x --enable-x11-autolaunch,--without-x 
--disable-x11-autolaunch, virtual/libx11 libsm"
 PACKAGECONFIG[apparmor] = "--enable-apparmor,--disable-apparmor,libapparmor"
 
@@ -117,12 +114,12 @@ do_install() {
 
if ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'true', 'false', 
d)}; then
for i in dbus.target.wants sockets.target.wants 
multi-user.target.wants; do \
-   install -d ${D}${systemd_unitdir}/system/$i; done
-   install -m 0644 ${B}/bus/dbus.service ${B}/bus/dbus.socket 
${D}${systemd_unitdir}/system/
+   install -d ${D}${systemd_system_unitdir}/$i; done
+   install -m 0644 ${B}/bus/dbus.service ${B}/bus/dbus.socket 
${D}${systemd_system_unitdir}/
cd ${D}${systemd_unitdir}/system/dbus.target.wants/
-   ln -fs ../dbus.socket 
${D}${systemd_unitdir}/system/dbus.target.wants/dbus.socket
-   ln -fs ../dbus.socket 
${D}${systemd_unitdir}/system/sockets.target.wants/dbus.socket
-   ln -fs ../dbus.service 
${D}${systemd_unitdir}/system/multi-user.target.wants/dbus.service
+   ln -fs ../dbus.socket 
${D}${systemd_system_unitdir}/dbus.target.wants/dbus.socket
+   ln -fs ../dbus.socket 
${D}${systemd_system_unitdir}/sockets.target.wants/dbus.socket
+   ln -fs ../dbus.service 
${D}${systemd_system_unitdir}/multi-user.target.wants/dbus.service
fi
 
install -d ${D}${sysconfdir}/default/volatiles
-- 
2.5.0

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


[OE-core] [PATCH 2/2] dbus: add user sessions support

2015-11-20 Thread Andrew Shadura
Enable the user-sessions support with a PACKAGECONFIG flag.

Signed-off-by: Andrew Shadura 
Signed-off-by: Joshua Lock 
---
 meta/recipes-core/dbus/dbus_1.10.2.bb | 7 +--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/meta/recipes-core/dbus/dbus_1.10.2.bb 
b/meta/recipes-core/dbus/dbus_1.10.2.bb
index f7ab39b..445f7ef 100644
--- a/meta/recipes-core/dbus/dbus_1.10.2.bb
+++ b/meta/recipes-core/dbus/dbus_1.10.2.bb
@@ -68,7 +68,9 @@ FILES_${PN} = "${bindir}/dbus-daemon* \
${datadir}/dbus-1/session.conf \
${datadir}/dbus-1/system.d \
${datadir}/dbus-1/system.conf \
-   ${systemd_system_unitdir}"
+   ${systemd_system_unitdir} \
+   ${systemd_user_unitdir} \
+"
 FILES_${PN}-lib = "${libdir}/lib*.so.*"
 RRECOMMENDS_${PN}-lib = "${PN}"
 FILES_${PN}-dev += "${libdir}/dbus-1.0/include ${bindir}/dbus-glib-tool 
${bindir}/dbus-test-tool"
@@ -99,9 +101,10 @@ PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 
'systemd', 'systemd',
 PACKAGECONFIG_class-native = ""
 PACKAGECONFIG_class-nativesdk = ""
 
-PACKAGECONFIG[systemd] = "--enable-systemd 
--with-systemdsystemunitdir=${systemd_system_unitdir},--disable-systemd 
--without-systemdsystemunitdir,systemd"
+PACKAGECONFIG[systemd] = "--enable-systemd 
--with-systemdsystemunitdir=${systemd_system_unitdir} 
--with-systemduserunitdir=${systemd_user_unitdir},--disable-systemd 
--without-systemdsystemunitdir --without-systemduserunitdir,systemd"
 PACKAGECONFIG[x11] = "--with-x --enable-x11-autolaunch,--without-x 
--disable-x11-autolaunch, virtual/libx11 libsm"
 PACKAGECONFIG[apparmor] = "--enable-apparmor,--disable-apparmor,libapparmor"
+PACKAGECONFIG[user-session] = "--enable-user-session,--disable-user-session"
 
 do_install() {
autotools_do_install
-- 
2.5.0

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


[OE-core] State of bitbake world, Failed tasks 2015-11-19

2015-11-20 Thread Martin Jansa
On Fri, Nov 13, 2015 at 05:52:49PM +0100, Martin Jansa wrote:
> On Wed, Nov 11, 2015 at 11:15:48AM +0100, Martin Jansa wrote:
> > Be aware that there are more issues in oe-core without these changes:
> > icu, guile, mailx, gcc, opensp, gstreamer1.0-libav, libunwind, directfb, 
> > libunwind
> > will all fail.
> > 
> > There are many changes left in meta-networking waiting for Joe to merge
> > them, but I'll update "jethro" branch for last time today and let Armin
> > handle backporting for meta-networking changes worth getting into jethro.

The above is still true, here is first report from master branches after
jethro was released.

There wont be another report for few weeks, I've started full
test-dependencies build.

This build was without sstate-cache, so the QA issues should be more
complete than usually (but be aware that undeclared dependencies are
detected only for dependencies which happened to be built before the
recipe which detects them - unless you use test-dependencies script).

== Tested changes (not included in master yet) - bitbake ==
876bef4 world-image: add extra target

== Tested changes (not included in master yet) - openembedded-core ==
7d40e15 sstate-sysroot-cruft: Add php, python, lua, fontcache generated files 
to whitelist
4877cbf qemux86: Add identical qemux86copy variant for tests
4870ea7 report-error: Allow to upload reports automatically
e60979a libsdl2: require GLES when building Wayland support
072ffc3 libsecret: add dependency on intltool-native
d91496e rootfs_*.bbclass: don't add BUILDNAME to do_rootfs vardepsexclude
e4cf242 feature-arm-vfp.inc: add -mfpu=vfpv4 when vfpv4 is in TUNE_FEATURES
f2c21c2 feature-arm-vfp.inc: respect vfpv4 when setting -mfloat-abi and 
ARMPKGSFX_EABI
d989c1e arch-armv7ve: add tune include for armv7ve and use it from cortexa7 and 
cortexa15
387aa3f tune-*: use mcpu instead of mtune for ARM tunes
9993e70 cortexa{7,15,17}: add VFPv4 tunes
96cb484 meta/conf/machine: use ' inside quoted values
e83c0a1 gst-plugins-bad: improve FILES variables
260d5fb gstreamer1.0-plugins-good: fix PACKAGECONFIG for gudev and add one for 
v4l2 and libv4l2
264a721 gstreamer1.0-plugins-bad: fix dependencies for uvch264 PACKAGECONFIG
6a54f7a gstreamer1.0-plugins-base: add PACKAGECONFIG for libvisual
4664e1c libunwind: fix build for qemuarm
6c1c609 directfb: add fPIC to CFLAGS
7445847 guile, mailx, gcc, opensp, gstreamer1.0-libav, libunwind: disable thumb 
where it fails for qemuarm
c373dbd icu: force arm mode

== Tested changes (not included in master yet) - meta-openembedded ==
3464599 netmap-modules: make deterministic builds for drivers
9f79607 imsettings: Move from meta-ruby to meta-xfce
ca551a1 python-pygpgme: add ptest support
6a3c2d1 tree: respect the package's own default CFLAGS
ac96ac0 gperftools: upgrade to 2.4
4550d4c libjpeg-turbo: update 1.4.1 -> 1.4.2
b339e06 syslog-ng: add UPDATE_ALTERNATIVE for syslog-service
10af841 wireshark: update SRC_URI link to sources
8d3f9bc waf-samba: enable parallel builds
80379ba libtdb: upgrade to 1.3.7
f6633fb libldb: upgrade to 1.1.21
2b6887f talloc: upgrade to 2.1.3
bc4b3eb libtevent: upgrade to 0.9.25
ebbb1f2 snort: 2.9.6.0 -> 2.9.7.5
dbd9f31 phpmyadmin: fix CVE-2015-7873
d69f23e python-evdev: add python-evdev 0.5.0
684c5d5 gpsd: also support bluez5
bb37f04 ctdb: rdep on bash
37316bd lowpan-tools: add missing flex/bison deps
b318b49 python-requests: Add RDEPENDS
d741a2e rrdtool: install python site packages into libdir
068b829 libnet-ssleay-perl: fix test failures with openssl
a4bc7ea libhtml-tree-perl: fix shebang
d8d0e39 canutils: rdep on iproute2
f174c15 postgresql: Don't symlink to perl if it's disabled
1bc49c4 krb5: fix CVE-2015-2698
5c7878b krb5: fix CVE-2015-2697
a537080 krb5: fix CVE-2015-2696
3946c30 krb5: fix CVE-2015-2695
861096a dleyna-renderer: Add recipe
bd91f35 dleyna-server: Add recipe
419437a dleyna-connector-dbus: Add recipe
141a7c0 dleyna-core: Add recipe
4196559 networkmanager: add openvpn plugin
9366dbb networkmanager: use bluetooth from distro
d8c804e networkmanager: package for adsl plugin
79cf8c9 networkmanager: PACKAGECONFIG for wifi
8983504 networkmanager: PACKAGECONFIG for dnsmasq
d5f66b8 networkmanager: PACKAGECONFIG for dhclient
e617f04 networkmanager: PACKAGECONFIG for ifupdown netconfig
ffe0eef networkmanager: run dispatcher
fcb2429 networkmanager: Add package for nmtui
f5ca86e networkmanager: support gnutls and nss
240c22b networkmanager: Update to 1.0.6
e58b3ad modemmanager: Start always
9c862f1 modemmanager: add dbus config
bf25488 modemmanager: Add PACKAGECONFIGs
549e91b modemmanager: Update to 1.4.12
1cfa142 libqmi: update to 1.12.6
c349677 lldpd: Update to version 0.7.19
389d4d2 lldpd: configure the systemd unit file dir
2d0a0d4 net-snmp: fix cross compilation
6fb4423 opensaf: remove unused service file
ba7dd74 ypbind-mt: set path of ypdomainname in ypbind script
2742d40 netcat-openbsd: replace patch with quilt
bd788f3 postfix: premission of /var/spool/mail seems incorrect
1380282 

[OE-core] [PATCH] oeqa/runtime: Added wifi tests.

2015-11-20 Thread Lucian Musat
A few wifi tests ported from IOT. They use expect scripts
to connect and an external config file for the SSIDs and
passwords.

Signed-off-by: Lucian Musat 
---
 meta/lib/oeqa/runtime/files/config.ini |  10 ++
 meta/lib/oeqa/runtime/files/wifi_connect.exp   |  47 +
 .../lib/oeqa/runtime/files/wifi_hidden_connect.exp |  47 +
 meta/lib/oeqa/runtime/wifi.py  | 195 +
 meta/lib/oeqa/utils/helper.py  |  62 +++
 5 files changed, 361 insertions(+)
 create mode 100644 meta/lib/oeqa/runtime/files/config.ini
 create mode 100755 meta/lib/oeqa/runtime/files/wifi_connect.exp
 create mode 100755 meta/lib/oeqa/runtime/files/wifi_hidden_connect.exp
 create mode 100644 meta/lib/oeqa/runtime/wifi.py
 create mode 100644 meta/lib/oeqa/utils/helper.py

diff --git a/meta/lib/oeqa/runtime/files/config.ini 
b/meta/lib/oeqa/runtime/files/config.ini
new file mode 100644
index 000..eaa169a
--- /dev/null
+++ b/meta/lib/oeqa/runtime/files/config.ini
@@ -0,0 +1,10 @@
+[Connect]
+ssid_80211g=
+ssid_80211n=
+ssid_80211b=
+passwd_80211b=
+passwd_80211g=
+passwd_80211n=
+ssid_broadcast=
+passwd_broadcast=
+
diff --git a/meta/lib/oeqa/runtime/files/wifi_connect.exp 
b/meta/lib/oeqa/runtime/files/wifi_connect.exp
new file mode 100755
index 000..c0a0775
--- /dev/null
+++ b/meta/lib/oeqa/runtime/files/wifi_connect.exp
@@ -0,0 +1,47 @@
+#!/usr/bin/expect
+set timeout 100
+set login 0
+set ip   [lindex $argv 0]
+set cmd  [lindex $argv 1]
+set service  [lindex $argv 2]
+set password [lindex $argv 3]
+
+spawn ssh root@$ip -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no 
-o LogLevel=ERROR "$cmd"
+ expect {
+ "Agent registered"
+   {
+send "config $service --remove\n";
+sleep 2; send "connect $service\n"; exp_continue
+   }
+ "Operation timeout"
+   {
+sleep 1; send "connect $service\n"; exp_continue
+   }
+ "Operation aborted"
+   {
+sleep 1; send "connect $service\n"; exp_continue
+   }
+ "Input/output error"
+   {
+sleep 1; send "connect $service\n"; exp_continue
+   }
+ "Retry (yes/no)?"
+   {
+sleep 1; send "yes\n"; exp_continue
+   }
+ "Passphrase?"
+   {
+sleep 1; send "$password\n"; exp_continue
+   }
+ "Connected wifi*"
+   {
+send "exit\n"; exit 2
+   }
+ "connmanctl*"
+   {
+if {$login==0} {set login 1;send "agent on\n"; exp_continue} else 
{exp_continue}
+   }
+ eof
+   {}
+ }
+
diff --git a/meta/lib/oeqa/runtime/files/wifi_hidden_connect.exp 
b/meta/lib/oeqa/runtime/files/wifi_hidden_connect.exp
new file mode 100755
index 000..0e0f45f
--- /dev/null
+++ b/meta/lib/oeqa/runtime/files/wifi_hidden_connect.exp
@@ -0,0 +1,47 @@
+#!/usr/bin/expect
+set timeout 100
+set login 0
+set ip   [lindex $argv 0]
+set cmd  [lindex $argv 1]
+set service  [lindex $argv 2]
+set ssid [lindex $argv 3]
+set password [lindex $argv 4]
+
+spawn ssh root@$ip -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no 
-o LogLevel=ERROR "$cmd"
+ expect {
+ "Agent registered"
+   {
+sleep 1; send "connect $service\n"; exp_continue
+   }
+ "Operation timeout"
+   {
+sleep 1; send "connect $service\n"; exp_continue
+   }
+ "Input/output error"
+   {
+sleep 1; send "connect $service\n"; exp_continue
+   }
+ "Hidden SSID name?"
+   {
+sleep 1; send "$ssid\n"; exp_continue
+   }
+ "Retry (yes/no)?"
+   {
+sleep 1; send "yes\n"; exp_continue
+   }
+ "Passphrase?"
+   {
+sleep 1; send "$password\n"; exp_continue
+   }
+ "Connected wifi*"
+   {
+send "exit\n"; exit 2
+   }
+ "connmanctl*"
+   {
+if {$login==0} {set login 1;send "agent on\n"; exp_continue} else 
{exp_continue}
+   }
+ eof
+   {}
+ }
+
diff --git a/meta/lib/oeqa/runtime/wifi.py b/meta/lib/oeqa/runtime/wifi.py
new file mode 100644
index 000..c63a711
--- /dev/null
+++ b/meta/lib/oeqa/runtime/wifi.py
@@ -0,0 +1,195 @@
+import time
+import os
+import string
+import ConfigParser
+import unittest
+from oeqa.oetest import oeRuntimeTest
+from oeqa.utils.helper import shell_cmd_timeout
+from oeqa.utils.helper import get_files_dir
+from oeqa.utils.decorators import skipUnlessPassed
+
+def setUpModule():
+if not oeRuntimeTest.hasPackage("connman"):
+skipModule("Image does not have connection manager")
+
+ssid_config = ConfigParser.ConfigParser()
+config_path = os.path.join(os.path.dirname(__file__), "files/config.ini")
+ssid_config.readfp(open(config_path))
+
+class CommWiFiConect(oeRuntimeTest):
+
+@classmethod
+def setUpClass(self):
+(status, output) = oeRuntimeTest.tc.target.run('connmanctl enable 
wifi')
+if ("error" in output.lower()):
+raise unittest.SkipTest("Failed to enable wifi: %s " % output)
+oeRuntimeTest.tc.target.run('connmanctl disable wifi')
+
+hidden_service = ""
+def setUp(self):
+# un-block software rfkill lock
+self.target.run('rfkill unblock all')
+# Enable WiFi
+(status, 

[OE-core] can i use qemuppc to demo an example of using UIO?

2015-11-20 Thread Robert P. J. Day

  i'm not sure i've done enough research to even ask this question
intelligently, but can i use OE to build and demo what is described
here?

  http://nairobi-embedded.org/uio_example.html

while that article uses x86_64, i would *prefer* to use qemuppc as
that is the preferred target architecture, but i can always use x86_64
in a pinch.

  for a number of OE/embedded linux classes i'm going to be teaching
next year, i'm trying to shift a number of exercises from needing
actual hardware to using QEMU images, and this is something i'd dearly
love to be able to demo using QEMU.

  thoughts? i'm still digging into this, but can anyone point out any
obvious flaws in my plan? thanks.

rday

-- 


Robert P. J. Day Ottawa, Ontario, CANADA
http://crashcourse.ca

Twitter:   http://twitter.com/rpjday
LinkedIn:   http://ca.linkedin.com/in/rpjday


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


Re: [OE-core] Lots of [host-user-contaminated] warning

2015-11-20 Thread Max Krummenacher
Hi Andreas

Am Dienstag, den 17.11.2015, 09:46 +0100 schrieb Andreas Müller:
> Hi,
> 
> this bugs me for a while and I wonder if I am again the only one
> facing this: I get floods of warnings for sourcecode files as
> 
> WARNING: QA Issue: qtserialport:
> /qtserialport-dbg/usr/src/debug/qtserialport/5.5.99+5.6.0-alpha1
+gitAUTOINC+2575d33fab-r0/git/src/serialport/qserialport_p.h
> is owned by uid 1000, which is the same as the user running bitbake.
> This may be due to host contamination [host-user-contaminated]
> WARNING: QA Issue: qtx11extras:
> /qtx11extras-dbg/usr/src/debug/qtx11extras/5.5.99+5.6.0-alpha1
+gitAUTOINC+d64ee96f0d-r0/git/src/x11extras/qx11info_x11.cpp
> is owned by uid 1000, which is the same as the user running bitbake.
> This may be due to host contamination [host-user-contaminated]
> WARNING: QA Issue: qtxmlpatterns:
> /qtxmlpatterns-dbg/usr/src/debug/qtxmlpatterns/5.5.99+5.6.0-alpha1
+gitAUTOINC+94136d4280-r0/git/src/xmlpatterns/type/qbuiltintypes.cpp
> is owned by uid 1000, which is the same as the user running bitbake.
> This may be due to host contamination [host-user-contaminated]
> 
> I checked PACKAGE_DEBUG_SPLIT_STYLE is not set globally - few recipes
> set PACKAGE_DEBUG_SPLIT_STYLE to debug-without-src.
> 
> Help appreciated
> 
> Andreas

I see this also in my builds. The warnings clutter the build output in a
way that makes the warnings mostly useless. Who will spot the one
important new warning in the hundreds of host-user-contaminated ones?
A fresh build of core-image-minimal today gave me 54 of these warnings.
All but one (glibc-locale) complaining on source files.

I checked a few recipes and most of them were not even using a custom
do_install but autotools generated 'make install' with something like
'cp -p src/* dest/' or so.

Even if I know how to do it I think we should not patch upstream sources
to suppress a warning introduced by the downstream build system with
loads of false positives and then have to maintain the patches as
upstream is progressing.

I haven't looked into how one does it but I'm inclined to switch of the
warning globally, e.g. in local.conf.

Max

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


[OE-core] [PATCH 00/20] Proposed changes for fido

2015-11-20 Thread Joshua Lock
Please consider the following fixes, available in the joshuagl/fido-next
branch of openembedded-core-contrib, for the fido branch.

Regards,

Joshua

The following changes since commit f0873b83d693af4a103999160d67fcf25c7eedc1:

  build-appliance-image: Update to fido head revision (2015-09-29 14:59:41 
+0100)

are available in the git repository at:

  git://git.openembedded.org/openembedded-core-contrib joshuagl/fido-next
  
http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=joshuagl/fido-next

Adrian Calianu (1):
  Fix the big endian loader name

Andre McCurdy (5):
  uclibc: backport upstream fix for SH4
  libiconv_1.11.1: merge build and packaging fixes from libiconv_1.14
  libiconv_1.11.1: fix LICENSE declaration, LGPL -> LGPLv2.0
  gettext_0.16.1: remove obsolete uclibc specific patch
  gettext_0.16.1: add -lrt and -lpthread to LDFLAGS for uclibc builds

Aníbal Limón (1):
  bash: Disable custom memory allocator

Armin Kuster (3):
  libxslt: CVE-2015-7995
  tzcode: update to 2015g
  tzdata: update to 2015g

Haris Okanovic (1):
  openssh: Backport CVE-2015-5600 fix

Jonathan Liu (1):
  systemd: add PACKAGECONFIG for qrencode

Leonardo Sandoval (1):
  init-install-efi.sh: Avoid /mnt/mtab creation if already present

Martin Jansa (1):
  fontcache: allow to pass extra parameters and environment to fc-cache

Paul Eggleton (1):
  tzdata: reinstate changes reverted in 2014c upgrade

Reinette Chatre (1):
  systemd: fix tmpfiles location when multilib in use

Ross Burton (1):
  readline: actually apply readline63-003 (aka CVE-2014-2524)

Stefan Christ (1):
  systemd: fix networking setup when ipv6 modules are missing

Ting Liu (1):
  oprofile: update --with-kernel option to find perf_event.h

Tudor Florea (1):
  unzip: CVE-2015-7696, CVE-2015-7697

 meta/classes/fontcache.bbclass |  19 +-
 .../openssh/openssh/CVE-2015-5600.patch|  50 +
 meta/recipes-connectivity/openssh/openssh_6.7p1.bb |   1 +
 .../gettext-error_print_progname.patch |  19 --
 meta/recipes-core/gettext/gettext_0.16.1.bb|   4 +-
 .../AArch64-Fix-the-big-endian-loader-name.patch   |  49 +
 meta/recipes-core/glibc/glibc_2.21.bb  |   1 +
 .../initrdscripts/files/init-install-efi.sh|   6 +-
 .../{readline63-003 => readline63-003.patch}   |   0
 meta/recipes-core/readline/readline_6.3.bb |   2 +-
 ...-fix-IFF_UP-when-ipv6-support-is-disabled.patch |  78 
 meta/recipes-core/systemd/systemd_219.bb   |   6 +-
 meta/recipes-core/uclibc/uclibc-git.inc|   1 +
 .../ldso-mark-_dl_exit-as-noreturn.patch   |  48 +
 meta/recipes-extended/bash/bash.inc|   2 +-
 .../recipes-extended/tzcode/tzcode-native_2015d.bb |  11 --
 .../recipes-extended/tzcode/tzcode-native_2015g.bb |  25 +++
 meta/recipes-extended/tzdata/tzdata_2015g.bb   | 208 +
 .../unzip/unzip/CVE-2015-7696.patch|  38 
 .../unzip/unzip/CVE-2015-7697.patch|  31 +++
 meta/recipes-extended/unzip/unzip_6.0.bb   |   2 +
 meta/recipes-kernel/oprofile/oprofile.inc  |   2 +-
 meta/recipes-support/libiconv/libiconv_1.11.1.bb   |  17 +-
 .../libxslt/libxslt/CVE-2015-7995.patch|  33 
 meta/recipes-support/libxslt/libxslt_1.1.28.bb |   3 +-
 scripts/postinst-intercepts/update_font_cache  |   4 +-
 26 files changed, 612 insertions(+), 48 deletions(-)
 create mode 100644 
meta/recipes-connectivity/openssh/openssh/CVE-2015-5600.patch
 delete mode 100644 
meta/recipes-core/gettext/gettext-0.16.1/gettext-error_print_progname.patch
 create mode 100644 
meta/recipes-core/glibc/glibc/AArch64-Fix-the-big-endian-loader-name.patch
 rename meta/recipes-core/readline/readline-6.3/{readline63-003 => 
readline63-003.patch} (100%)
 create mode 100644 
meta/recipes-core/systemd/systemd/0016-networkd-fix-IFF_UP-when-ipv6-support-is-disabled.patch
 create mode 100644 
meta/recipes-core/uclibc/uclibc-git/ldso-mark-_dl_exit-as-noreturn.patch
 delete mode 100644 meta/recipes-extended/tzcode/tzcode-native_2015d.bb
 create mode 100644 meta/recipes-extended/tzcode/tzcode-native_2015g.bb
 create mode 100644 meta/recipes-extended/tzdata/tzdata_2015g.bb
 create mode 100644 meta/recipes-extended/unzip/unzip/CVE-2015-7696.patch
 create mode 100644 meta/recipes-extended/unzip/unzip/CVE-2015-7697.patch
 create mode 100644 meta/recipes-support/libxslt/libxslt/CVE-2015-7995.patch

-- 
2.4.3

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


Re: [OE-core] [PATCH 1/2] dbus: build with systemd support

2015-11-20 Thread Jussi Kukkonen
On 20 November 2015 at 16:38, Andrew Shadura 
wrote:
>
> It's good to have the extra functionality, such as seat support
> provided with systemd support. Not least of all to support
> systemd user-sessions.
>
> This commit also changes references to the system unit path
> from ${systemd_unitdir}/system to ${systemd_system_unitdir},
> a new variable provided by bitbake.
>
> Signed-off-by: Andrew Shadura 
> Signed-off-by: Joshua Lock 
> ---
>  meta/recipes-core/dbus/dbus_1.10.2.bb | 19 ---
>  1 file changed, 8 insertions(+), 11 deletions(-)
>
> diff --git a/meta/recipes-core/dbus/dbus_1.10.2.bb
b/meta/recipes-core/dbus/dbus_1.10.2.bb
> index 1abe067..f7ab39b 100644
> --- a/meta/recipes-core/dbus/dbus_1.10.2.bb
> +++ b/meta/recipes-core/dbus/dbus_1.10.2.bb
> @@ -68,7 +68,7 @@ FILES_${PN} = "${bindir}/dbus-daemon* \
> ${datadir}/dbus-1/session.conf \
> ${datadir}/dbus-1/system.d \
> ${datadir}/dbus-1/system.conf \
> -   ${systemd_unitdir}/system/"
> +   ${systemd_system_unitdir}"
>  FILES_${PN}-lib = "${libdir}/lib*.so.*"
>  RRECOMMENDS_${PN}-lib = "${PN}"
>  FILES_${PN}-dev += "${libdir}/dbus-1.0/include ${bindir}/dbus-glib-tool
${bindir}/dbus-test-tool"
> @@ -90,8 +90,7 @@ pkg_postinst_dbus() {
>  EXTRA_OECONF = "--disable-tests \
>  --disable-xml-docs \
>  --disable-doxygen-docs \
> ---disable-libaudit \
> ---disable-systemd"
> +--disable-libaudit"
>
>  EXTRA_OECONF_append_class-native = " --disable-selinux"
>
> @@ -100,9 +99,7 @@ PACKAGECONFIG ??=
"${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'systemd',
>  PACKAGECONFIG_class-native = ""
>  PACKAGECONFIG_class-nativesdk = ""
>
> -# Would like to --enable-systemd but that's a circular build-dependency
between
> -# systemd<->dbus

Has this issue been somehow resolved since the comment was added?

> -PACKAGECONFIG[systemd] =
"--with-systemdsystemunitdir=${systemd_unitdir}/system/,--without-systemdsystemunitdir"
> +PACKAGECONFIG[systemd] = "--enable-systemd
--with-systemdsystemunitdir=${systemd_system_unitdir},--disable-systemd
--without-systemdsystemunitdir,systemd"
>  PACKAGECONFIG[x11] = "--with-x --enable-x11-autolaunch,--without-x
--disable-x11-autolaunch, virtual/libx11 libsm"
>  PACKAGECONFIG[apparmor] =
"--enable-apparmor,--disable-apparmor,libapparmor"
>
> @@ -117,12 +114,12 @@ do_install() {
>
> if ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'true',
'false', d)}; then
> for i in dbus.target.wants sockets.target.wants
multi-user.target.wants; do \
> -   install -d ${D}${systemd_unitdir}/system/$i; done
> -   install -m 0644 ${B}/bus/dbus.service
${B}/bus/dbus.socket ${D}${systemd_unitdir}/system/
> +   install -d ${D}${systemd_system_unitdir}/$i; done
> +   install -m 0644 ${B}/bus/dbus.service
${B}/bus/dbus.socket ${D}${systemd_system_unitdir}/
> cd ${D}${systemd_unitdir}/system/dbus.target.wants/
> -   ln -fs ../dbus.socket
${D}${systemd_unitdir}/system/dbus.target.wants/dbus.socket
> -   ln -fs ../dbus.socket
${D}${systemd_unitdir}/system/sockets.target.wants/dbus.socket
> -   ln -fs ../dbus.service
${D}${systemd_unitdir}/system/multi-user.target.wants/dbus.service
> +   ln -fs ../dbus.socket
${D}${systemd_system_unitdir}/dbus.target.wants/dbus.socket
> +   ln -fs ../dbus.socket
${D}${systemd_system_unitdir}/sockets.target.wants/dbus.socket
> +   ln -fs ../dbus.service
${D}${systemd_system_unitdir}/multi-user.target.wants/dbus.service
> fi
>
> install -d ${D}${sysconfdir}/default/volatiles
> --
> 2.5.0
>
> --
> ___
> 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


Re: [OE-core] Jethro maintainer

2015-11-20 Thread Khem Raj
​Hi Richard

​Have you found maintainer for Jethro ?

if not I am available and we will use jethro in RDK as well

Thanks

-Khem

​
​

On Nov 6, 2015 5:28 AM, "Richard Purdie" 
wrote:
>
> We've going to need a new stable maintainer for the new release. There
> have already been a  couple of offers, but to be fair to everyone I
> thought I'd explicitly ask if there was anyone else interested?
>
> Cheers,
>
> Richard
>
> --
> ___
> 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


Re: [OE-core] [PATCH 1/2] dbus: build with systemd support

2015-11-20 Thread Andrew Shadura
On 20/11/15 17:09, Jussi Kukkonen wrote:
>>  PACKAGECONFIG_class-native = ""
>>  PACKAGECONFIG_class-nativesdk = ""
>>
>> -# Would like to --enable-systemd but that's a circular
> build-dependency between
>> -# systemd<->dbus
> 
> Has this issue been somehow resolved since the comment was added?

Yes, systemd doesn't depend on dbus any longer unless explicitly
enabled, as it uses its own dbus library.

-- 
Cheers,
  Andrew



signature.asc
Description: OpenPGP digital signature
-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


[OE-core] Yocto Project Status WW47

2015-11-20 Thread Jolley, Stephen K
Current Dev Position: YP 2.1 M1

Next Deadline: YP 2.1 M1 Cutoff December 7, 2015 noon GMT


SWAT team rotation: Jussi -> Alejandro

https://wiki.yoctoproject.org/wiki/Yocto_Build_Failure_Swat_Team


Key Status/Updates:

* YP 2.1 Planning is nearing completion.

* Patches continuing to merge into master to start 2.1 development 
process


Key YP 2.1 Dates:

YP 2.1 M1 Cutoff (Feature Freeze) date is December 7, 2015 noon GMT

YP 2.1 M1 Target release date is December 24, 2015

YP 2.1 M2 Cutoff (Feature Freeze) date is January 25, 2016 noon GMT

YP 2.1 M2 Target release date is February 12, 2016

YP 2.1 M3 Cutoff (Feature Freeze) date is February 29, 2016 noon GMT

YP 2.1 M3 Target release date is March 18, 2016

YP 2.1 M4 / Final Cutoff: March 28, 2016 noon GMT - Stabilization only 
milestone.

YP 2.1 Final Release Target: April 29, 2016


Key Status Links for YP:

https://wiki.yoctoproject.org/wiki/Yocto_Project_v2.1_Status

https://wiki.yoctoproject.org/wiki/Yocto_2.1_Schedule

https://wiki.yoctoproject.org/wiki/Yocto_2.1_Features


Tracking Metrics:

WDD 2162 (last week 2181)

(https://wiki.yoctoproject.org/charts/combo.html)


[If anyone has suggestions for other information you'd like to see on this 
weekly status update, let us know!]

Thanks,

Stephen K. Jolley
Yocto Project Program Manager
INTEL, MS JF1-255, 2111 N.E. 25th Avenue, Hillsboro, OR 97124
*   Work Telephone:  (503) 712-0534
*Cell:(208) 244-4460
* Email: stephen.k.jol...@intel.com

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


Re: [OE-core] [oe-core][fido][PATCH] [AArch64] Fix the big endian loader name

2015-11-20 Thread Joshua Lock

Adrian,

On 19/11/15 14:47, Adrian Calianu wrote:

Backported from glibc 2.22 (master)


Thanks for this change, after fleshing out the commit message a bit[1] 
I've queued it for inclusion in my latest pull request for fido.


Regards,

Joshua

1. 
http://cgit.openembedded.org/openembedded-core-contrib/commit/?h=joshuagl/fido-next=513e52670ea52e8143f46777accf441bb5c299fa



Signed-off-by: Adrian Calianu 
---
  .../AArch64-Fix-the-big-endian-loader-name.patch   | 49 ++
  meta/recipes-core/glibc/glibc_2.21.bb  |  1 +
  2 files changed, 50 insertions(+)
  create mode 100644 
meta/recipes-core/glibc/glibc/AArch64-Fix-the-big-endian-loader-name.patch

diff --git 
a/meta/recipes-core/glibc/glibc/AArch64-Fix-the-big-endian-loader-name.patch 
b/meta/recipes-core/glibc/glibc/AArch64-Fix-the-big-endian-loader-name.patch
new file mode 100644
index 000..fd2bd8e
--- /dev/null
+++ b/meta/recipes-core/glibc/glibc/AArch64-Fix-the-big-endian-loader-name.patch
@@ -0,0 +1,49 @@
+[AArch64] Fix the big endian loader name
+
+Signed-off-by: Szabolcs Nagy  
+
+The patch was imported from the glibc's official git server
+(https://sourceware.org/git/?p=glibc.git) as of commit id
+44cb254f9a024db33ba549e59dc9d90355b797c9.
+
+Fixed conflicts raised on glibc 2.21.
+
+Upstream-Status: Backport [glibc 2.22]
+
+Signed-off-by: Adrian Calianu 
+---
+ ChangeLog   | 5 +
+ config.h.in | 3 +++
+ 2 files changed, 8 insertions(+)
+
+diff --git a/ChangeLog b/ChangeLog
+index dc1ed1b..503ad41 100644
+--- a/ChangeLog
 b/ChangeLog
+@@ -56278,4 +56278,9 @@
+   added check.  Only act on the data if no current modification
+   happened.
+
++2015-05-01  Szabolcs Nagy  
++
++* config.h.in (HAVE_AARCH64_BE): Add.
++
++
+ See ChangeLog.17 for earlier changes.
+diff --git a/config.h.in b/config.h.in
+index 695ca35..85c1761 100644
+--- a/config.h.in
 b/config.h.in
+@@ -114,6 +114,9 @@
+include/libc-symbols.h that avoid PLT slots in the shared objects.  */
+ #undefNO_HIDDEN
+
++/* AArch64 big endian ABI */
++#undef HAVE_AARCH64_BE
++
+
+ /* Defined to some form of __attribute__ ((...)) if the compiler supports
+a different, more efficient calling convention.  */
+--
+1.9.1
+
diff --git a/meta/recipes-core/glibc/glibc_2.21.bb 
b/meta/recipes-core/glibc/glibc_2.21.bb
index a0b2f2d..3bba734 100644
--- a/meta/recipes-core/glibc/glibc_2.21.bb
+++ b/meta/recipes-core/glibc/glibc_2.21.bb
@@ -30,6 +30,7 @@ SRC_URI = 
"git://sourceware.org/git/glibc.git;branch=${BRANCH} \
 file://Fix-__memcpy_chk-on-non-SSE2-CPUs.patch \
 ${EGLIBCPATCHES} \
 ${CVEPATCHES} \
+   file://AArch64-Fix-the-big-endian-loader-name.patch \
"
  EGLIBCPATCHES = "\
 file://timezone-re-written-tzselect-as-posix-sh.patch \



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


[OE-core] [PATCH] iw: upgrade to version 4.3

2015-11-20 Thread Maxin B. John
Refreshed the following patches to work with this release:
 1) 0001-iw-version.sh-don-t-use-git-describe-for-versioning.patch
 2) separate-objdir.patch

Signed-off-by: Maxin B. John 
---
 sh-don-t-use-git-describe-for-versioning.patch | 20 
 .../iw/iw/separate-objdir.patch| 36 +-
 .../iw/{iw_4.1.bb => iw_4.3.bb}|  4 +--
 3 files changed, 15 insertions(+), 45 deletions(-)
 rename meta/recipes-connectivity/iw/{iw_4.1.bb => iw_4.3.bb} (86%)

diff --git 
a/meta/recipes-connectivity/iw/iw/0001-iw-version.sh-don-t-use-git-describe-for-versioning.patch
 
b/meta/recipes-connectivity/iw/iw/0001-iw-version.sh-don-t-use-git-describe-for-versioning.patch
index a0a77b2..2e52c80 100644
--- 
a/meta/recipes-connectivity/iw/iw/0001-iw-version.sh-don-t-use-git-describe-for-versioning.patch
+++ 
b/meta/recipes-connectivity/iw/iw/0001-iw-version.sh-don-t-use-git-describe-for-versioning.patch
@@ -1,6 +1,3 @@
-From 5310abba864cfe3a8b65af130729447604190b29 Mon Sep 17 00:00:00 2001
-From: Koen Kooi 
-Date: Tue, 29 Nov 2011 17:03:27 +0100
 Subject: [PATCH] iw: version.sh: don't use git describe for versioning
 
 It will detect top-level git repositories like the Angstrom setup-scripts and 
break.
@@ -8,21 +5,18 @@ It will detect top-level git repositories like the Angstrom 
setup-scripts and br
 Upstream-Status: Pending
 
 Signed-off-by: Koen Kooi 
+Signed-off-by: Maxin B. John 
 ---
- version.sh | 16 +---
- 1 file changed, 1 insertion(+), 15 deletions(-)
-
-diff --git a/version.sh b/version.sh
-index 11d124b..5d423c4 100755
 a/version.sh
-+++ b/version.sh
+diff -Naur iw-4.3-origin/version.sh iw-4.3/version.sh
+--- iw-4.3-origin/version.sh   2015-11-20 16:37:58.762077162 +0200
 iw-4.3/version.sh  2015-11-20 16:52:05.526491150 +0200
 @@ -3,21 +3,7 @@
- VERSION="3.15"
+ VERSION="4.3"
  OUT="$1"
  
 -if [ -d .git ] && head=`git rev-parse --verify HEAD 2>/dev/null`; then
 -  git update-index --refresh --unmerged > /dev/null
--  descr=$(git describe)
+-  descr=$(git describe --match=v*)
 -
 -  # on git builds check that the version number above
 -  # is correct...
@@ -39,5 +33,3 @@ index 11d124b..5d423c4 100755
  
  echo '#include "iw.h"' > "$OUT"
  echo "const char iw_version[] = \"$v\";" >> "$OUT"
--- 
-1.7.7.3
diff --git a/meta/recipes-connectivity/iw/iw/separate-objdir.patch 
b/meta/recipes-connectivity/iw/iw/separate-objdir.patch
index 883f8b2..0ea6a52 100644
--- a/meta/recipes-connectivity/iw/iw/separate-objdir.patch
+++ b/meta/recipes-connectivity/iw/iw/separate-objdir.patch
@@ -1,6 +1,3 @@
-From 9e27fc2e1b3dc8c36ef6a502edffc3a3d84d9dd9 Mon Sep 17 00:00:00 2001
-From: Christopher Larson 
-Date: Wed, 26 Aug 2015 17:23:48 -0700
 Subject: [PATCH] Support separation of SRCDIR and OBJDIR
 
 Typical use of VPATH to locate the sources.
@@ -8,26 +5,21 @@ Typical use of VPATH to locate the sources.
 Upstream-Status: Pending
 
 Signed-off-by: Christopher Larson 
-
+Signed-off-by: Maxin B. John 
 ---
- Makefile   | 7 +--
- version.sh | 2 +-
- 2 files changed, 6 insertions(+), 3 deletions(-)
-
-diff --git a/Makefile b/Makefile
-index 548591a..da8d33a 100644
 a/Makefile
-+++ b/Makefile
-@@ -1,5 +1,8 @@
+diff -Naur iw-4.3-origin/Makefile iw-4.3/Makefile
+--- iw-4.3-origin/Makefile 2015-11-20 16:37:58.752077287 +0200
 iw-4.3/Makefile2015-11-20 16:57:15.510615815 +0200
+@@ -1,5 +1,7 @@
  MAKEFLAGS += --no-print-directory
- 
+-
 +SRCDIR ?= $(dir $(lastword $(MAKEFILE_LIST)))
 +OBJDIR ?= $(PWD)
 +VPATH = $(SRCDIR)
  PREFIX ?= /usr
  SBINDIR ?= $(PREFIX)/sbin
  MANDIR ?= $(PREFIX)/share/man
-@@ -95,11 +98,11 @@ VERSION_OBJS := $(filter-out version.o, $(OBJS))
+@@ -95,11 +97,11 @@
  version.c: version.sh $(patsubst %.o,%.c,$(VERSION_OBJS)) nl80211.h iw.h 
Makefile \
$(wildcard .git/index .git/refs/tags)
@$(NQ) ' GEN ' $@
@@ -41,17 +33,3 @@ index 548591a..da8d33a 100644
  
  ifeq ($(IW_ANDROID_BUILD),)
  iw:   $(OBJS)
-diff --git a/version.sh b/version.sh
-index 5354383..fa954cf 100755
 a/version.sh
-+++ b/version.sh
-@@ -5,5 +5,5 @@ OUT="$1"
- 
- v="$VERSION"
- 
--echo '#include "iw.h"' > "$OUT"
-+echo '#include ' > "$OUT"
- echo "const char iw_version[] = \"$v\";" >> "$OUT"
--- 
-2.2.1
-
diff --git a/meta/recipes-connectivity/iw/iw_4.1.bb 
b/meta/recipes-connectivity/iw/iw_4.3.bb
similarity index 86%
rename from meta/recipes-connectivity/iw/iw_4.1.bb
rename to meta/recipes-connectivity/iw/iw_4.3.bb
index fafb0e3..6865e7a 100644
--- a/meta/recipes-connectivity/iw/iw_4.1.bb
+++ b/meta/recipes-connectivity/iw/iw_4.3.bb
@@ -14,8 +14,8 @@ SRC_URI = 
"http://www.kernel.org/pub/software/network/iw/${BP}.tar.gz \
file://separate-objdir.patch \
 "
 
-SRC_URI[md5sum] = "68c282285c71c956069957e9ca10a6a7"

Re: [OE-core] back port for Fido

2015-11-20 Thread Joshua Lock

On 20/11/15 15:14, akuster808 wrote:

can we get the following commit backported to Fido if it is not queued
up already?

bash: Disable custom memory allocator
05594f86366d97975501ffd84886d37f0c72e238


Thanks Armin,

This has been queued and included in my latest merge request.

Regards,

Joshua


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


Re: [OE-core] [PATCHv2 6/6] psplash: add systemd support

2015-11-20 Thread Ross Burton

On 18/11/2015 02:03, Christopher Larson wrote:

Interesting, is psplash configured in our test environment? Either way,
worst case we can drop this commit for now and can revisit it. I'm
heading out of town tomorrow until December 1st, so likely will be
limited in what I can do to address any issues that crop up during that
period. Thanks.


It should be working - at least the sysvinit images work absolutely fine 
and show the splash.  I'll add giving this a go locally to my list of 
things to do.


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


Re: [OE-core] [PATCH 00/11] busybox fixes and cleanups + update 1.23.2 -> 1.24.1

2015-11-20 Thread Ross Burton

Hi Andre,

On 19/11/2015 21:08, Andre McCurdy wrote:

I'm planning to refresh these patches one more time to remove "-e"
from EXTRA_OEMAKE.

Is there anything else which needs fixing or dropping before these
patches are suitable for merging to master?


I've not punished your patches on the autobuilder, but they look fine. 
I'll wait for a V2 before testing them.


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


[OE-core] [PATCHv4 4/6] license.bbclass: Added function get_deployed_dependencies

2015-11-20 Thread mariano . lopez
From: Mariano Lopez 

This change introduce a new function to get the dependencies
that were deployed. It uses BB_TASKDEPDATAto get all the
dependencies of the current task, so it is possible to get
different packages depending at what point this function is
called.

[YOCTO #6772]

Signed-off-by: Mariano Lopez 
---
 meta/classes/license.bbclass | 48 
 1 file changed, 48 insertions(+)

diff --git a/meta/classes/license.bbclass b/meta/classes/license.bbclass
index 457ad85..11a5004 100644
--- a/meta/classes/license.bbclass
+++ b/meta/classes/license.bbclass
@@ -141,6 +141,54 @@ def write_license_files(d, license_manifest, pkg_dic):
 os.link(pkg_license, pkg_rootfs_license)
 
 
+def get_deployed_dependencies(d):
+"""
+Get all the deployed dependencies of an image
+"""
+
+deploy = {}
+# Get all the dependencies for the current task (rootfs).
+# Also get EXTRA_IMAGEDEPENDS because the bootloader is
+# usually in this var and not listed in rootfs.
+# At last, get the dependencies from boot classes because
+# it might contain the bootloader.
+taskdata = d.getVar("BB_TASKDEPDATA", True)
+depends = list(set([dep[0] for dep
+in taskdata.itervalues()
+if not dep[0].endswith("-native")]))
+extra_depends = d.getVar("EXTRA_IMAGEDEPENDS", True)
+boot_depends = get_boot_dependencies(d)
+depends.extend(extra_depends.split())
+depends.extend(boot_depends)
+depends = list(set(depends))
+
+# To verify what was deployed it checks the rootfs dependencies against
+# the SSTATE_MANIFESTS for "deploy" task.
+# The manifest file name contains the arch. Because we are not running
+# in the recipe context it is necessary to check every arch used.
+sstate_manifest_dir = d.getVar("SSTATE_MANIFESTS", True)
+sstate_archs = d.getVar("SSTATE_ARCHS", True)
+extra_archs = d.getVar("PACKAGE_EXTRA_ARCHS", True)
+archs = list(set(("%s %s" % (sstate_archs, extra_archs)).split()))
+for dep in depends:
+# Some recipes have an arch on their own, so we try that first.
+special_arch = d.getVar("PACKAGE_ARCH_pn-%s" % dep, True)
+if special_arch:
+sstate_manifest_file = os.path.join(sstate_manifest_dir,
+"manifest-%s-%s.deploy" % (special_arch, dep))
+if os.path.exists(sstate_manifest_file):
+deploy[dep] = sstate_manifest_file
+continue
+
+for arch in archs:
+sstate_manifest_file = os.path.join(sstate_manifest_dir,
+"manifest-%s-%s.deploy" % (arch, dep))
+if os.path.exists(sstate_manifest_file):
+deploy[dep] = sstate_manifest_file
+break
+
+return deploy
+
 def get_boot_dependencies(d):
 """
 Return the dependencies from boot tasks
-- 
1.8.4.5

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


[OE-core] [PATCHv4 6/6] license.bbclass: Create image license manifest

2015-11-20 Thread mariano . lopez
From: Mariano Lopez 

This change adds the license_deployed_manifest function
that will create the manifest for the packages deployed
next to the image but not installed in rootfs. Some
examples of these recipes would be the bootloaders, or
the kernel.

This new function was added to ROOTFS_POSTPROCESS_COMMAND
so it will run after every rootfs task.

This change also modify the write_license_files because
the image manifest is different from the root manifest.

[YOCTO #6772]

Signed-off-by: Mariano Lopez 
---
 meta/classes/license.bbclass | 62 
 1 file changed, 51 insertions(+), 11 deletions(-)

diff --git a/meta/classes/license.bbclass b/meta/classes/license.bbclass
index b7e14c77d..f3cbb7d 100644
--- a/meta/classes/license.bbclass
+++ b/meta/classes/license.bbclass
@@ -25,6 +25,10 @@ python write_package_manifest() {
 'w+').write(image_list_installed_packages(d))
 }
 
+python write_deploy_manifest() {
+license_deployed_manifest(d)
+}
+
 python license_create_manifest() {
 import oe.packagedata
 from oe.rootfs import image_list_installed_packages
@@ -70,16 +74,24 @@ def write_license_files(d, license_manifest, pkg_dic):
 pkg_dic[pkg]["LICENSES"] = re.sub('  *', ' ', 
pkg_dic[pkg]["LICENSES"])
 pkg_dic[pkg]["LICENSES"] = pkg_dic[pkg]["LICENSES"].split()
 
-license_file.write("PACKAGE NAME: %s\n" % pkg)
-license_file.write("PACKAGE VERSION: %s\n" % pkg_dic[pkg]["PV"])
-license_file.write("RECIPE NAME: %s\n" % pkg_dic[pkg]["PN"])
-license_file.write("LICENSE: %s\n\n" % pkg_dic[pkg]["LICENSE"])
-
-# If the package doesn't contain any file, that is, its size is 0, 
the license
-# isn't relevant as far as the final image is concerned. So doing 
license check
-# doesn't make much sense, skip it.
-if pkg_dic[pkg]["PKGSIZE_%s" % pkg] == "0":
-continue
+if not "IMAGE_MANIFEST" in pkg_dic[pkg]:
+# Rootfs manifest
+license_file.write("PACKAGE NAME: %s\n" % pkg)
+license_file.write("PACKAGE VERSION: %s\n" % 
pkg_dic[pkg]["PV"])
+license_file.write("RECIPE NAME: %s\n" % pkg_dic[pkg]["PN"])
+license_file.write("LICENSE: %s\n\n" % pkg_dic[pkg]["LICENSE"])
+
+# If the package doesn't contain any file, that is, its size 
is 0, the license
+# isn't relevant as far as the final image is concerned. So 
doing license check
+# doesn't make much sense, skip it.
+if pkg_dic[pkg]["PKGSIZE_%s" % pkg] == "0":
+continue
+else:
+# Image manifest
+license_file.write("RECIPE NAME: %s\n" % pkg_dic[pkg]["PN"])
+license_file.write("VERSION: %s\n" % pkg_dic[pkg]["PV"])
+license_file.write("LICENSE: %s\n" % pkg_dic[pkg]["LICENSE"])
+license_file.write("FILES: %s\n\n" % pkg_dic[pkg]["FILES"])
 
 for lic in pkg_dic[pkg]["LICENSES"]:
 lic_file = os.path.join(d.getVar('LICENSE_DIRECTORY', True),
@@ -141,6 +153,34 @@ def write_license_files(d, license_manifest, pkg_dic):
 os.link(pkg_license, pkg_rootfs_license)
 
 
+def license_deployed_manifest(d):
+"""
+Write the license manifest for the deployed recipes.
+The deployed recipes usually includes the bootloader
+and extra files to boot the target.
+"""
+
+dep_dic = {}
+man_dic = {}
+lic_dir = d.getVar("LICENSE_DIRECTORY", True)
+
+dep_dic = get_deployed_dependencies(d)
+for dep in dep_dic.keys():
+man_dic[dep] = {}
+# It is necessary to mark this will be used for image manifest
+man_dic[dep]["IMAGE_MANIFEST"] = True
+man_dic[dep]["PN"] = dep
+man_dic[dep]["FILES"] = \
+" ".join(get_deployed_files(dep_dic[dep]))
+with open(os.path.join(lic_dir, dep, "recipeinfo"), "r") as f:
+for line in f.readlines():
+key,val = line.split(": ", 1)
+man_dic[dep][key] = val[:-1]
+
+image_license_manifest = os.path.join(d.getVar('LICENSE_DIRECTORY', True),
+d.getVar('IMAGE_NAME', True), 'image_license.manifest')
+write_license_files(d, image_license_manifest, man_dic)
+
 def get_deployed_dependencies(d):
 """
 Get all the deployed dependencies of an image
@@ -591,7 +631,7 @@ SSTATETASKS += "do_populate_lic"
 do_populate_lic[sstate-inputdirs] = "${LICSSTATEDIR}"
 do_populate_lic[sstate-outputdirs] = "${LICENSE_DIRECTORY}/"
 
-ROOTFS_POSTPROCESS_COMMAND_prepend = "write_package_manifest; 
license_create_manifest; "
+ROOTFS_POSTPROCESS_COMMAND_prepend = "write_package_manifest; 
write_deploy_manifest; license_create_manifest; "
 
 do_populate_lic_setscene[dirs] = 

[OE-core] [PATCHv4 5/6] license.bbclass: Add function get_deployed_files

2015-11-20 Thread mariano . lopez
From: Mariano Lopez 

This function will get the files that were deployed using
the sstate-control manifest file. This will give a better
view of what was deployed next to the image.

[YOCTO #6772]

Signed-off-by: Mariano Lopez 
---
 meta/classes/license.bbclass | 15 +++
 1 file changed, 15 insertions(+)

diff --git a/meta/classes/license.bbclass b/meta/classes/license.bbclass
index 11a5004..b7e14c77d 100644
--- a/meta/classes/license.bbclass
+++ b/meta/classes/license.bbclass
@@ -225,6 +225,21 @@ def get_boot_dependencies(d):
 break
 return depends
 
+def get_deployed_files(man_file):
+"""
+Get the files deployed from the sstate manifest
+"""
+
+dep_files = []
+excluded_files = ["README_-_DO_NOT_DELETE_FILES_IN_THIS_DIRECTORY.txt"]
+with open(man_file, "r") as manifest:
+all_files = manifest.read()
+for f in all_files.splitlines():
+if ((not (os.path.islink(f) or os.path.isdir(f))) and
+not os.path.basename(f) in excluded_files):
+dep_files.append(os.path.basename(f))
+return dep_files
+
 python do_populate_lic() {
 """
 Populate LICENSE_DIRECTORY with licenses.
-- 
1.8.4.5

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


[OE-core] [PATCHv4 2/6] license.bbclass: Split license create manifest

2015-11-20 Thread mariano . lopez
From: Mariano Lopez 

This changes moves the writing of the licenses to a
separated function that could be called for other packages.

With these change it will be easier to reuse the writing of
the license for the packages deployed but not installed in
the rootfs.

[YOCTO #6772]

Signed-off-by: Mariano Lopez 
---
 meta/classes/license.bbclass | 36 ++--
 1 file changed, 22 insertions(+), 14 deletions(-)

diff --git a/meta/classes/license.bbclass b/meta/classes/license.bbclass
index 76f40c9..83ae771 100644
--- a/meta/classes/license.bbclass
+++ b/meta/classes/license.bbclass
@@ -26,14 +26,9 @@ python write_package_manifest() {
 }
 
 python license_create_manifest() {
-import re
 import oe.packagedata
 from oe.rootfs import image_list_installed_packages
 
-bad_licenses = (d.getVar("INCOMPATIBLE_LICENSE", True) or "").split()
-bad_licenses = map(lambda l: canonical_license(d, l), bad_licenses)
-bad_licenses = expand_wildcard_licenses(d, bad_licenses)
-
 build_images_from_feeds = d.getVar('BUILD_IMAGES_FROM_FEEDS', True)
 if build_images_from_feeds == "1":
 return 0
@@ -49,8 +44,18 @@ python license_create_manifest() {
 pkg_lic_name = "LICENSE_" + pkg_name
 pkg_dic[pkg_name]["LICENSE"] = pkg_dic[pkg_name][pkg_lic_name]
 
-license_manifest = os.path.join(d.getVar('LICENSE_DIRECTORY', True),
+rootfs_license_manifest = os.path.join(d.getVar('LICENSE_DIRECTORY', True),
 d.getVar('IMAGE_NAME', True), 'license.manifest')
+write_license_files(d, rootfs_license_manifest, pkg_dic)
+}
+
+def write_license_files(d, license_manifest, pkg_dic):
+import re
+
+bad_licenses = (d.getVar("INCOMPATIBLE_LICENSE", True) or "").split()
+bad_licenses = map(lambda l: canonical_license(d, l), bad_licenses)
+bad_licenses = expand_wildcard_licenses(d, bad_licenses)
+
 with open(license_manifest, "w") as license_file:
 for pkg in sorted(pkg_dic):
 if bad_licenses:
@@ -98,15 +103,16 @@ python license_create_manifest() {
 if copy_lic_manifest == "1":
 rootfs_license_dir = os.path.join(d.getVar('IMAGE_ROOTFS', 'True'), 
 'usr', 'share', 'common-licenses')
-os.makedirs(rootfs_license_dir)
+bb.utils.mkdirhier(rootfs_license_dir)
 rootfs_license_manifest = os.path.join(rootfs_license_dir,
-'license.manifest')
-os.link(license_manifest, rootfs_license_manifest)
+os.path.split(license_manifest)[1])
+if not os.path.exists(rootfs_license_manifest):
+os.link(license_manifest, rootfs_license_manifest)
 
 if copy_lic_dirs == "1":
 for pkg in sorted(pkg_dic):
 pkg_rootfs_license_dir = os.path.join(rootfs_license_dir, pkg)
-os.makedirs(pkg_rootfs_license_dir)
+bb.utils.mkdirhier(pkg_rootfs_license_dir)
 pkg_license_dir = os.path.join(d.getVar('LICENSE_DIRECTORY', 
True),
 pkg_dic[pkg]["PN"]) 
 licenses = os.listdir(pkg_license_dir)
@@ -124,14 +130,16 @@ python license_create_manifest() {
 if not os.path.exists(rootfs_license):
 os.link(pkg_license, rootfs_license)
 
-os.symlink(os.path.join('..', lic), pkg_rootfs_license)
+if not os.path.exists(pkg_rootfs_license):
+os.symlink(os.path.join('..', lic), 
pkg_rootfs_license)
 else:
-if oe.license.license_ok(canonical_license(d,
-lic), bad_licenses) == False:
+if (oe.license.license_ok(canonical_license(d,
+lic), bad_licenses) == False or
+os.path.exists(pkg_rootfs_license)):
 continue
 
 os.link(pkg_license, pkg_rootfs_license)
-}
+
 
 python do_populate_lic() {
 """
-- 
1.8.4.5

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


[OE-core] [PATCH] populate_sdk_ext.bbclass: Be more permissive on the name of the buildtools

2015-11-20 Thread Mark Hatle
We want to support different names for the buildtools tarball.  The
name may not always be of the default oe-core format.

For instance, at Wind River we define the built-tools name to be:

${SDK_ARCH}-buildtools-nativesdk-standalone-${DISTRO_VERSION}

because thes standard SDK_NAME has additional information that is not 
relevant to the builtools tarball.

Signed-off-by: Mark Hatle 
---
 meta/classes/populate_sdk_ext.bbclass | 5 +
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/meta/classes/populate_sdk_ext.bbclass 
b/meta/classes/populate_sdk_ext.bbclass
index 249ec36..e4e0233 100644
--- a/meta/classes/populate_sdk_ext.bbclass
+++ b/meta/classes/populate_sdk_ext.bbclass
@@ -187,10 +187,7 @@ python copy_buildsystem () {
 }
 
 def extsdk_get_buildtools_filename(d):
-# This is somewhat of a hack
-localdata = bb.data.createCopy(d)
-localdata.setVar('PN', 'buildtools-tarball')
-return localdata.expand('${SDK_NAME}-buildtools-nativesdk-standalone-*.sh')
+return '*-buildtools-nativesdk-standalone-*.sh'
 
 install_tools() {
install -d ${SDK_OUTPUT}/${SDKPATHNATIVE}${bindir_nativesdk}
-- 
2.5.0

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


[OE-core] [PATCHv4 3/6] license.bbclass: Added get_boot_dependencies function

2015-11-20 Thread mariano . lopez
From: Mariano Lopez 

This function gets the dependencies from the classes that
create a boot image, this is required because sometimes
the bootloader dependecy is in these classes. The current
classes covered are bootimg and bootdirectdisk because
these are the only clases that add dependencies.

[YOCTO #6772]

Signed-off-by: Mariano Lopez 
---
 meta/classes/license.bbclass | 36 
 1 file changed, 36 insertions(+)

diff --git a/meta/classes/license.bbclass b/meta/classes/license.bbclass
index 83ae771..457ad85 100644
--- a/meta/classes/license.bbclass
+++ b/meta/classes/license.bbclass
@@ -141,6 +141,42 @@ def write_license_files(d, license_manifest, pkg_dic):
 os.link(pkg_license, pkg_rootfs_license)
 
 
+def get_boot_dependencies(d):
+"""
+Return the dependencies from boot tasks
+"""
+
+depends = []
+boot_depends_string = ""
+taskdepdata = d.getVar("BB_TASKDEPDATA", True)
+# Only bootimg and bootdirectdisk include the depends flag
+boot_tasks = ["do_bootimg", "do_bootdirectdisk",]
+
+for task in boot_tasks:
+boot_depends_string = "%s %s" % (boot_depends_string,
+d.getVarFlag(task, "depends", True) or "")
+boot_depends = [dep.split(":")[0] for dep
+in boot_depends_string.split()
+if not dep.split(":")[0].endswith("-native")]
+for dep in boot_depends:
+info_file = os.path.join(d.getVar("LICENSE_DIRECTORY", True),
+dep, "recipeinfo")
+# If the recipe and dependency name is the same
+if os.path.exists(info_file):
+depends.append(dep)
+# We need to search for the provider of the dependency
+else:
+for taskdep in taskdepdata.itervalues():
+# The fifth field contains what the task provides
+if dep in taskdep[4]:
+info_file = os.path.join(
+d.getVar("LICENSE_DIRECTORY", True),
+taskdep[0], "recipeinfo")
+if os.path.exists(info_file):
+depends.append(taskdep[0])
+break
+return depends
+
 python do_populate_lic() {
 """
 Populate LICENSE_DIRECTORY with licenses.
-- 
1.8.4.5

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


[OE-core] [PATCHv4 1/6] license.bbclass: Write recipeinfo file in license folder

2015-11-20 Thread mariano . lopez
From: Mariano Lopez 

Currently there is no way to get the recipe version when
creating the rootfs. It is needed because the manifest
file for the image has to contain this important piece
of information.

This change writes a new file in the license folder for
every recipe. This file is called "recipeinfo" and have
the information used to write the manifest file for the
recipes deployed next to the image.

[YOCTO #6772]

Signed-off-by: Mariano Lopez 
---
 meta/classes/license.bbclass | 11 +++
 1 file changed, 11 insertions(+)

diff --git a/meta/classes/license.bbclass b/meta/classes/license.bbclass
index c616a20..76f40c9 100644
--- a/meta/classes/license.bbclass
+++ b/meta/classes/license.bbclass
@@ -142,6 +142,10 @@ python do_populate_lic() {
 # The base directory we wrangle licenses to
 destdir = os.path.join(d.getVar('LICSSTATEDIR', True), d.getVar('PN', 
True))
 copy_license_files(lic_files_paths, destdir)
+info = get_recipe_info(d)
+with open(os.path.join(destdir, "recipeinfo"), "w") as f:
+for key in sorted(info.keys()):
+f.write("%s: %s\n" % (key, info[key]))
 }
 
 # it would be better to copy them in do_install_append, but 
find_license_filesa is python
@@ -156,6 +160,13 @@ python perform_packagecopy_prepend () {
 add_package_and_files(d)
 }
 
+def get_recipe_info(d):
+info = {}
+info["PV"] = d.getVar("PV", True)
+info["PR"] = d.getVar("PR", True)
+info["LICENSE"] = d.getVar("LICENSE", True)
+return info
+
 def add_package_and_files(d):
 packages = d.getVar('PACKAGES', True)
 files = d.getVar('LICENSE_FILES_DIRECTORY', True)
-- 
1.8.4.5

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


[OE-core] [PATCH] sqlite3: update 3.9.0 -> 3.9.2

2015-11-20 Thread Andre McCurdy
Signed-off-by: Andre McCurdy 
---
 meta/recipes-support/sqlite/{sqlite3_3.9.0.bb => sqlite3_3.9.2.bb} | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)
 rename meta/recipes-support/sqlite/{sqlite3_3.9.0.bb => sqlite3_3.9.2.bb} (81%)

diff --git a/meta/recipes-support/sqlite/sqlite3_3.9.0.bb 
b/meta/recipes-support/sqlite/sqlite3_3.9.2.bb
similarity index 81%
rename from meta/recipes-support/sqlite/sqlite3_3.9.0.bb
rename to meta/recipes-support/sqlite/sqlite3_3.9.2.bb
index 50531ba..83685e0 100644
--- a/meta/recipes-support/sqlite/sqlite3_3.9.0.bb
+++ b/meta/recipes-support/sqlite/sqlite3_3.9.2.bb
@@ -12,12 +12,11 @@ PE = "3"
 SQLITE_PV = "${@sqlite_download_version(d)}"
 SRC_URI = "http://www.sqlite.org/2015/sqlite-autoconf-${SQLITE_PV}.tar.gz;
 
-SRC_URI[md5sum] = "cd0f883b2ddfc29e8e1d8e85f555"
-SRC_URI[sha256sum] = 
"a324143f4cc35cd7e9605a0a8dec9f9e4861d0be8305f3642e7d05008b77e60d"
+SRC_URI[md5sum] = "bc4eb5b3fc5cfcb6e059794306cac1ca"
+SRC_URI[sha256sum] = 
"064c0abe9c9177534d4c770bca7a5902f9924b629ac886b4c08956be6dfbc36b"
 
 S = "${WORKDIR}/sqlite-autoconf-${SQLITE_PV}"
 
 # Provide column meta-data API
 BUILD_CFLAGS += "-DSQLITE_ENABLE_COLUMN_METADATA"
 TARGET_CFLAGS += "-DSQLITE_ENABLE_COLUMN_METADATA"
-
-- 
1.9.1

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


Re: [OE-core] systemd service vs. update-alternatives (was rsyslog: buggy systemd/ua handling?)

2015-11-20 Thread ChenQi

I sent out a series of patches regarding syslog & systemd some time ago.
The title is "[OE-core] [PATCH V3 0/4] Fixes for systemd services in 
systemd".
Codes regarding update-alternatives and syslog for 'rsyslog' recipe is 
actually part of the whole fix.

You could try the patch series to see if they work for you.

Regards,
Chen Qi

On 11/19/2015 10:34 PM, Steffen Sledz wrote:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 18.11.2015 17:14, Steffen Sledz wrote:

On 17.11.2015 09:08, Steffen Sledz wrote:

On 16.11.2015 12:28, Steffen Sledz wrote:

I'm not sure but i believe there's a bug in the systemd/ua-handling in 
meta-oe/recipes-extended/rsyslog/rsyslog_7.6.1.bb.

In my opinion this code

if bb.utils.contains('DISTRO_FEATURES', 'systemd', True, False, d): pn = 
d.getVar('PN', True) d.appendVar('ALTERNATIVE_%s' % (pn), ' syslog-service') 
d.setVarFlag('ALTERNATIVE_LINK_NAME', 'syslog-service', 
'%s/systemd/system/syslog.service' % (d.getVar('sysconfdir', True))) 
d.setVarFlag('ALTERNATIVE_TARGET', 'syslog-service', 
'%s/system/rsyslog.service' % (d.getVar('systemd_unitdir', True)))

registers the systemd service file under the (ua-)name "syslog-service". So it 
should not be

SYSTEMD_SERVICE_${PN} = "${BPN}.service"

but

SYSTEMD_SERVICE_${PN} = "syslog.service"

Right?

Hi experts! Is my assumption correct? If yes i would prepare patches for 
master, fido and jethro.

The problem seems to be much more complex then I thought before. :(

The systemd integration for busybox-syslog was introduced by commit 
cf3618f9a57e46fb78d5be35d473e2dd5290e961.

The do_install stage got among others this line:

   ln -sf /dev/null ${D}${systemd_unitdir}/system/syslog.service

I believe this was made to avoid a package error like this:

   ERROR: Function failed: SYSTEMD_SERVICE_busybox-syslog value syslog.service 
does not exist

But if another syslog alternative (rsyslog or syslog-ng) will do the same this 
leads to another error:

   ERROR: The recipe busybox is trying to install files into a shared area when 
those files already exist. Those files and their manifest location are:

/home/sledz/work/hipos-dfe.fido/build-closed/tmp-glibc/sysroots/himx0294/lib/systemd/system/syslog.service

So what is th right way to bring a systemd service file and update-alternatives 
together???

- -- 
DResearch Fahrzeugelektronik GmbH

Otto-Schmirgal-Str. 3, 10319 Berlin, Germany
Tel: +49 30 515932-237 mailto:sl...@dresearch-fe.de
Fax: +49 30 515932-299
Geschäftsführer: Dr. Michael Weber, Werner Mögle;
Amtsgericht Berlin Charlottenburg; HRB 130120 B;
Ust.-IDNr. DE273952058
-BEGIN PGP SIGNATURE-
Version: GnuPG v2

iQIcBAEBAgAGBQJWTd3kAAoJEIz5slJ1krPh0f4QAIoQcwiyYs1l1lCCFhg96xry
5wFMCFDdtCCPerpLBPHh0nLcqB5z0JKV9wCfuZu2QBZbh49s/0Qg4F09yN7qT2Bb
auP3yEVIZrekuVIpQYkXOTI5q+1DrC4QCGMFfm7XaJZiqdOBaP9t1xWMQxzA5W3M
OyQCH3JDABkD9UJQbsYLs1Qq6jm1rzbD1ZO5Uv0JvZaW+ZyHvDUHN7M+nlCxWFKE
HPTtri1trgg9iZYZgTG0y2WferO5Unug5TKrFMSLiKv8iwOGha2O45m9nsFWCzZL
vQ+6z1mnL9syVy6kmOakmc2Q+RnSC6Zx2Y3GbPuUMGtn4Y3neole6YaMJ0Yl+Uk7
nn49/f7qxAD6sYJu7YaD0oBbEj/ugKbtFzKcwWjAe365h21Cndt2NkhELr1xUk7/
owwVD60mmPHGCQ6ugT6wSnmLAVO4P5td5HLuDKWIDV2Smtm3XAQ2MQ52vFzr53sh
dyUq3e5J9zuDbYWmC5xRvv77H7R6eUCltkGNHg5JjkbqtUw4NQWteaHTUpM7KlI1
23w0nDU1xACpJDs+TgMzNyo7c+0b0g0SKjw07Qo7aIdNJuHoeik+hJIewMU7KDdl
BjHy1PIFqXdSPR3myMOMOXlDCYJLJSy19roOr067LSiwXSEwycj93AsqMNzaGSWS
8o0HjDbiMarMi2aXCyCH
=4bav
-END PGP SIGNATURE-




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


[OE-core] [PATCH 08/11] busybox: re-order defconfig to align with busybox 1.24.1

2015-11-20 Thread Andre McCurdy
No functional changes, simply re-order lines in defconfig so that
the existing options don't move elsewhere in the file when run
though busybox 1.24.1 'make oldconfig'.

Signed-off-by: Andre McCurdy 
---
 meta/recipes-core/busybox/busybox/defconfig | 38 ++---
 1 file changed, 19 insertions(+), 19 deletions(-)

diff --git a/meta/recipes-core/busybox/busybox/defconfig 
b/meta/recipes-core/busybox/busybox/defconfig
index 4f5df9e..a5adea2 100644
--- a/meta/recipes-core/busybox/busybox/defconfig
+++ b/meta/recipes-core/busybox/busybox/defconfig
@@ -183,10 +183,15 @@ CONFIG_DATE=y
 # CONFIG_FEATURE_DATE_ISOFMT is not set
 # CONFIG_FEATURE_DATE_NANO is not set
 CONFIG_FEATURE_DATE_COMPAT=y
+CONFIG_DD=y
+CONFIG_FEATURE_DD_SIGNAL_HANDLING=y
+# CONFIG_FEATURE_DD_THIRD_STATUS_LINE is not set
+# CONFIG_FEATURE_DD_IBS_OBS is not set
 # CONFIG_HOSTID is not set
 CONFIG_ID=y
 CONFIG_GROUPS=y
 CONFIG_SHUF=y
+CONFIG_SYNC=y
 CONFIG_TEST=y
 CONFIG_FEATURE_TEST_64=y
 CONFIG_TOUCH=y
@@ -211,10 +216,6 @@ CONFIG_CHROOT=y
 CONFIG_CP=y
 # CONFIG_FEATURE_CP_LONG_OPTIONS is not set
 CONFIG_CUT=y
-CONFIG_DD=y
-CONFIG_FEATURE_DD_SIGNAL_HANDLING=y
-# CONFIG_FEATURE_DD_THIRD_STATUS_LINE is not set
-# CONFIG_FEATURE_DD_IBS_OBS is not set
 CONFIG_DF=y
 # CONFIG_FEATURE_DF_FANCY is not set
 CONFIG_DIRNAME=y
@@ -283,7 +284,6 @@ CONFIG_STAT=y
 CONFIG_FEATURE_STAT_FORMAT=y
 CONFIG_STTY=y
 # CONFIG_SUM is not set
-CONFIG_SYNC=y
 # CONFIG_TAC is not set
 CONFIG_TAIL=y
 CONFIG_FEATURE_FANCY_TAIL=y
@@ -553,6 +553,15 @@ CONFIG_FSTRIM=y
 # CONFIG_FEATURE_MDEV_RENAME_REGEXP is not set
 # CONFIG_FEATURE_MDEV_EXEC is not set
 # CONFIG_FEATURE_MDEV_LOAD_FIRMWARE is not set
+CONFIG_MOUNT=y
+# CONFIG_FEATURE_MOUNT_FAKE is not set
+# CONFIG_FEATURE_MOUNT_VERBOSE is not set
+# CONFIG_FEATURE_MOUNT_HELPERS is not set
+# CONFIG_FEATURE_MOUNT_LABEL is not set
+CONFIG_FEATURE_MOUNT_NFS=y
+# CONFIG_FEATURE_MOUNT_CIFS is not set
+CONFIG_FEATURE_MOUNT_FLAGS=y
+CONFIG_FEATURE_MOUNT_FSTAB=y
 # CONFIG_REV is not set
 # CONFIG_ACPID is not set
 # CONFIG_FEATURE_ACPID_COMPAT is not set
@@ -599,15 +608,6 @@ CONFIG_LOSETUP=y
 CONFIG_MKSWAP=y
 # CONFIG_FEATURE_MKSWAP_UUID is not set
 CONFIG_MORE=y
-CONFIG_MOUNT=y
-# CONFIG_FEATURE_MOUNT_FAKE is not set
-# CONFIG_FEATURE_MOUNT_VERBOSE is not set
-# CONFIG_FEATURE_MOUNT_HELPERS is not set
-# CONFIG_FEATURE_MOUNT_LABEL is not set
-CONFIG_FEATURE_MOUNT_NFS=y
-# CONFIG_FEATURE_MOUNT_CIFS is not set
-CONFIG_FEATURE_MOUNT_FLAGS=y
-CONFIG_FEATURE_MOUNT_FSTAB=y
 CONFIG_PIVOT_ROOT=y
 CONFIG_RDATE=y
 # CONFIG_RDEV is not set
@@ -758,6 +758,11 @@ CONFIG_NC=y
 CONFIG_PING=y
 CONFIG_PING6=y
 CONFIG_FEATURE_FANCY_PING=y
+CONFIG_WGET=y
+CONFIG_FEATURE_WGET_STATUSBAR=y
+CONFIG_FEATURE_WGET_AUTHENTICATION=y
+CONFIG_FEATURE_WGET_LONG_OPTIONS=y
+CONFIG_FEATURE_WGET_TIMEOUT=y
 # CONFIG_WHOIS is not set
 CONFIG_FEATURE_IPV6=y
 # CONFIG_FEATURE_UNIX_LOCAL is not set
@@ -885,11 +890,6 @@ CONFIG_UDHCPC_SLACK_FOR_BUGGY_SERVERS=80
 CONFIG_IFUPDOWN_UDHCPC_CMD_OPTIONS="-R -n"
 # CONFIG_UDPSVD is not set
 # CONFIG_VCONFIG is not set
-CONFIG_WGET=y
-CONFIG_FEATURE_WGET_STATUSBAR=y
-CONFIG_FEATURE_WGET_AUTHENTICATION=y
-CONFIG_FEATURE_WGET_LONG_OPTIONS=y
-CONFIG_FEATURE_WGET_TIMEOUT=y
 # CONFIG_ZCIP is not set
 
 #
-- 
1.9.1

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


[OE-core] [PATCH 09/11] busybox: update 1.23.2 -> 1.24.1

2015-11-20 Thread Andre McCurdy
The busybox defconfig has also been refreshed, with all new apps
and features disabled by default. Update _git recipe version too.

Signed-off-by: Andre McCurdy 
---
 .../busybox/0001-Switch-to-POSIX-utmpx-API.patch   | 388 -
 .../busybox/busybox/0001-chown-fix-help-text.patch |  34 --
 ...ix-double-free-fatal-error-in-INET_sprint.patch |  67 
 meta/recipes-core/busybox/busybox/defconfig|  23 +-
 .../{busybox_1.23.2.bb => busybox_1.24.1.bb}   |   7 +-
 meta/recipes-core/busybox/busybox_git.bb   |   8 +-
 6 files changed, 25 insertions(+), 502 deletions(-)
 delete mode 100644 
meta/recipes-core/busybox/busybox/0001-Switch-to-POSIX-utmpx-API.patch
 delete mode 100644 
meta/recipes-core/busybox/busybox/0001-chown-fix-help-text.patch
 delete mode 100644 
meta/recipes-core/busybox/busybox/0001-ifconfig-fix-double-free-fatal-error-in-INET_sprint.patch
 rename meta/recipes-core/busybox/{busybox_1.23.2.bb => busybox_1.24.1.bb} (80%)

diff --git 
a/meta/recipes-core/busybox/busybox/0001-Switch-to-POSIX-utmpx-API.patch 
b/meta/recipes-core/busybox/busybox/0001-Switch-to-POSIX-utmpx-API.patch
deleted file mode 100644
index 1d299ee..000
--- a/meta/recipes-core/busybox/busybox/0001-Switch-to-POSIX-utmpx-API.patch
+++ /dev/null
@@ -1,388 +0,0 @@
-From 86a7f18f211af1abda5c855d2674b0fcb53de524 Mon Sep 17 00:00:00 2001
-From: Bernhard Reutner-Fischer 
-Date: Thu, 2 Apr 2015 23:03:46 +0200
-Subject: [PATCH] *: Switch to POSIX utmpx API
-
-UTMP is SVID legacy, UTMPX is mandated by POSIX.
-
-Glibc and uClibc have identical layout of UTMP and UTMPX, both of these
-libc treat _PATH_UTMPX as _PATH_UTMP so from a user-perspective nothing
-changes except the names of the API entrypoints.
-
-Signed-off-by: Bernhard Reutner-Fischer 

-Upstream-Status: Backport
-
- coreutils/who.c|  8 
- include/libbb.h|  2 +-
- init/halt.c|  4 ++--
- libbb/utmp.c   | 44 ++--
- miscutils/last.c   |  8 
- miscutils/last_fancy.c | 16 ++--
- miscutils/runlevel.c   | 12 ++--
- miscutils/wall.c   |  8 
- procps/uptime.c|  6 +++---
- 9 files changed, 56 insertions(+), 52 deletions(-)
-
-diff --git a/coreutils/who.c b/coreutils/who.c
-index f955ce6..8337212 100644
 a/coreutils/who.c
-+++ b/coreutils/who.c
-@@ -73,7 +73,7 @@ static void idle_string(char *str6, time_t t)
- int who_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE;
- int who_main(int argc UNUSED_PARAM, char **argv)
- {
--  struct utmp *ut;
-+  struct utmpx *ut;
-   unsigned opt;
-   int do_users = (ENABLE_USERS && (!ENABLE_WHO || applet_name[0] == 'u'));
-   const char *fmt = "%s";
-@@ -83,8 +83,8 @@ int who_main(int argc UNUSED_PARAM, char **argv)
-   if (opt & 2) // -H
-   printf("USER\t\tTTY\t\tIDLE\tTIME\t\t HOST\n");
- 
--  setutent();
--  while ((ut = getutent()) != NULL) {
-+  setutxent();
-+  while ((ut = getutxent()) != NULL) {
-   if (ut->ut_user[0]
-&& ((opt & 1) || ut->ut_type == USER_PROCESS)
-   ) {
-@@ -126,6 +126,6 @@ int who_main(int argc UNUSED_PARAM, char **argv)
-   if (do_users)
-   bb_putchar('\n');
-   if (ENABLE_FEATURE_CLEAN_UP)
--  endutent();
-+  endutxent();
-   return EXIT_SUCCESS;
- }
-diff --git a/include/libbb.h b/include/libbb.h
-index 26b6868..0f8363b 100644
 a/include/libbb.h
-+++ b/include/libbb.h
-@@ -84,7 +84,7 @@
- # include 
- #endif
- #if ENABLE_FEATURE_UTMP
--# include 
-+# include 
- #endif
- #if ENABLE_LOCALE_SUPPORT
- # include 
-diff --git a/init/halt.c b/init/halt.c
-index 7974adb..ad12d91 100644
 a/init/halt.c
-+++ b/init/halt.c
-@@ -74,7 +74,7 @@
- 
- static void write_wtmp(void)
- {
--  struct utmp utmp;
-+  struct utmpx utmp;
-   struct utsname uts;
-   /* "man utmp" says wtmp file should *not* be created automagically */
-   /*if (access(bb_path_wtmp_file, R_OK|W_OK) == -1) {
-@@ -88,7 +88,7 @@ static void write_wtmp(void)
-   utmp.ut_line[0] = '~'; utmp.ut_line[1] = '~'; /* = strcpy(utmp.ut_line, 
"~~"); */
-   uname();
-   safe_strncpy(utmp.ut_host, uts.release, sizeof(utmp.ut_host));
--  updwtmp(bb_path_wtmp_file, );
-+  updwtmpx(bb_path_wtmp_file, );
- }
- #else
- #define write_wtmp() ((void)0)
-diff --git a/libbb/utmp.c b/libbb/utmp.c
-index 8ad9ba2..bd07670 100644
 a/libbb/utmp.c
-+++ b/libbb/utmp.c
-@@ -16,7 +16,7 @@ static void touch(const char *filename)
- 
- void FAST_FUNC write_new_utmp(pid_t pid, int new_type, const char *tty_name, 
const char *username, const char *hostname)
- {
--  struct utmp utent;
-+  struct utmpx utent;
-   char *id;
-   unsigned width;
- 
-@@ -45,17 +45,17 @@ void FAST_FUNC write_new_utmp(pid_t pid, int new_type, 
const char *tty_name, con
-  

[OE-core] [PATCH 06/11] busybox.inc: set CC=${CC} via make command line

2015-11-20 Thread Andre McCurdy
Busybox currently relies on 'make -e' to over-ride CC and the make
command line to over-ride LD. Set CC via the make command line to be
consistent with LD and to allow '-e' to be dropped from EXTRA_OEMAKE.

Signed-off-by: Andre McCurdy 
---
 meta/recipes-core/busybox/busybox.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/recipes-core/busybox/busybox.inc 
b/meta/recipes-core/busybox/busybox.inc
index 03b6cf2..1293b07 100644
--- a/meta/recipes-core/busybox/busybox.inc
+++ b/meta/recipes-core/busybox/busybox.inc
@@ -18,7 +18,7 @@ BUSYBOX_SPLIT_SUID ?= "1"
 export EXTRA_CFLAGS = "${CFLAGS}"
 export EXTRA_LDFLAGS = "${LDFLAGS}"
 
-EXTRA_OEMAKE += "LD='${CCLD}' V=1 ARCH=${TARGET_ARCH} 
CROSS_COMPILE=${TARGET_PREFIX} SKIP_STRIP=y"
+EXTRA_OEMAKE += "CC='${CC}' LD='${CCLD}' V=1 ARCH=${TARGET_ARCH} 
CROSS_COMPILE=${TARGET_PREFIX} SKIP_STRIP=y"
 
 PACKAGES =+ "${PN}-httpd ${PN}-udhcpd ${PN}-udhcpc ${PN}-syslog ${PN}-mdev 
${PN}-hwclock"
 
-- 
1.9.1

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


[OE-core] [PATCH 02/11] busybox.inc: don't export EXTRA_OEMAKE

2015-11-20 Thread Andre McCurdy
EXTRA_OEMAKE is private to OE and shouldn't be exported to
the busybox build.

Signed-off-by: Andre McCurdy 
---
 meta/recipes-core/busybox/busybox.inc | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/meta/recipes-core/busybox/busybox.inc 
b/meta/recipes-core/busybox/busybox.inc
index cfdea30..9e1a207 100644
--- a/meta/recipes-core/busybox/busybox.inc
+++ b/meta/recipes-core/busybox/busybox.inc
@@ -17,7 +17,8 @@ BUSYBOX_SPLIT_SUID ?= "1"
 
 export EXTRA_CFLAGS = "${CFLAGS}"
 export EXTRA_LDFLAGS = "${LDFLAGS}"
-export EXTRA_OEMAKE += "'LD=${CCLD}'"
+
+EXTRA_OEMAKE += "LD='${CCLD}'"
 
 PACKAGES =+ "${PN}-httpd ${PN}-udhcpd ${PN}-udhcpc ${PN}-syslog ${PN}-mdev 
${PN}-hwclock"
 
-- 
1.9.1

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


[OE-core] [PATCH 01/11] busybox_git: Enable getopt applet

2015-11-20 Thread Andre McCurdy
Keep git recipe in sync with 1.23.2:

  
http://git.openembedded.org/openembedded-core/commit/?id=10c2c484d5916ad476ad7717c3629f6684f01e6d

Signed-off-by: Andre McCurdy 
---
 meta/recipes-core/busybox/busybox_git.bb | 1 +
 1 file changed, 1 insertion(+)

diff --git a/meta/recipes-core/busybox/busybox_git.bb 
b/meta/recipes-core/busybox/busybox_git.bb
index ade72f4..ed1c0a8 100644
--- a/meta/recipes-core/busybox/busybox_git.bb
+++ b/meta/recipes-core/busybox/busybox_git.bb
@@ -41,6 +41,7 @@ SRC_URI = "git://busybox.net/busybox.git \
file://mount-via-label.cfg \
file://sha1sum.cfg \
file://sha256sum.cfg \
+   file://getopts.cfg \
 "
 
 EXTRA_OEMAKE += "V=1 ARCH=${TARGET_ARCH} CROSS_COMPILE=${TARGET_PREFIX} 
SKIP_STRIP=y"
-- 
1.9.1

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


[OE-core] [PATCH 05/11] busybox.inc: fix CONFIG_EXTRA_CFLAGS configmangle

2015-11-20 Thread Andre McCurdy
With current busybox Kbuild, setting .config to:

  CONFIG_EXTRA_CFLAGS="foo" "bar"

and then running 'make oldconfig' results in .config containing:

  CONFIG_EXTRA_CFLAGS="foo"

ie the CONFIG_EXTRA_CFLAGS configmangle in the busybox.inc doesn't
currently work as intended. Remove the extra \" \" to ensure that
${HOST_CC_ARCH} gets added to CONFIG_EXTRA_CFLAGS.

Signed-off-by: Andre McCurdy 
---
 meta/recipes-core/busybox/busybox.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/recipes-core/busybox/busybox.inc 
b/meta/recipes-core/busybox/busybox.inc
index 57da1db..03b6cf2 100644
--- a/meta/recipes-core/busybox/busybox.inc
+++ b/meta/recipes-core/busybox/busybox.inc
@@ -96,7 +96,7 @@ python () {
("\\n".join((d.expand("${OE_FEATURES}").split("\n")
   d.setVar('configmangle_append',
  "/^### CROSS$/a\\\n%s\n" %
-  ("\\n".join(["CONFIG_EXTRA_CFLAGS=\"${CFLAGS}\" 
\"${HOST_CC_ARCH}\""
+  ("\\n".join(["CONFIG_EXTRA_CFLAGS=\"${CFLAGS} 
${HOST_CC_ARCH}\""
 ])
   ))
 }
-- 
1.9.1

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


[OE-core] [PATCH 07/11] busybox.inc: remove '-e MAKEFLAGS=' from EXTRA_OEMAKE

2015-11-20 Thread Andre McCurdy
Busybox Kbuild likes to control its own MAKEFLAGS (it adds -rR, etc),
so avoid over-riding MAKEFLAGS. Relying on 'make -e' is no longer
required so remove that too.

Signed-off-by: Andre McCurdy 
---
 meta/recipes-core/busybox/busybox.inc | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/meta/recipes-core/busybox/busybox.inc 
b/meta/recipes-core/busybox/busybox.inc
index 1293b07..fba956e 100644
--- a/meta/recipes-core/busybox/busybox.inc
+++ b/meta/recipes-core/busybox/busybox.inc
@@ -18,7 +18,8 @@ BUSYBOX_SPLIT_SUID ?= "1"
 export EXTRA_CFLAGS = "${CFLAGS}"
 export EXTRA_LDFLAGS = "${LDFLAGS}"
 
-EXTRA_OEMAKE += "CC='${CC}' LD='${CCLD}' V=1 ARCH=${TARGET_ARCH} 
CROSS_COMPILE=${TARGET_PREFIX} SKIP_STRIP=y"
+# We don't want '-e MAKEFLAGS=' in EXTRA_OEMAKE
+EXTRA_OEMAKE = "CC='${CC}' LD='${CCLD}' V=1 ARCH=${TARGET_ARCH} 
CROSS_COMPILE=${TARGET_PREFIX} SKIP_STRIP=y"
 
 PACKAGES =+ "${PN}-httpd ${PN}-udhcpd ${PN}-udhcpc ${PN}-syslog ${PN}-mdev 
${PN}-hwclock"
 
-- 
1.9.1

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


[OE-core] [PATCH 10/11] busybox: disable support for mounting NFS file systems on Linux < 2.6.23

2015-11-20 Thread Andre McCurdy
The busybox CONFIG_FEATURE_MOUNT_NFS config option is described as:

  Enable mounting of NFS file systems on Linux kernels prior
  to version 2.6.23. Note that in this case mounting of NFS
  over IPv6 will not be possible.

Since OE-core sets OLDEST_KERNEL = "2.6.32", CONFIG_FEATURE_MOUNT_NFS
is not required in the default busybox defconfig.

Signed-off-by: Andre McCurdy 
---
 meta/recipes-core/busybox/busybox/defconfig | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/meta/recipes-core/busybox/busybox/defconfig 
b/meta/recipes-core/busybox/busybox/defconfig
index 77274d0..ffea6be 100644
--- a/meta/recipes-core/busybox/busybox/defconfig
+++ b/meta/recipes-core/busybox/busybox/defconfig
@@ -52,7 +52,7 @@ CONFIG_FEATURE_SUID_CONFIG_QUIET=y
 # CONFIG_FEATURE_PREFER_APPLETS is not set
 CONFIG_BUSYBOX_EXEC_PATH="/proc/self/exe"
 CONFIG_FEATURE_SYSLOG=y
-CONFIG_FEATURE_HAVE_RPC=y
+# CONFIG_FEATURE_HAVE_RPC is not set
 
 #
 # Build Options
@@ -563,7 +563,7 @@ CONFIG_MOUNT=y
 # CONFIG_FEATURE_MOUNT_VERBOSE is not set
 # CONFIG_FEATURE_MOUNT_HELPERS is not set
 # CONFIG_FEATURE_MOUNT_LABEL is not set
-CONFIG_FEATURE_MOUNT_NFS=y
+# CONFIG_FEATURE_MOUNT_NFS is not set
 # CONFIG_FEATURE_MOUNT_CIFS is not set
 CONFIG_FEATURE_MOUNT_FLAGS=y
 CONFIG_FEATURE_MOUNT_FSTAB=y
-- 
1.9.1

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


[OE-core] [PATCH 04/11] busybox.inc: don't set .config CROSS_COMPILER_PREFIX

2015-11-20 Thread Andre McCurdy
Setting CROSS_COMPILER_PREFIX via .config is redundant (setting
CROSS_COMPILE via the make command line will always over-ride it).

Signed-off-by: Andre McCurdy 
---
 meta/recipes-core/busybox/busybox.inc | 6 ++
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/meta/recipes-core/busybox/busybox.inc 
b/meta/recipes-core/busybox/busybox.inc
index ac534a4..57da1db 100644
--- a/meta/recipes-core/busybox/busybox.inc
+++ b/meta/recipes-core/busybox/busybox.inc
@@ -80,8 +80,7 @@ def features_to_busybox_del(d):
cnf, rem = features_to_busybox_settings(d)
return rem
 
-configmangle = '/CROSS_COMPILER_PREFIX/d; \
-   /CONFIG_EXTRA_CFLAGS/d; \
+configmangle = '/CONFIG_EXTRA_CFLAGS/d; \
'
 OE_FEATURES := "${@features_to_busybox_conf(d)}"
 OE_DEL  := "${@features_to_busybox_del(d)}"
@@ -97,8 +96,7 @@ python () {
("\\n".join((d.expand("${OE_FEATURES}").split("\n")
   d.setVar('configmangle_append',
  "/^### CROSS$/a\\\n%s\n" %
-  
("\\n".join(["CONFIG_CROSS_COMPILER_PREFIX=\"${TARGET_PREFIX}\"",
-  "CONFIG_EXTRA_CFLAGS=\"${CFLAGS}\" 
\"${HOST_CC_ARCH}\""
+  ("\\n".join(["CONFIG_EXTRA_CFLAGS=\"${CFLAGS}\" 
\"${HOST_CC_ARCH}\""
 ])
   ))
 }
-- 
1.9.1

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


[OE-core] [PATCH 11/11] busybox: enable resize applet

2015-11-20 Thread Andre McCurdy
The /etc/profile script contains a call to resize, which improves
the usability of shells run on the serial console.

  
http://git.openembedded.org/openembedded-core/commit/?id=cc6360f4c4d97ef9d3545f381224ee99ce7d

Unfortunately the resize applet is not currently enabled in busybox
defconfig, so resize is never called. Fix that.

Signed-off-by: Andre McCurdy 
---
 meta/recipes-core/busybox/busybox/resize.cfg | 2 ++
 meta/recipes-core/busybox/busybox_1.24.1.bb  | 1 +
 meta/recipes-core/busybox/busybox_git.bb | 1 +
 3 files changed, 4 insertions(+)
 create mode 100644 meta/recipes-core/busybox/busybox/resize.cfg

diff --git a/meta/recipes-core/busybox/busybox/resize.cfg 
b/meta/recipes-core/busybox/busybox/resize.cfg
new file mode 100644
index 000..a1d9c95
--- /dev/null
+++ b/meta/recipes-core/busybox/busybox/resize.cfg
@@ -0,0 +1,2 @@
+CONFIG_RESIZE=y
+CONFIG_FEATURE_RESIZE_PRINT=y
diff --git a/meta/recipes-core/busybox/busybox_1.24.1.bb 
b/meta/recipes-core/busybox/busybox_1.24.1.bb
index 92bbee1..7d2a7b2 100644
--- a/meta/recipes-core/busybox/busybox_1.24.1.bb
+++ b/meta/recipes-core/busybox/busybox_1.24.1.bb
@@ -36,6 +36,7 @@ SRC_URI = 
"http://www.busybox.net/downloads/busybox-${PV}.tar.bz2;name=tarball \
file://sha1sum.cfg \
file://sha256sum.cfg \
file://getopts.cfg \
+   file://resize.cfg \
 "
 
 SRC_URI[tarball.md5sum] = "be98a40cadf84ce2d6b05fa41a275c6a"
diff --git a/meta/recipes-core/busybox/busybox_git.bb 
b/meta/recipes-core/busybox/busybox_git.bb
index d968fad..220977a 100644
--- a/meta/recipes-core/busybox/busybox_git.bb
+++ b/meta/recipes-core/busybox/busybox_git.bb
@@ -42,6 +42,7 @@ SRC_URI = "git://busybox.net/busybox.git \
file://sha1sum.cfg \
file://sha256sum.cfg \
file://getopts.cfg \
+   file://resize.cfg \
 "
 
 DEFAULT_PREFERENCE = "-1"
-- 
1.9.1

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


[OE-core] [PATCH 03/11] busybox: move EXTRA_OEMAKE etc into busybox.inc

2015-11-20 Thread Andre McCurdy
EXTRA_OEMAKE options and do_install_ptest() are common to both
busybox recipes, so move into busybox.inc.

Signed-off-by: Andre McCurdy 
---
 meta/recipes-core/busybox/busybox.inc   | 8 +++-
 meta/recipes-core/busybox/busybox_1.23.2.bb | 8 
 meta/recipes-core/busybox/busybox_git.bb| 8 
 3 files changed, 7 insertions(+), 17 deletions(-)

diff --git a/meta/recipes-core/busybox/busybox.inc 
b/meta/recipes-core/busybox/busybox.inc
index 9e1a207..ac534a4 100644
--- a/meta/recipes-core/busybox/busybox.inc
+++ b/meta/recipes-core/busybox/busybox.inc
@@ -18,7 +18,7 @@ BUSYBOX_SPLIT_SUID ?= "1"
 export EXTRA_CFLAGS = "${CFLAGS}"
 export EXTRA_LDFLAGS = "${LDFLAGS}"
 
-EXTRA_OEMAKE += "LD='${CCLD}'"
+EXTRA_OEMAKE += "LD='${CCLD}' V=1 ARCH=${TARGET_ARCH} 
CROSS_COMPILE=${TARGET_PREFIX} SKIP_STRIP=y"
 
 PACKAGES =+ "${PN}-httpd ${PN}-udhcpd ${PN}-udhcpc ${PN}-syslog ${PN}-mdev 
${PN}-hwclock"
 
@@ -301,6 +301,12 @@ do_install () {
 fi
 }
 
+do_install_ptest () {
+cp -r ${B}/testsuite ${D}${PTEST_PATH}/
+cp ${B}/.config  ${D}${PTEST_PATH}/
+ln -s /bin/busybox   ${D}${PTEST_PATH}/busybox
+}
+
 inherit update-alternatives
 
 ALTERNATIVE_PRIORITY = "50"
diff --git a/meta/recipes-core/busybox/busybox_1.23.2.bb 
b/meta/recipes-core/busybox/busybox_1.23.2.bb
index 2559823..e9f7eb6 100644
--- a/meta/recipes-core/busybox/busybox_1.23.2.bb
+++ b/meta/recipes-core/busybox/busybox_1.23.2.bb
@@ -43,11 +43,3 @@ SRC_URI = 
"http://www.busybox.net/downloads/busybox-${PV}.tar.bz2;name=tarball \
 
 SRC_URI[tarball.md5sum] = "7925683d7dd105aabe9b6b618d48cc73"
 SRC_URI[tarball.sha256sum] = 
"05a6f9e21aad8c098e388ae77de7b2361941afa7157ef74216703395b14e319a"
-
-EXTRA_OEMAKE += "V=1 ARCH=${TARGET_ARCH} CROSS_COMPILE=${TARGET_PREFIX} 
SKIP_STRIP=y"
-
-do_install_ptest () {
-cp -r ${B}/testsuite ${D}${PTEST_PATH}/
-cp ${B}/.config  ${D}${PTEST_PATH}/
-ln -s /bin/busybox   ${D}${PTEST_PATH}/busybox
-}
diff --git a/meta/recipes-core/busybox/busybox_git.bb 
b/meta/recipes-core/busybox/busybox_git.bb
index ed1c0a8..e9ff0bc 100644
--- a/meta/recipes-core/busybox/busybox_git.bb
+++ b/meta/recipes-core/busybox/busybox_git.bb
@@ -44,12 +44,4 @@ SRC_URI = "git://busybox.net/busybox.git \
file://getopts.cfg \
 "
 
-EXTRA_OEMAKE += "V=1 ARCH=${TARGET_ARCH} CROSS_COMPILE=${TARGET_PREFIX} 
SKIP_STRIP=y"
-
-do_install_ptest () {
-cp -r ${B}/testsuite ${D}${PTEST_PATH}/
-cp ${B}/.config  ${D}${PTEST_PATH}/
-ln -s /bin/busybox   ${D}${PTEST_PATH}/busybox
-}
-
 DEFAULT_PREFERENCE = "-1"
-- 
1.9.1

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


Re: [OE-core] [oe-core][fido][PATCH] [AArch64] Fix the big endian loader name

2015-11-20 Thread Khem Raj
On Fri, Nov 20, 2015 at 7:46 AM, Joshua Lock
 wrote:
> Adrian,
>
> On 19/11/15 14:47, Adrian Calianu wrote:
>>
>> Backported from glibc 2.22 (master)
>
>
> Thanks for this change, after fleshing out the commit message a bit[1] I've
> queued it for inclusion in my latest pull request for fido.

it should get into master first so if you refined the commit message
then please repost it for master.

>
> Regards,
>
> Joshua
>
> 1.
> http://cgit.openembedded.org/openembedded-core-contrib/commit/?h=joshuagl/fido-next=513e52670ea52e8143f46777accf441bb5c299fa
>
>
>> Signed-off-by: Adrian Calianu 
>> ---
>>   .../AArch64-Fix-the-big-endian-loader-name.patch   | 49
>> ++
>>   meta/recipes-core/glibc/glibc_2.21.bb  |  1 +
>>   2 files changed, 50 insertions(+)
>>   create mode 100644
>> meta/recipes-core/glibc/glibc/AArch64-Fix-the-big-endian-loader-name.patch
>>
>> diff --git
>> a/meta/recipes-core/glibc/glibc/AArch64-Fix-the-big-endian-loader-name.patch
>> b/meta/recipes-core/glibc/glibc/AArch64-Fix-the-big-endian-loader-name.patch
>> new file mode 100644
>> index 000..fd2bd8e
>> --- /dev/null
>> +++
>> b/meta/recipes-core/glibc/glibc/AArch64-Fix-the-big-endian-loader-name.patch
>> @@ -0,0 +1,49 @@
>> +[AArch64] Fix the big endian loader name
>> +
>> +Signed-off-by: Szabolcs Nagy  
>> +
>> +The patch was imported from the glibc's official git server
>> +(https://sourceware.org/git/?p=glibc.git) as of commit id
>> +44cb254f9a024db33ba549e59dc9d90355b797c9.
>> +
>> +Fixed conflicts raised on glibc 2.21.
>> +
>> +Upstream-Status: Backport [glibc 2.22]
>> +
>> +Signed-off-by: Adrian Calianu 
>> +---
>> + ChangeLog   | 5 +
>> + config.h.in | 3 +++
>> + 2 files changed, 8 insertions(+)
>> +
>> +diff --git a/ChangeLog b/ChangeLog
>> +index dc1ed1b..503ad41 100644
>> +--- a/ChangeLog
>>  b/ChangeLog
>> +@@ -56278,4 +56278,9 @@
>> +   added check.  Only act on the data if no current modification
>> +   happened.
>> +
>> ++2015-05-01  Szabolcs Nagy  
>> ++
>> ++* config.h.in (HAVE_AARCH64_BE): Add.
>> ++
>> ++
>> + See ChangeLog.17 for earlier changes.
>> +diff --git a/config.h.in b/config.h.in
>> +index 695ca35..85c1761 100644
>> +--- a/config.h.in
>>  b/config.h.in
>> +@@ -114,6 +114,9 @@
>> +include/libc-symbols.h that avoid PLT slots in the shared objects.
>> */
>> + #undefNO_HIDDEN
>> +
>> ++/* AArch64 big endian ABI */
>> ++#undef HAVE_AARCH64_BE
>> ++
>> +
>> + /* Defined to some form of __attribute__ ((...)) if the compiler
>> supports
>> +a different, more efficient calling convention.  */
>> +--
>> +1.9.1
>> +
>> diff --git a/meta/recipes-core/glibc/glibc_2.21.bb
>> b/meta/recipes-core/glibc/glibc_2.21.bb
>> index a0b2f2d..3bba734 100644
>> --- a/meta/recipes-core/glibc/glibc_2.21.bb
>> +++ b/meta/recipes-core/glibc/glibc_2.21.bb
>> @@ -30,6 +30,7 @@ SRC_URI =
>> "git://sourceware.org/git/glibc.git;branch=${BRANCH} \
>>  file://Fix-__memcpy_chk-on-non-SSE2-CPUs.patch \
>>  ${EGLIBCPATCHES} \
>>  ${CVEPATCHES} \
>> +   file://AArch64-Fix-the-big-endian-loader-name.patch \
>> "
>>   EGLIBCPATCHES = "\
>>  file://timezone-re-written-tzselect-as-posix-sh.patch \
>>
>
> --
> ___
> 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


Re: [OE-core] [oe-core][fido][PATCH] [AArch64] Fix the big endian loader name

2015-11-20 Thread Burton, Ross
On 20 November 2015 at 23:43, Khem Raj  wrote:

> it should get into master first so if you refined the commit message
> then please repost it for master.
>

tt's a backport from 2.22 so is already effectively in master, right?

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


Re: [OE-core] [oe-core][fido][PATCH] [AArch64] Fix the big endian loader name

2015-11-20 Thread Khem Raj
On Fri, Nov 20, 2015 at 3:55 PM, Burton, Ross  wrote:
>
> On 20 November 2015 at 23:43, Khem Raj  wrote:
>>
>> it should get into master first so if you refined the commit message
>> then please repost it for master.
>
>
> tt's a backport from 2.22 so is already effectively in master, right?

oh yes. ignore

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