* [PATCH 0/8] [jethro] Consolidated pull
@ 2016-03-28 9:40 Robert Yang
2016-03-28 9:40 ` [PATCH 1/8] ruby-native: Depend on openssl-native Robert Yang
` (7 more replies)
0 siblings, 8 replies; 9+ messages in thread
From: Robert Yang @ 2016-03-28 9:40 UTC (permalink / raw)
To: openembedded-core
The following changes since commit 4d879cb8d7384ac4a96f22c1664b8875f2d8f615:
devtool: extract: update SRCTREECOVEREDTASKS for kernel (2016-03-20 10:22:55 +0000)
are available in the git repository at:
git://git.openembedded.org/openembedded-core-contrib rbt/jethro-next
http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=rbt/jethro-next
Bill Randle (1):
systemd: fix segfault on shutdown
Brad Mouring (2):
busybox-1.23: Backport patch to fix zcip false-conflict
busybox_git: Fix SRCREV
Javier Viguera (1):
bluez5: allow D-Bus to spawn obexd in systems without systemd
Khem Raj (1):
ruby-native: Depend on openssl-native
Li Xin (1):
gcc-cross-canadian.inc: add INSANE_SKIP_ to avoid build warning
Ross Burton (1):
cdrtools: update SRC_URI
Ulrich Ölmann (1):
nfs-utils: bugfix: adjust name of statd service unit
meta/recipes-connectivity/bluez5/bluez5.inc | 1 +
...-obexd-without-systemd-in-the-user-sessio.patch | 63 +++++++++++++
.../files/bugfix-adjust-statd-service-name.patch | 34 +++++++
.../nfs-utils/nfs-utils_1.3.1.bb | 1 +
...wrong-comparison-of-source-IP-with-our-IP.patch | 38 ++++++++
meta/recipes-core/busybox/busybox_1.23.2.bb | 1 +
meta/recipes-core/busybox/busybox_git.bb | 2 +-
.../0023-backported-fixes-for-null-messages.patch | 101 +++++++++++++++++++++
meta/recipes-core/systemd/systemd_225.bb | 1 +
.../cdrtools/cdrtools-native_3.01a31.bb | 2 +-
meta/recipes-devtools/gcc/gcc-cross-canadian.inc | 2 +
meta/recipes-devtools/ruby/ruby.inc | 2 +-
12 files changed, 245 insertions(+), 3 deletions(-)
create mode 100644 meta/recipes-connectivity/bluez5/bluez5/0001-Allow-using-obexd-without-systemd-in-the-user-sessio.patch
create mode 100644 meta/recipes-connectivity/nfs-utils/files/bugfix-adjust-statd-service-name.patch
create mode 100644 meta/recipes-core/busybox/busybox/0001-zcip-fix-wrong-comparison-of-source-IP-with-our-IP.patch
create mode 100644 meta/recipes-core/systemd/systemd/0023-backported-fixes-for-null-messages.patch
--
2.7.4
^ permalink raw reply [flat|nested] 9+ messages in thread
* [PATCH 1/8] ruby-native: Depend on openssl-native
2016-03-28 9:40 [PATCH 0/8] [jethro] Consolidated pull Robert Yang
@ 2016-03-28 9:40 ` Robert Yang
2016-03-28 9:40 ` [PATCH 2/8] bluez5: allow D-Bus to spawn obexd in systems without systemd Robert Yang
` (6 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: Robert Yang @ 2016-03-28 9:40 UTC (permalink / raw)
To: openembedded-core
From: Khem Raj <raj.khem@gmail.com>
This dependency is floating otherwise, It races against openssl-native
and when openssl config does not match with openssl on build host the
build fails occasionally
x86_64-linux/usr/include/openssl/ripemd.h:70:4: error: #error RIPEMD is
disabled.
# error RIPEMD is disabled.
Change-Id: I5ff6d8f058ff99c64ad4dc7c0377724071003ae6
(From OE-Core master rev: d0c8d98077622a700d92384f676770cb4d6d4f46)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
---
meta/recipes-devtools/ruby/ruby.inc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/meta/recipes-devtools/ruby/ruby.inc b/meta/recipes-devtools/ruby/ruby.inc
index 17aa789..313e752 100644
--- a/meta/recipes-devtools/ruby/ruby.inc
+++ b/meta/recipes-devtools/ruby/ruby.inc
@@ -15,7 +15,7 @@ LIC_FILES_CHKSUM = "\
"
DEPENDS = "ruby-native zlib openssl tcl libyaml db gdbm readline"
-DEPENDS_class-native = "libyaml-native"
+DEPENDS_class-native = "openssl-native libyaml-native"
SHRT_VER = "${@oe.utils.trim_version("${PV}", 2)}"
SRC_URI = "http://cache.ruby-lang.org/pub/ruby/${SHRT_VER}/ruby-${PV}.tar.gz \
--
2.7.4
^ permalink raw reply related [flat|nested] 9+ messages in thread
* [PATCH 2/8] bluez5: allow D-Bus to spawn obexd in systems without systemd
2016-03-28 9:40 [PATCH 0/8] [jethro] Consolidated pull Robert Yang
2016-03-28 9:40 ` [PATCH 1/8] ruby-native: Depend on openssl-native Robert Yang
@ 2016-03-28 9:40 ` Robert Yang
2016-03-28 9:40 ` [PATCH 3/8] busybox-1.23: Backport patch to fix zcip false-conflict Robert Yang
` (5 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: Robert Yang @ 2016-03-28 9:40 UTC (permalink / raw)
To: openembedded-core
From: Javier Viguera <javier.viguera@digi.com>
This includes a proper D-Bus service file for obexd in systems that do
not support systemd.
(From OE-Core rev: 75c5dc8d4a5506bf5b89292a96c7b9f91e9d71c8)
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
---
meta/recipes-connectivity/bluez5/bluez5.inc | 1 +
...-obexd-without-systemd-in-the-user-sessio.patch | 63 ++++++++++++++++++++++
2 files changed, 64 insertions(+)
create mode 100644 meta/recipes-connectivity/bluez5/bluez5/0001-Allow-using-obexd-without-systemd-in-the-user-sessio.patch
diff --git a/meta/recipes-connectivity/bluez5/bluez5.inc b/meta/recipes-connectivity/bluez5/bluez5.inc
index df42c88..d1af31e 100644
--- a/meta/recipes-connectivity/bluez5/bluez5.inc
+++ b/meta/recipes-connectivity/bluez5/bluez5.inc
@@ -18,6 +18,7 @@ PACKAGECONFIG[experimental] = "--enable-experimental,--disable-experimental,"
SRC_URI = "\
${KERNELORG_MIRROR}/linux/bluetooth/bluez-${PV}.tar.xz \
+ ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', '', 'file://0001-Allow-using-obexd-without-systemd-in-the-user-sessio.patch', d)} \
"
S = "${WORKDIR}/bluez-${PV}"
diff --git a/meta/recipes-connectivity/bluez5/bluez5/0001-Allow-using-obexd-without-systemd-in-the-user-sessio.patch b/meta/recipes-connectivity/bluez5/bluez5/0001-Allow-using-obexd-without-systemd-in-the-user-sessio.patch
new file mode 100644
index 0000000..2fde7bc
--- /dev/null
+++ b/meta/recipes-connectivity/bluez5/bluez5/0001-Allow-using-obexd-without-systemd-in-the-user-sessio.patch
@@ -0,0 +1,63 @@
+From: Giovanni Campagna <gcampagna-cNUdlRotFMnNLxjTenLetw@public.gmane.org>
+Date: Sat, 12 Oct 2013 17:45:25 +0200
+Subject: [PATCH] Allow using obexd without systemd in the user session
+
+Not all sessions run systemd --user (actually, the majority
+doesn't), so the dbus daemon must be able to spawn obexd
+directly, and to do so it needs the full path of the daemon.
+
+Upstream-Status: Denied
+
+Not accepted by upstream maintainer for being a distro specific
+configuration. See thread:
+
+http://thread.gmane.org/gmane.linux.bluez.kernel/38725/focus=38843
+
+Signed-off-by: Javier Viguera <javier.viguera@digi.com>
+---
+ Makefile.obexd | 4 ++--
+ obexd/src/org.bluez.obex.service | 4 ----
+ obexd/src/org.bluez.obex.service.in | 4 ++++
+ 3 files changed, 6 insertions(+), 6 deletions(-)
+ delete mode 100644 obexd/src/org.bluez.obex.service
+ create mode 100644 obexd/src/org.bluez.obex.service.in
+
+diff --git a/Makefile.obexd b/Makefile.obexd
+index 2e33cbc72f2b..d5d858c857b4 100644
+--- a/Makefile.obexd
++++ b/Makefile.obexd
+@@ -2,12 +2,12 @@
+ if SYSTEMD
+ systemduserunitdir = @SYSTEMD_USERUNITDIR@
+ systemduserunit_DATA = obexd/src/obex.service
++endif
+
+ dbussessionbusdir = @DBUS_SESSIONBUSDIR@
+ dbussessionbus_DATA = obexd/src/org.bluez.obex.service
+-endif
+
+-EXTRA_DIST += obexd/src/obex.service.in obexd/src/org.bluez.obex.service
++EXTRA_DIST += obexd/src/obex.service.in obexd/src/org.bluez.obex.service.in
+
+ obex_plugindir = $(libdir)/obex/plugins
+
+diff --git a/obexd/src/org.bluez.obex.service b/obexd/src/org.bluez.obex.service
+deleted file mode 100644
+index a53808884554..000000000000
+--- a/obexd/src/org.bluez.obex.service
++++ /dev/null
+@@ -1,4 +0,0 @@
+-[D-BUS Service]
+-Name=org.bluez.obex
+-Exec=/bin/false
+-SystemdService=dbus-org.bluez.obex.service
+diff --git a/obexd/src/org.bluez.obex.service.in b/obexd/src/org.bluez.obex.service.in
+new file mode 100644
+index 000000000000..9c815f246b77
+--- /dev/null
++++ b/obexd/src/org.bluez.obex.service.in
+@@ -0,0 +1,4 @@
++[D-BUS Service]
++Name=org.bluez.obex
++Exec=@libexecdir@/obexd
++SystemdService=dbus-org.bluez.obex.service
--
2.7.4
^ permalink raw reply related [flat|nested] 9+ messages in thread
* [PATCH 3/8] busybox-1.23: Backport patch to fix zcip false-conflict
2016-03-28 9:40 [PATCH 0/8] [jethro] Consolidated pull Robert Yang
2016-03-28 9:40 ` [PATCH 1/8] ruby-native: Depend on openssl-native Robert Yang
2016-03-28 9:40 ` [PATCH 2/8] bluez5: allow D-Bus to spawn obexd in systems without systemd Robert Yang
@ 2016-03-28 9:40 ` Robert Yang
2016-03-28 9:40 ` [PATCH 4/8] busybox_git: Fix SRCREV Robert Yang
` (4 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: Robert Yang @ 2016-03-28 9:40 UTC (permalink / raw)
To: openembedded-core
From: Brad Mouring <brad.mouring@ni.com>
Busybox upstream fixed the issue where an incorrect comparison of
addresses led to bogus renegotiation of a new ll ip in 1.24. Backport
this change to 1.23.2.
Signed-off-by: Brad Mouring <brad.mouring@ni.com>
---
...wrong-comparison-of-source-IP-with-our-IP.patch | 38 ++++++++++++++++++++++
meta/recipes-core/busybox/busybox_1.23.2.bb | 1 +
2 files changed, 39 insertions(+)
create mode 100644 meta/recipes-core/busybox/busybox/0001-zcip-fix-wrong-comparison-of-source-IP-with-our-IP.patch
diff --git a/meta/recipes-core/busybox/busybox/0001-zcip-fix-wrong-comparison-of-source-IP-with-our-IP.patch b/meta/recipes-core/busybox/busybox/0001-zcip-fix-wrong-comparison-of-source-IP-with-our-IP.patch
new file mode 100644
index 0000000..dec5eb5
--- /dev/null
+++ b/meta/recipes-core/busybox/busybox/0001-zcip-fix-wrong-comparison-of-source-IP-with-our-IP.patch
@@ -0,0 +1,38 @@
+From 4d15068d83054a9f82b3f8842706cd6deb401e25 Mon Sep 17 00:00:00 2001
+From: Vladislav Grishenko <themiron@mail.ru>
+Date: Thu, 19 Mar 2015 16:19:35 +0500
+Subject: [PATCH] zcip: fix wrong comparison of source IP with our IP
+
+Commit "zcip: fix link-local IP conflict detection" has introduced
+wrong comparsion of source IP with our IP. This leads to a new IP
+being picked unnecessarily on every incoming ARP packet.
+
+Signed-off-by: Vladislav Grishenko <themiron@mail.ru>
+Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
+
+This change was picked from Busybox without modification
+(git://git.busybox.net/busybox, commit 4d15068)
+
+Upstream-Status: Backport (added in 1.24)
+Signed-off-by: Brad Mouring <brad.mouring@ni.com>
+
+---
+ networking/zcip.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/networking/zcip.c b/networking/zcip.c
+index a3307c5..962ba2e 100644
+--- a/networking/zcip.c
++++ b/networking/zcip.c
+@@ -521,7 +521,7 @@ int zcip_main(int argc UNUSED_PARAM, char **argv)
+ target_ip_conflict = 0;
+
+ if (memcmp(&p.arp.arp_sha, ð_addr, ETH_ALEN) != 0) {
+- if (memcmp(p.arp.arp_spa, &ip.s_addr, sizeof(struct in_addr))) {
++ if (memcmp(p.arp.arp_spa, &ip.s_addr, sizeof(struct in_addr)) == 0) {
+ /* A probe or reply with source_ip == chosen ip */
+ source_ip_conflict = 1;
+ }
+--
+2.7.3
+
diff --git a/meta/recipes-core/busybox/busybox_1.23.2.bb b/meta/recipes-core/busybox/busybox_1.23.2.bb
index 7258df0..5edcbfd 100644
--- a/meta/recipes-core/busybox/busybox_1.23.2.bb
+++ b/meta/recipes-core/busybox/busybox_1.23.2.bb
@@ -36,6 +36,7 @@ SRC_URI = "http://www.busybox.net/downloads/busybox-${PV}.tar.bz2;name=tarball \
file://0001-Use-CC-when-linking-instead-of-LD-and-use-CFLAGS-and.patch \
file://0002-Passthrough-r-to-linker.patch \
file://0001-randconfig-fix.patch \
+ file://0001-zcip-fix-wrong-comparison-of-source-IP-with-our-IP.patch \
file://mount-via-label.cfg \
file://sha1sum.cfg \
file://sha256sum.cfg \
--
2.7.4
^ permalink raw reply related [flat|nested] 9+ messages in thread
* [PATCH 4/8] busybox_git: Fix SRCREV
2016-03-28 9:40 [PATCH 0/8] [jethro] Consolidated pull Robert Yang
` (2 preceding siblings ...)
2016-03-28 9:40 ` [PATCH 3/8] busybox-1.23: Backport patch to fix zcip false-conflict Robert Yang
@ 2016-03-28 9:40 ` Robert Yang
2016-03-28 9:40 ` [PATCH 5/8] nfs-utils: bugfix: adjust name of statd service unit Robert Yang
` (3 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: Robert Yang @ 2016-03-28 9:40 UTC (permalink / raw)
To: openembedded-core
From: Brad Mouring <brad.mouring@ni.com>
The SRCREV in the busybox git recipe did not point to a commit ID
on the master branch. Point the variable to something reachable from
the master branch (which fixes this recipe's fetch()).
Suggested-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Brad Mouring <brad.mouring@ni.com>
---
meta/recipes-core/busybox/busybox_git.bb | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/meta/recipes-core/busybox/busybox_git.bb b/meta/recipes-core/busybox/busybox_git.bb
index ade72f4..7c1b650 100644
--- a/meta/recipes-core/busybox/busybox_git.bb
+++ b/meta/recipes-core/busybox/busybox_git.bb
@@ -1,6 +1,6 @@
require busybox.inc
-SRCREV = "be947c4d97c0dacb703a6f24dd813ff6dd3a33b6"
+SRCREV = "4d15068d83054a9f82b3f8842706cd6deb401e25"
# Lookout for PV bump too when SRCREV is changed
PV = "1.23.2+git${SRCPV}"
--
2.7.4
^ permalink raw reply related [flat|nested] 9+ messages in thread
* [PATCH 5/8] nfs-utils: bugfix: adjust name of statd service unit
2016-03-28 9:40 [PATCH 0/8] [jethro] Consolidated pull Robert Yang
` (3 preceding siblings ...)
2016-03-28 9:40 ` [PATCH 4/8] busybox_git: Fix SRCREV Robert Yang
@ 2016-03-28 9:40 ` Robert Yang
2016-03-28 9:40 ` [PATCH 6/8] systemd: fix segfault on shutdown Robert Yang
` (2 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: Robert Yang @ 2016-03-28 9:40 UTC (permalink / raw)
To: openembedded-core
From: Ulrich Ölmann <u.oelmann@pengutronix.de>
Upstream nfs-utils use 'rpc-statd.service' and Yocto introduced
'nfs-statd.service' instead but forgot to update the mount.nfs helper
'start-statd' accordingly.
Signed-off-by: Ulrich Ölmann <u.oelmann@pengutronix.de>
---
.../files/bugfix-adjust-statd-service-name.patch | 34 ++++++++++++++++++++++
.../nfs-utils/nfs-utils_1.3.1.bb | 1 +
2 files changed, 35 insertions(+)
create mode 100644 meta/recipes-connectivity/nfs-utils/files/bugfix-adjust-statd-service-name.patch
diff --git a/meta/recipes-connectivity/nfs-utils/files/bugfix-adjust-statd-service-name.patch b/meta/recipes-connectivity/nfs-utils/files/bugfix-adjust-statd-service-name.patch
new file mode 100644
index 0000000..14bd403
--- /dev/null
+++ b/meta/recipes-connectivity/nfs-utils/files/bugfix-adjust-statd-service-name.patch
@@ -0,0 +1,34 @@
+From 398fed3bb0350cb1229e54e7020ae0e044c206d1 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Ulrich=20=C3=96lmann?= <u.oelmann@pengutronix.de>
+Date: Wed, 17 Feb 2016 08:33:45 +0100
+Subject: bugfix: adjust statd service name
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+Upstream uses 'rpc-statd.service' and Yocto introduced 'nfs-statd.service'
+instead but forgot to update the mount.nfs helper 'start-statd' accordingly.
+
+Upstream-Status: Inappropriate [other]
+
+Signed-off-by: Ulrich Ölmann <u.oelmann@pengutronix.de>
+---
+ utils/statd/start-statd | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/utils/statd/start-statd b/utils/statd/start-statd
+index 8211a90..3c2aa6f 100755
+--- a/utils/statd/start-statd
++++ b/utils/statd/start-statd
+@@ -16,7 +16,7 @@ fi
+ # First try systemd if it's installed.
+ if [ -d /run/systemd/system ]; then
+ # Quit only if the call worked.
+- systemctl start rpc-statd.service && exit
++ systemctl start nfs-statd.service && exit
+ fi
+
+ # Fall back to launching it ourselves.
+--
+2.1.4
+
diff --git a/meta/recipes-connectivity/nfs-utils/nfs-utils_1.3.1.bb b/meta/recipes-connectivity/nfs-utils/nfs-utils_1.3.1.bb
index 42101de..f346fdc 100644
--- a/meta/recipes-connectivity/nfs-utils/nfs-utils_1.3.1.bb
+++ b/meta/recipes-connectivity/nfs-utils/nfs-utils_1.3.1.bb
@@ -31,6 +31,7 @@ SRC_URI = "${KERNELORG_MIRROR}/linux/utils/nfs-utils/${PV}/nfs-utils-${PV}.tar.x
file://proc-fs-nfsd.mount \
file://nfs-utils-Do-not-pass-CFLAGS-to-gcc-while-building.patch \
file://nfs-utils-debianize-start-statd.patch \
+ file://bugfix-adjust-statd-service-name.patch \
"
SRC_URI[md5sum] = "8de676b9ff34b8f9addc1d0800fabdf8"
--
2.7.4
^ permalink raw reply related [flat|nested] 9+ messages in thread
* [PATCH 6/8] systemd: fix segfault on shutdown
2016-03-28 9:40 [PATCH 0/8] [jethro] Consolidated pull Robert Yang
` (4 preceding siblings ...)
2016-03-28 9:40 ` [PATCH 5/8] nfs-utils: bugfix: adjust name of statd service unit Robert Yang
@ 2016-03-28 9:40 ` Robert Yang
2016-03-28 9:40 ` [PATCH 7/8] gcc-cross-canadian.inc: add INSANE_SKIP_ to avoid build warning Robert Yang
2016-03-28 9:40 ` [PATCH 8/8] cdrtools: update SRC_URI Robert Yang
7 siblings, 0 replies; 9+ messages in thread
From: Robert Yang @ 2016-03-28 9:40 UTC (permalink / raw)
To: openembedded-core
From: Bill Randle <william.c.randle@intel.com>
This applies upstream fixes to fix a segfault in systemd-logind on
shutdown.
[Fixes YOCTO #9265]
Signed-off-by: Bill Randle <william.c.randle@intel.com>
---
.../0023-backported-fixes-for-null-messages.patch | 101 +++++++++++++++++++++
meta/recipes-core/systemd/systemd_225.bb | 1 +
2 files changed, 102 insertions(+)
create mode 100644 meta/recipes-core/systemd/systemd/0023-backported-fixes-for-null-messages.patch
diff --git a/meta/recipes-core/systemd/systemd/0023-backported-fixes-for-null-messages.patch b/meta/recipes-core/systemd/systemd/0023-backported-fixes-for-null-messages.patch
new file mode 100644
index 0000000..b39037f
--- /dev/null
+++ b/meta/recipes-core/systemd/systemd/0023-backported-fixes-for-null-messages.patch
@@ -0,0 +1,101 @@
+From ce88232a1c8e914936e18edbee2551ab95fc4c1d Mon Sep 17 00:00:00 2001
+From: Bill Randle <william.c.randle@intel.com>
+Date: Mon, 21 Mar 2016 15:52:30 -0700
+Subject: [PATCH] backported fixes for null messages
+
+Apply upstream commits 5744f59a3ee883ef3a78214bd5236157acdc35ba,
+2cf088b56d72cb6a3243041524f1fbae7c1cb28e and
+c7430c3d1a0c14aed631864b9da504ba1a9352c2 to fix Yocto #9265.
+
+Upstream-Status: Backport
+
+Signed-off-by: Bill Randle <william.c.randle@intel.com>
+---
+ src/login/logind-dbus.c | 31 ++++++++++++++++++-------------
+ 1 file changed, 18 insertions(+), 13 deletions(-)
+
+diff --git a/src/login/logind-dbus.c b/src/login/logind-dbus.c
+index 5b2b36b..e433549 100644
+--- a/src/login/logind-dbus.c
++++ b/src/login/logind-dbus.c
+@@ -1339,8 +1339,7 @@ static int bus_manager_log_shutdown(
+ InhibitWhat w,
+ const char *unit_name) {
+
+- const char *p;
+- const char *q;
++ const char *p, *q;
+
+ assert(m);
+ assert(unit_name);
+@@ -1365,8 +1364,8 @@ static int bus_manager_log_shutdown(
+ q = NULL;
+ }
+
+- if (m->wall_message)
+- p = strjoina(p, " (", m->wall_message, ")", NULL);
++ if (!isempty(m->wall_message))
++ p = strjoina(p, " (", m->wall_message, ")");
+
+ return log_struct(LOG_NOTICE,
+ LOG_MESSAGE_ID(SD_MESSAGE_SHUTDOWN),
+@@ -1797,9 +1796,11 @@ static int update_schedule_file(Manager *m) {
+ if (r < 0)
+ return log_error_errno(r, "Failed to create shutdown subdirectory: %m");
+
+- t = cescape(m->wall_message);
+- if (!t)
+- return log_oom();
++ if (!isempty(m->wall_message)) {
++ t = cescape(m->wall_message);
++ if (!t)
++ return log_oom();
++ }
+
+ r = fopen_temporary("/run/systemd/shutdown/scheduled", &f, &temp_path);
+ if (r < 0)
+@@ -1815,7 +1816,7 @@ static int update_schedule_file(Manager *m) {
+ m->enable_wall_messages,
+ m->scheduled_shutdown_type);
+
+- if (!isempty(m->wall_message))
++ if (t)
+ fprintf(f, "WALL_MESSAGE=%s\n", t);
+
+ r = fflush_and_check(f);
+@@ -2294,7 +2295,7 @@ static int method_set_wall_message(
+ int r;
+ Manager *m = userdata;
+ char *wall_message;
+- bool enable_wall_messages;
++ int enable_wall_messages;
+
+ assert(message);
+ assert(m);
+@@ -2310,15 +2311,19 @@ static int method_set_wall_message(
+ UID_INVALID,
+ &m->polkit_registry,
+ error);
+-
+ if (r < 0)
+ return r;
+ if (r == 0)
+ return 1; /* Will call us back */
+
+- r = free_and_strdup(&m->wall_message, wall_message);
+- if (r < 0)
+- return log_oom();
++ if (isempty(wall_message))
++ m->wall_message = mfree(m->wall_message);
++ else {
++ r = free_and_strdup(&m->wall_message, wall_message);
++ if (r < 0)
++ return log_oom();
++ }
++
+ m->enable_wall_messages = enable_wall_messages;
+
+ return sd_bus_reply_method_return(message, NULL);
+--
+2.5.0
+
diff --git a/meta/recipes-core/systemd/systemd_225.bb b/meta/recipes-core/systemd/systemd_225.bb
index 18c2448..7c66ba2 100644
--- a/meta/recipes-core/systemd/systemd_225.bb
+++ b/meta/recipes-core/systemd/systemd_225.bb
@@ -46,6 +46,7 @@ SRC_URI = "git://github.com/systemd/systemd.git;protocol=git \
file://init \
file://run-ptest \
file://rules-whitelist-hd-devices.patch \
+ file://0023-backported-fixes-for-null-messages.patch \
"
SRC_URI_append_qemuall = " file://qemuall_io_latency-core-device.c-Change-the-default-device-timeout-to-2.patch"
--
2.7.4
^ permalink raw reply related [flat|nested] 9+ messages in thread
* [PATCH 7/8] gcc-cross-canadian.inc: add INSANE_SKIP_ to avoid build warning
2016-03-28 9:40 [PATCH 0/8] [jethro] Consolidated pull Robert Yang
` (5 preceding siblings ...)
2016-03-28 9:40 ` [PATCH 6/8] systemd: fix segfault on shutdown Robert Yang
@ 2016-03-28 9:40 ` Robert Yang
2016-03-28 9:40 ` [PATCH 8/8] cdrtools: update SRC_URI Robert Yang
7 siblings, 0 replies; 9+ messages in thread
From: Robert Yang @ 2016-03-28 9:40 UTC (permalink / raw)
To: openembedded-core
From: Li Xin <lixin.fnst@cn.fujitsu.com>
WARNING: QA Issue: gcc-cross-canadian-i586-dbg: found library in wrong location:
/PATH/sysroots/x86_64-oesdk-linux/usr/libexec/i586-oe-linux/gcc/
i586-oe-linux/5.2.0/.debug/libcc1.so.0.0.0
This warning is introduced by commit f6e47aa(gcc-target 5.1: fix for libcc1)
Signed-off-by: Li Xin <lixin.fnst@cn.fujitsu.com>
---
meta/recipes-devtools/gcc/gcc-cross-canadian.inc | 2 ++
1 file changed, 2 insertions(+)
diff --git a/meta/recipes-devtools/gcc/gcc-cross-canadian.inc b/meta/recipes-devtools/gcc/gcc-cross-canadian.inc
index 54e4881..027c09a 100644
--- a/meta/recipes-devtools/gcc/gcc-cross-canadian.inc
+++ b/meta/recipes-devtools/gcc/gcc-cross-canadian.inc
@@ -83,6 +83,8 @@ FILES_${PN} = "\
${prefix}/${TARGET_SYS}/usr/include/* \
"
INSANE_SKIP_${PN} += "dev-so"
+INSANE_SKIP_${PN} += "libdir"
+INSANE_SKIP_${PN}-dbg += "libdir"
FILES_${PN}-dbg += " \
${libexecdir}/gcc/${TARGET_SYS}/${BINV}/.debug \
--
2.7.4
^ permalink raw reply related [flat|nested] 9+ messages in thread
* [PATCH 8/8] cdrtools: update SRC_URI
2016-03-28 9:40 [PATCH 0/8] [jethro] Consolidated pull Robert Yang
` (6 preceding siblings ...)
2016-03-28 9:40 ` [PATCH 7/8] gcc-cross-canadian.inc: add INSANE_SKIP_ to avoid build warning Robert Yang
@ 2016-03-28 9:40 ` Robert Yang
7 siblings, 0 replies; 9+ messages in thread
From: Robert Yang @ 2016-03-28 9:40 UTC (permalink / raw)
To: openembedded-core
From: Ross Burton <ross.burton@intel.com>
Upstream released their 3.01 so the alpha releases we were downloading have
moved. Update the SRC_URI so it continues to download.
Signed-off-by: Ross Burton <ross.burton@intel.com>
---
meta/recipes-devtools/cdrtools/cdrtools-native_3.01a31.bb | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/meta/recipes-devtools/cdrtools/cdrtools-native_3.01a31.bb b/meta/recipes-devtools/cdrtools/cdrtools-native_3.01a31.bb
index d0f36e2..50e284c 100644
--- a/meta/recipes-devtools/cdrtools/cdrtools-native_3.01a31.bb
+++ b/meta/recipes-devtools/cdrtools/cdrtools-native_3.01a31.bb
@@ -7,7 +7,7 @@ SECTION = "console/utils"
LICENSE = "GPLv2 & CDDL-1.0 & LGPLv2.1+"
LIC_FILES_CHKSUM = "file://COPYING;md5=32f68170be424c2cd64804337726b312"
-SRC_URI = "${SOURCEFORGE_MIRROR}/project/cdrtools/alpha/cdrtools-${PV}.tar.bz2"
+SRC_URI = "${SOURCEFORGE_MIRROR}/project/cdrtools/alpha/OLD/3.01aX/cdrtools-${PV}.tar.bz2"
SRC_URI[md5sum] = "78172557894f469b4584d008e93ec469"
SRC_URI[sha256sum] = "183b5c12777779e78d8b69461aae52401f863768e7e7391d60730006f8cadc5a"
--
2.7.4
^ permalink raw reply related [flat|nested] 9+ messages in thread
end of thread, other threads:[~2016-03-28 9:40 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-03-28 9:40 [PATCH 0/8] [jethro] Consolidated pull Robert Yang
2016-03-28 9:40 ` [PATCH 1/8] ruby-native: Depend on openssl-native Robert Yang
2016-03-28 9:40 ` [PATCH 2/8] bluez5: allow D-Bus to spawn obexd in systems without systemd Robert Yang
2016-03-28 9:40 ` [PATCH 3/8] busybox-1.23: Backport patch to fix zcip false-conflict Robert Yang
2016-03-28 9:40 ` [PATCH 4/8] busybox_git: Fix SRCREV Robert Yang
2016-03-28 9:40 ` [PATCH 5/8] nfs-utils: bugfix: adjust name of statd service unit Robert Yang
2016-03-28 9:40 ` [PATCH 6/8] systemd: fix segfault on shutdown Robert Yang
2016-03-28 9:40 ` [PATCH 7/8] gcc-cross-canadian.inc: add INSANE_SKIP_ to avoid build warning Robert Yang
2016-03-28 9:40 ` [PATCH 8/8] cdrtools: update SRC_URI Robert Yang
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox