[oe] [meta-python][PATCH] python(3)-ndg-httpsclient: use update-alternatives to avoid do_rootfs failure

2018-09-13 Thread Chen Qi
Use update-alternaives to manage /usr/bin/ndg_httpclient to avoid the following do_rootfs failure. Error: Transaction check error: file /usr/bin/ndg_httpclient conflicts between attempted installs of python-ndg-httpsclient-0.5.1-r0.core2_64 and python3-ndg-httpsclient-0.5.1-r0.core2_64

Re: [oe] [meta-oe][PATCH] libdevmapper: Install dmsetup

2018-09-13 Thread Hongxu Jia
On 2018年09月14日 00:22, Andrew Bresticker wrote: Hi, On Thu, Sep 13, 2018 at 8:22 AM, Hongxu Jia wrote: On 2018年09月13日 05:22, Andrew Bresticker wrote: Commit 6aa1dd223a140 ("lvm2/libdevmapper: fix invoking lvcreate failed") accidentally removed installation of dmsetup as part of the

Re: [oe] [meta-networking][PATCH v2] postfix: fix pkg_postinst_${PN}

2018-09-13 Thread Yu, Mingli
On 2018年09月13日 19:09, Alexander Kanavin wrote: Ah, now I get it - there might be more lines in the postinst script added from elsewhere. Correct? Hi Alex, You are right, there is some other postinst script logic added such as by update-alternatives.bbclass. Thanks, Alex 2018-09-13

[oe] [meta-oe][PATCH] thrift: Refresh patches

2018-09-13 Thread Khem Raj
Make devtool happy patches Signed-off-by: Khem Raj --- .../0001-Forcibly-disable-check-for-Qt5.patch | 6 ++ ...-cmake-avoid-use-of-both-quoted-paths-.patch | 8 +++- ...in-test-cpp-explicitly-use-signed-char.patch | 14 ++ ...enable-build-with-OpenSSL-1.1.0-series.patch

[oe] [meta-oe][PATCH V2] kernel-selftest: Fix build on musl

2018-09-13 Thread Khem Raj
* (Depends upon a linux-libc-headers patch proposed to oe-core) * Delete unused patch * Mark Clang 6.0 as minimum required version * Do not hardcode python3 interpreter path Signed-off-by: Khem Raj Cc: Hongzhi.Song Cc: Martin Jansa --- V2: Fix build with older < 4.18 kernels

Re: [oe] UART keyboard as /dev/input?

2018-09-13 Thread Khem Raj
Hi Adam On Thu, Sep 13, 2018 at 1:38 PM Adam Lee wrote: > > How can I get a UART keyboard to show up in `/dev/input/`? I believe > `inputattach` was the tool that was favored until some years ago, but it > appears that it no longer is being used in modern Linux systems. I can't > seem to find the

[oe] UART keyboard as /dev/input?

2018-09-13 Thread Adam Lee
How can I get a UART keyboard to show up in `/dev/input/`? I believe `inputattach` was the tool that was favored until some years ago, but it appears that it no longer is being used in modern Linux systems. I can't seem to find the replacement for it, however. Apologies if this question isn't

[oe] [PATCH] connman: update to 1.36

2018-09-13 Thread Oleksandr Kravchuk
Signed-off-by: Oleksandr Kravchuk --- meta/recipes-connectivity/connman/connman.inc | 2 +- ...> 0001-Use-AC_USE_SYSTEM_EXTENSIONS.patch} | 446 -- ...tls-Fix-a-crash-using-wispr-over-TLS.patch | 41 -- ...refixlen-to-iproute_default_function.patch | 63 ---

Re: [oe] [meta-initramfs][PATCH 2/2] klibc: Fix build with security flags

2018-09-13 Thread Khem Raj
Thanks! can you cook a patch and send On Thu, Sep 13, 2018 at 10:19 AM Andrea Adami wrote: > > Khem, > > with this fix it builds (I removed the two bottom lines) > diff --git a/meta-initramfs/recipes-devtools/klibc/klibc.inc > b/meta-initramfs/recipes-devtools/klibc/klibc.inc > index

Re: [oe] [meta-initramfs][PATCH 2/2] klibc: Fix build with security flags

2018-09-13 Thread Andrea Adami
Khem, with this fix it builds (I removed the two bottom lines) diff --git a/meta-initramfs/recipes-devtools/klibc/klibc.inc b/meta-initramfs/recipes-devtools/klibc/klibc.inc index 3d25e96..57f32ac 100644 --- a/meta-initramfs/recipes-devtools/klibc/klibc.inc +++

Re: [oe] [meta-initramfs][PATCH 2/2] klibc: Fix build with security flags

2018-09-13 Thread Andrea Adami
Khem, build with gcc still fails: # i586-oe-linux-musl-ld.bfd -m elf_i386 -o usr/kinit/ipconfig/shared/ipc onfig -z noexecstack -e main usr/klibc/interp.o --start-group usr/kinit/ipconfig/main.o usr/kinit/ipconfig/netdev.o usr/kinit/ipconfig/packet.o usr/kinit/ipconfig/dhcp_proto.o

Re: [oe] [meta-oe][PATCH] libdevmapper: Install dmsetup

2018-09-13 Thread Andrew Bresticker
Hi, On Thu, Sep 13, 2018 at 8:22 AM, Hongxu Jia wrote: > On 2018年09月13日 05:22, Andrew Bresticker wrote: > > Commit 6aa1dd223a140 ("lvm2/libdevmapper: fix invoking lvcreate failed") > accidentally removed installation of dmsetup as part of the libdevmapper > recipe. Add it back by explicitly

Re: [oe] [meta-oe][PATCH] libdevmapper: Install dmsetup

2018-09-13 Thread Hongxu Jia
On 2018年09月13日 05:22, Andrew Bresticker wrote: Commit 6aa1dd223a140 ("lvm2/libdevmapper: fix invoking lvcreate failed") accidentally removed installation of dmsetup as part of the libdevmapper recipe. Add it back by explicitly installing it in do_install(). Why? I am afraid your fix will cause

Re: [oe] [meta-networking][PATCH v2] postfix: fix pkg_postinst_${PN}

2018-09-13 Thread Alexander Kanavin
Ah, now I get it - there might be more lines in the postinst script added from elsewhere. Correct? Alex 2018-09-13 13:07 GMT+02:00 Alexander Kanavin : > I might not be understanding this. Why is the original fragment > incorrect and the new one correct? > > Original: > > # This can fail

Re: [oe] [meta-networking][PATCH v2] postfix: fix pkg_postinst_${PN}

2018-09-13 Thread Alexander Kanavin
I might not be understanding this. Why is the original fragment incorrect and the new one correct? Original: # This can fail depending on host setup if ! newaliases -C $D/etc/postfix/main.cf -oA$D/etc/aliases; then $INTERCEPT_DIR/postinst_intercept delay_to_first_boot

[oe] [meta-networking][PATCH v2] postfix: fix pkg_postinst_${PN}

2018-09-13 Thread mingli.yu
From: Mingli Yu "exit 0" will break the postinst logic below the line "exit 0" such as: === update-alternatives --install /usr/sbin/sendmail sendmail /usr/sbin/sendmail.postfix 120 update-alternatives --install /usr/bin/mailq mailq /usr/bin/mailq.postfix 120 update-alternatives --install

Re: [oe] [meta-networking][PATCH] postfix: fix pkg_postinst_${PN}

2018-09-13 Thread Yu, Mingli
On 2018年09月13日 16:32, ChenQi wrote: On 09/13/2018 04:23 PM, mingli...@windriver.com wrote: From: Mingli Yu "exit 0" will break the postinst logic below the line "exit 0" such as: === update-alternatives --install /usr/sbin/sendmail sendmail /usr/sbin/sendmail.postfix 120 update-alternatives

