rongqing.li | 29 Jul 08:21 2015

[PATCH] attr: remove some meaningless codes

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

what relative-libdir.patch done is reverted by fix_symlink for native,
and add a race since libacl.so/libattr.so are created, then removed, and
recreated it.
relative-libdir.patch say it fixed udev issue, but can not reproduce
current, and if udev has issue, the fix should be in udev

Cc: Saul Wold <sgw@...>
Signed-off-by: Roy Li <rongqing.li@...>
---
 meta/recipes-support/attr/ea-acl.inc               | 23 --------------------
 .../attr/files/relative-libdir.patch               | 25 ----------------------
 2 files changed, 48 deletions(-)
 delete mode 100644 meta/recipes-support/attr/files/relative-libdir.patch

diff --git a/meta/recipes-support/attr/ea-acl.inc b/meta/recipes-support/attr/ea-acl.inc
index 474291a..088f058 100644
--- a/meta/recipes-support/attr/ea-acl.inc
+++ b/meta/recipes-support/attr/ea-acl.inc
 <at>  <at>  -1,8 +1,5  <at>  <at> 
 # this build system is mostly shared by attr and acl

-SRC_URI += "file://relative-libdir.patch;striplevel=0 \
-           "
-
 inherit autotools-brokensep gettext

 # the package comes with a custom config.h.in, it cannot be
 <at>  <at>  -25,23 +22,3  <at>  <at>  BBCLASSEXTEND = "native"
(Continue reading)

Li xin | 29 Jul 06:08 2015

[PATCH] mdadm: 3.3.2 -> 3.3.3

Upgrade mdadm from 3.3.2 to 3.3.3

1) Remove backported patch:inline.patch

2) update context of mdadm-3.3.2_x32_abi_time_t.patch

3) Add systemd support:
add systemd service file mdmonitor.service and mdadm.conf which
is needed to start mdmonitor service.

Signed-off-by: Li Xin <lixin.fnst <at> cn.fujitsu.com>
---
 meta/recipes-extended/mdadm/files/inline.patch     | 39 ----------
 .../mdadm/files/mdadm-3.3.2_x32_abi_time_t.patch   | 26 ++++---
 meta/recipes-extended/mdadm/files/mdadm.conf       |  1 +
 .../recipes-extended/mdadm/files/mdmonitor.service | 13 ++++
 meta/recipes-extended/mdadm/mdadm_3.3.2.bb         | 72 ------------------
 meta/recipes-extended/mdadm/mdadm_3.3.3.bb         | 87 ++++++++++++++++++++++
 6 files changed, 117 insertions(+), 121 deletions(-)
 delete mode 100644 meta/recipes-extended/mdadm/files/inline.patch
 create mode 100644 meta/recipes-extended/mdadm/files/mdadm.conf
 create mode 100644 meta/recipes-extended/mdadm/files/mdmonitor.service
 delete mode 100644 meta/recipes-extended/mdadm/mdadm_3.3.2.bb
 create mode 100644 meta/recipes-extended/mdadm/mdadm_3.3.3.bb

diff --git a/meta/recipes-extended/mdadm/files/inline.patch b/meta/recipes-extended/mdadm/files/inline.patch
deleted file mode 100644
index 9009f06..0000000
--- a/meta/recipes-extended/mdadm/files/inline.patch
+++ /dev/null
(Continue reading)

Chen Qi | 29 Jul 05:33 2015

[PATCH 0/1] dbus: upgrade to 1.8.20

The following changes since commit 27d068d05239c26a3848eb101571acab54635e37:

  harfbuzz: upgrade to 1.0.1 (2015-07-27 23:28:23 +0100)

are available in the git repository at:

  git://git.openembedded.org/openembedded-core-contrib ChenQi/dbus-1.8.20
  http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=ChenQi/dbus-1.8.20

Chen Qi (1):
  dbus: upgrade to 1.8.20

 meta/recipes-core/dbus/{dbus-test_1.8.18.bb => dbus-test_1.8.20.bb} | 4 ++--
 meta/recipes-core/dbus/dbus_1.8.18.bb                               | 4 ----
 meta/recipes-core/dbus/dbus_1.8.20.bb                               | 4 ++++
 3 files changed, 6 insertions(+), 6 deletions(-)
 rename meta/recipes-core/dbus/{dbus-test_1.8.18.bb => dbus-test_1.8.20.bb} (93%)
 delete mode 100644 meta/recipes-core/dbus/dbus_1.8.18.bb
 create mode 100644 meta/recipes-core/dbus/dbus_1.8.20.bb

-- 
1.9.1

--

-- 
Li Zhou | 29 Jul 03:49 2015

[PATCH] tzdata: Add marking for config files in recipe

The tzdata recipe does not mark the /etc/timezone file and
/etc/localtime link as configuration files. An on target update would
then overwite the user modified versions of those files.
Add those files in CONFFILES_${PN}.

Signed-off-by: Li Zhou <li.zhou@...>
---
 meta/recipes-extended/tzdata/tzdata.inc |    2 ++
 1 file changed, 2 insertions(+)

diff --git a/meta/recipes-extended/tzdata/tzdata.inc b/meta/recipes-extended/tzdata/tzdata.inc
index ee56d36..25743f6 100644
--- a/meta/recipes-extended/tzdata/tzdata.inc
+++ b/meta/recipes-extended/tzdata/tzdata.inc
 <at>  <at>  -198,3 +198,5  <at>  <at>  FILES_${PN} += "${datadir}/zoneinfo/Pacific/Honolulu     \
                 ${datadir}/zoneinfo/zone.tab             \
                 ${datadir}/zoneinfo/iso3166.tab          \
                 ${datadir}/zoneinfo/Etc/*"
+
+CONFFILES_${PN} += "${sysconfdir}/timezone ${sysconfdir}/localtime"
-- 
1.7.9.5

--

-- 
Andre McCurdy | 29 Jul 01:20 2015
Picon

[PATCH 0/8 v2] refresh busybox defconfig

The current oe-core busybox defconfig dates back to busybox v1.20.2,
so configure options introduced in busybox v1.21.x, v1.22.x and
v1.23.x take on default values when the oe-core defconfig is run
through 'make oldconfig'. 

The first 4 patches just refresh the oe-core defconfig file (with no
change to the resulting busybox binary). The final 4 patches disable
busybox features added since v1.20.2 which may not be ideal for
oe-core.

Andre McCurdy (8):
  busybox: merge login-utilities.cfg into defconfig
  busybox: re-order defconfig to align with busybox 1.23.2
  busybox: remove CONFIG_FEATURE_VI_OPTIMIZE_CURSOR from defconfig
  busybox: refresh defconfig for busybox v1.23.2
  busybox: disable sha3sum in defconfig
  busybox: disable fatattr in defconfig
  busybox: disable fstrim in defconfig
  busybox: disable volumeid support for exFAT, F2FS and NILFS

 meta/recipes-core/busybox/busybox/defconfig        | 158 +++++++++++++--------
 .../busybox/busybox/login-utilities.cfg            |  13 --
 meta/recipes-core/busybox/busybox_1.23.2.bb        |   1 -
 meta/recipes-core/busybox/busybox_git.bb           |   1 -
 4 files changed, 98 insertions(+), 75 deletions(-)
 delete mode 100644 meta/recipes-core/busybox/busybox/login-utilities.cfg

--

-- 
1.9.1

(Continue reading)

Joe Slater | 28 Jul 21:11 2015

[oe-core][PATCH 1/1] nss: advance to version 3.19.1

Picks up fixes for CVE-2015-2721 and CVE-2015-2730.  Specify previously
overlooked license file COPYING.  Do not modify nss.inc.

Signed-off-by: Joe Slater <jslater@...>
---
 meta/recipes-support/nss/nss_3.17.3.bb |    7 -------
 meta/recipes-support/nss/nss_3.19.1.bb |   17 +++++++++++++++++
 2 files changed, 17 insertions(+), 7 deletions(-)
 delete mode 100644 meta/recipes-support/nss/nss_3.17.3.bb
 create mode 100644 meta/recipes-support/nss/nss_3.19.1.bb

diff --git a/meta/recipes-support/nss/nss_3.17.3.bb b/meta/recipes-support/nss/nss_3.17.3.bb
deleted file mode 100644
index e7d0780..0000000
--- a/meta/recipes-support/nss/nss_3.17.3.bb
+++ /dev/null
 <at>  <at>  -1,7 +0,0  <at>  <at> 
-require nss.inc
-
-SRC_URI += "\
-   
http://ftp.mozilla.org/pub/mozilla.org/security/nss/releases/NSS_3_17_3_RTM/src/${BP}.tar.gz \
-"
-SRC_URI[md5sum] = "fba7489e1b26f2a0bfe5527430fd61e1"
-SRC_URI[sha256sum] = "f4d5e9035a2f84f25f35c283de3b0ff60d72e918748de25eaf017ed201fa21d5"
diff --git a/meta/recipes-support/nss/nss_3.19.1.bb b/meta/recipes-support/nss/nss_3.19.1.bb
new file mode 100644
index 0000000..f4059c4
--- /dev/null
+++ b/meta/recipes-support/nss/nss_3.19.1.bb
(Continue reading)

Abdur Rehman | 28 Jul 19:11 2015

[PATCH] watchdog: kill update-rc.d when not using sysvinit

Fixes a dependency on a nonexistent initscripts-functions package.

Signed-off-by: Christopher Larson <chris_larson@...>
Signed-off-by: Abdur Rehman <abdur_rehman@...>
---
 meta/recipes-extended/watchdog/watchdog_5.14.bb |    5 +++++
 1 file changed, 5 insertions(+)

diff --git a/meta/recipes-extended/watchdog/watchdog_5.14.bb b/meta/recipes-extended/watchdog/watchdog_5.14.bb
index 9ec0a8e..7557597 100644
--- a/meta/recipes-extended/watchdog/watchdog_5.14.bb
+++ b/meta/recipes-extended/watchdog/watchdog_5.14.bb
 <at>  <at>  -28,3 +28,8  <at>  <at>  RRECOMMENDS_${PN} = "kernel-module-softdog"
 do_install_append() {
 	install -D ${S}/redhat/watchdog.init ${D}/${sysconfdir}/init.d/watchdog.sh
 }
+
+python () {
+    if not bb.utils.contains('DISTRO_FEATURES', 'sysvinit', True, False, d):
+        d.setVar("INHIBIT_UPDATERCD_BBCLASS", "1")
+}
-- 
1.7.9.5

--

-- 
Richard Purdie | 28 Jul 18:51 2015

[PATCH] pixbufcache: Use sceneQueueComplete event to simplify usage

Ensuring the native pixbuf cache is correct after new loaders have
been installed is tricky. This needs to be done without races
and work regardless of whether the build is from sstate or freshly
built for one or more modules.

This adds a hook into base.bbclass which is then triggered by the
code from pixbufcache. This patch is an improved version which
means base.bbclass has no pixbuf knowledge and the mechanism can
be reused in other cases.

Signed-off-by: Richard Purdie <richard.purdie@...>