[oe] [openembedded][linux][wayland]

2018-09-13 Thread Mohamed Dawod
Hello everyone, I built custom image for intel-corei7 processor supporting wayland weston instead of x11. I need to hide the mouse pointer from the desktop . I want to make it as mobiles, so I can use touch screen to click any where but there is no mouse pointer, Can any one help ? Any

Re: [oe] [meta-networking][PATCH] postfix: fix pkg_postinst_${PN}

2018-09-13 Thread ChenQi
On 09/13/2018 04:23 PM, mingli...@windriver.com wrote: From: Mingli Yu "exit 0" will break the postinst logic below the line "exit 0" such as: === update-alternatives --install /usr/sbin/sendmail sendmail /usr/sbin/sendmail.postfix 120 update-alternatives --install /usr/bin/mailq mailq

[oe] [meta-networking][PATCH] postfix: fix pkg_postinst_${PN}

2018-09-13 Thread mingli.yu
From: Mingli Yu "exit 0" will break the postinst logic below the line "exit 0" such as: === update-alternatives --install /usr/sbin/sendmail sendmail /usr/sbin/sendmail.postfix 120 update-alternatives --install /usr/bin/mailq mailq /usr/bin/mailq.postfix 120 update-alternatives --install

[oe] [meta-networking][PATCH] cyrus-sasl: fix parallel build issue

2018-09-13 Thread Hongxu Jia
While building plugins, each .c requires a _init.c, and the _init.c is dynamically generated by makeinit.sh. But the makeinit.sh generates all *_init.c (13 mechanism plugins, 3 auxprop plugins) at one time, if there are multiple plugins, there will be multiple makeinit.sh invoking. It caused a

[oe] [meta-initramfs][PATCH] kexec-tools-klibc: Deliberately add -O2

2018-09-13 Thread Khem Raj
This helps the compiler to be more aggressive and do the expected optimizations to remove unused code which otherwise gets flagged on some architectures e.g. armv7l errors like undefined reference to `bad_unaligned_access_length' Also see

Re: [oe] [PATCH][meta-networking] spice: fix compile error on 32bit system

2018-09-13 Thread Khem Raj
On Thu, Sep 13, 2018 at 12:00 AM Changqing Li wrote: > > > > On 09/13/2018 01:58 PM, Khem Raj wrote: > > On Wed, Sep 12, 2018 at 10:38 PM wrote: > > From: Changqing Li > > Fix below compile error on 32bit system, since input argument > is uLong, but use format %d: > format '%d' expects

Re: [oe] [PATCH][meta-networking] spice: fix compile error on 32bit system

2018-09-13 Thread Changqing Li
On 09/13/2018 03:00 PM, Changqing Li wrote: On 09/13/2018 01:58 PM, Khem Raj wrote: On Wed, Sep 12, 2018 at 10:38 PM wrote: From: Changqing Li Fix below compile error on 32bit system,  since input argument is uLong, but use format %d: format '%d' expects argument of type 'int', but

Re: [oe] [PATCH][meta-networking] spice: fix compile error on 32bit system

2018-09-13 Thread Changqing Li
On 09/13/2018 01:58 PM, Khem Raj wrote: On Wed, Sep 12, 2018 at 10:38 PM wrote: From: Changqing Li Fix below compile error on 32bit system, since input argument is uLong, but use format %d: format '%d' expects argument of type 'int', but argument 6 has type 'long unsigned int'

[oe] [meta-networking][PATCH] spice: cleanup leftover patch from upgrade to 0.13.90

2018-09-13 Thread Martin Jansa
Signed-off-by: Martin Jansa --- ...d-allow-separated-src-and-build-dirs.patch | 33 --- .../recipes-support/spice/spice_git.bb| 4 --- 2 files changed, 37 deletions(-) delete mode 100644