diff --git a/meta/classes/base.bbclass b/meta/classes/base.bbclass
index 08df7a7..abb50cf 100644
--- a/meta/classes/base.bbclass
+++ b/meta/classes/base.bbclass
 <at>  <at>  -204,8 +204,10  <at>  <at>  def buildcfg_neededvars(d):
         bb.fatal('The following variable(s) were not set: %s\nPlease set them directly, or choose a MACHINE or
DISTRO that sets them.' % ', '.join(pesteruser))

 addhandler base_eventhandler
-base_eventhandler[eventmask] = "bb.event.ConfigParsed bb.event.BuildStarted bb.event.RecipePreFinalise"
+base_eventhandler[eventmask] = "bb.event.ConfigParsed bb.event.BuildStarted
bb.event.RecipePreFinalise bb.runqueue.sceneQueueComplete"
 python base_eventhandler() {
+    import bb.runqueue
+
     if isinstance(e, bb.event.ConfigParsed):
         if not e.data.getVar("NATIVELSBSTRING", False):
             e.data.setVar("NATIVELSBSTRING", lsb_distro_identifier(e.data))
(Continue reading)

Picon

Why python-native is not available via '#!/usr/bin/env python'?

Hello,

During integrating a Python tool (both: native and nativesdk) into a Yocto layer, the following questions
came to my mind.

My problem was that [native-sysroot]/usr/bin/python was too long (complete shebang greater than 128
characters). 
Changing it naively to `/usr/bin/env python` caused the tool to use host Python (which was missing
required Python modules).
I've found that it is possible to use '#!/usr/bin/env nativepython' for native. But this solution
requires ugly sed in do_install, in recipe for my tool:

	do_install_append_class-native() {
		sed -i '1 c\#!/usr/bin/env nativepython' ${D}${bindir}/binary
	}

Q1. What are the reasons behind that `/usr/bin/env python` refer to the host tool instead the native one?

Q2. Is there any plan to automate shebang adjustments for native python so that it is not affected by
too-long-shebang issue? distutils.bbclass already has similar logic, but not enabled for native...

 # listing file: "meta/classes/distutils.bbclass"
 52         if test -e ${D}${bindir} ; then
 53             for i in ${D}${bindir}/* ; do \
 54                 if [ ${PN} != "${BPN}-native" ]; then
 55                         sed -i -e s:${STAGING_BINDIR_NATIVE}/python-native/python:${bindir}/env\ python:g $i
 56                 fi
 57                 sed -i -e s:${STAGING_BINDIR_NATIVE}:${bindir}:g $i
 58             done
 59         fi
(Continue reading)

Dominic Sacré | 28 Jul 16:58 2015
Picon
Picon

[PATCH 0/4] python3: fix building extension modules, make python3-modules installable

This series of patches fixes several issues with the python3 recipe.
These caused packages to be incomplete or missing, and prevented the
python3-modules package from being installed.

[YOCTO #8048]

Dominic Sacré (4):
  python3: detect libraries in STAGING_LIBDIR
  python3: remove package python3-robotparser
  python3: remove 2to3 symlink from package python3-2to3
  python3: delete patches that don't get applied anywhere

 .../python/python-3.4-manifest.inc                 | 12 ++---
 .../python3/06-ctypes-libffi-fix-configure.patch   | 44 ---------------
 .../python/python3/fix-ast.h-dependency.patch      | 26 ---------
 .../python/python3/fix_ssl_include_dir.patch       | 41 --------------
 .../python3/pip_build_directory_unclean.patch      | 28 ----------
 ...python3-fix-build-error-with-Readline-6.3.patch | 62 ----------------------
 .../python/python3/remove_sqlite_rpath.patch       | 19 -------
 .../setup.py-find-libraries-in-staging-dirs.patch  | 30 +++++++++++
 meta/recipes-devtools/python/python3_3.4.3.bb      |  5 +-
 scripts/contrib/python/generate-manifest-3.4.py    |  5 +-
 10 files changed, 39 insertions(+), 233 deletions(-)
 delete mode 100644 meta/recipes-devtools/python/python3/06-ctypes-libffi-fix-configure.patch
 delete mode 100644 meta/recipes-devtools/python/python3/fix-ast.h-dependency.patch
 delete mode 100644 meta/recipes-devtools/python/python3/fix_ssl_include_dir.patch
 delete mode 100644 meta/recipes-devtools/python/python3/pip_build_directory_unclean.patch
 delete mode 100644 meta/recipes-devtools/python/python3/python3-fix-build-error-with-Readline-6.3.patch
 delete mode 100644 meta/recipes-devtools/python/python3/remove_sqlite_rpath.patch
 create mode 100644 meta/recipes-devtools/python/python3/setup.py-find-libraries-in-staging-dirs.patch
(Continue reading)

Cristian Iorga | 28 Jul 15:41 2015
Picon

[PATCH] linux-firmware: upgrade to commit 75cc3ef8ba6712fd72c073b17a790282136cc743

- Intel copyright years changed;
- Advanced Micro Devices copyright years changed;

Signed-off-by: Cristian Iorga <cristian.iorga@...>
---
 meta/recipes-kernel/linux-firmware/linux-firmware_git.bb | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/meta/recipes-kernel/linux-firmware/linux-firmware_git.bb b/meta/recipes-kernel/linux-firmware/linux-firmware_git.bb
index 4b9e9b8..ef8117c 100644
--- a/meta/recipes-kernel/linux-firmware/linux-firmware_git.bb
+++ b/meta/recipes-kernel/linux-firmware/linux-firmware_git.bb
 <at>  <at>  -56,7 +56,7  <at>  <at>  LIC_FILES_CHKSUM = "\
     file://LICENCE.i2400m;md5=14b901969e23c41881327c0d9e4b7d36 \
     file://LICENCE.ibt_firmware;md5=fdbee1ddfe0fb7ab0b2fcd6b454a366b \
     file://LICENCE.it913x;md5=1fbf727bfb6a949810c4dbfa7e6ce4f8 \
-    file://LICENCE.iwlwifi_firmware;md5=5106226b2863d00d8ed553221ddf8cd2 \
+    file://LICENCE.iwlwifi_firmware;md5=3fd842911ea93c29cd32679aa23e1c88 \
     file://LICENCE.IntcSST2;md5=9e7d8bea77612d7cc7d9e9b54b623062 \
     file://LICENCE.Marvell;md5=9ddea1734a4baf3c78d845151f42a37a \
     file://LICENCE.mwl8335;md5=9a6271ee0e644404b2ff3c61fd070983 \
 <at>  <at>  -79,7 +79,7  <at>  <at>  LIC_FILES_CHKSUM = "\
     file://LICENCE.xc5000c;md5=12b02efa3049db65d524aeb418dd87ca \
     file://LICENSE.amd-ucode;md5=3a0de451253cc1edbf30a3c621effee3 \
     file://LICENSE.dib0700;md5=f7411825c8a555a1a3e5eab9ca773431 \
-    file://LICENSE.radeon;md5=07b0c31777bd686d8e1609c6940b5e74 \
+    file://LICENSE.radeon;md5=6c7f97c6c62bdd9596d0238bb205118c \
     file://LICENCE.siano;md5=602c79ae3f98f1e73d880fd9f940a418 \
 "

(Continue reading)


Gmane