[OE-core] [PATCH 2/2] bitbake: fetch2/wget: checkstatus: use the same arguments as parent

2019-12-19 Thread Nicola Lunghi
-by: Nicola Lunghi --- bitbake/lib/bb/fetch2/wget.py | 21 - 1 file changed, 16 insertions(+), 5 deletions(-) diff --git a/bitbake/lib/bb/fetch2/wget.py b/bitbake/lib/bb/fetch2/wget.py index 180fe9aacd..9c0defb6d2 100644 --- a/bitbake/lib/bb/fetch2/wget.py +++ b/bitbake/lib/bb/fetch2

[OE-core] [PATCH 1/2] bitbake: fetch2/wget: checkstatus: cleanup URLError exception

2019-12-19 Thread Nicola Lunghi
again if it fails Signed-off-by: Nicola Lunghi Change-Id: I72fd4dd663412660632e4c5d3bfac0f4282270e2 --- bitbake/lib/bb/fetch2/wget.py | 60 +-- 1 file changed, 29 insertions(+), 31 deletions(-) diff --git a/bitbake/lib/bb/fetch2/wget.py b/bitbake/lib/bb/fetch2

[OE-core] [meta-python][PATCH] python3-importlib-metadata: revert RDEPEND python3-misc only for target and nativesdk"

2019-11-19 Thread Nicola Lunghi
= " python3-misc" RDEPENDS_${PN}_append_class-nativesdk = " python3-misc" ) Signed-off-by: Nicola Lunghi --- .../recipes-devtools/python/python3-importlib-metadata_0.23.bb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/meta-python/recipes-devtools/pyth

[OE-core] [PATCH] python-native: add python-misc-native to RPROVIDES

2019-11-19 Thread Nicola Lunghi
The package python-misc is not in the manifest file so it needs to be added explicitely to RPROVIDES for native class. Signed-off-by: Nicola Lunghi --- meta/recipes-devtools/python/python-native_2.7.16.bb | 3 +++ 1 file changed, 3 insertions(+) diff --git a/meta/recipes-devtools/python/python

[OE-core] [PATCH v3] python3: add python3-misc-native to RPROVIDES

2019-11-19 Thread Nicola Lunghi
The package python3-misc is not in the manifest file so it needs to be added explicitely to RPROVIDES_class-native. Signed-off-by: Nicola Lunghi --- meta/recipes-devtools/python/python3_3.7.5.bb | 3 +++ 1 file changed, 3 insertions(+) diff --git a/meta/recipes-devtools/python/python3_3.7.5.bb

[OE-core] [PATCH v2] python3: add python3-misc-native to RPROVIDES

2019-11-19 Thread Nicola Lunghi
The package python3-misc is not in the manifest file so it needs to be added explicitely to RPROVIDES_class-native. Change-Id: Ia59f2fbbe4e4f96c57a948f104a0ffc81e72affc Signed-off-by: Nicola Lunghi --- meta/recipes-devtools/python/python3_3.7.5.bb | 3 +++ 1 file changed, 3 insertions(+) diff

[OE-core] [PATCH] python3: add python3-misc-native to RPROVIDES

2019-11-19 Thread Nicola Lunghi
From: Nicola Lunghi The package python3-misc is not in the manifest file so it needs to be added explicitely to RPROVIDES_class-native. Change-Id: Ia59f2fbbe4e4f96c57a948f104a0ffc81e72affc Signed-off-by: Nicola Lunghi --- meta/recipes-devtools/python/python3_3.7.5.bb | 3 +++ 1 file changed

[OE-core] [meta][PATCH v2] ofono: tidy up the recipe

2019-10-10 Thread Nicola Lunghi
- remove the inc file - run oe-stylize on the recipe --- meta/recipes-connectivity/ofono/ofono.inc | 39 -- meta/recipes-connectivity/ofono/ofono_1.30.bb | 51 +-- 2 files changed, 46 insertions(+), 44 deletions(-) delete mode 100644

[OE-core] [meta][PATCH] ofono: convert recipe to use git

2019-10-03 Thread Nicola Lunghi
From: Nicola Lunghi ofono has a git repository available. Use that instead of the KERNELORG_MIRROR Signed-off-by: Nicola Lunghi --- meta/recipes-connectivity/ofono/ofono.inc | 4 +++- meta/recipes-connectivity/ofono/ofono_1.30.bb | 3 +-- 2 files changed, 4 insertions(+), 3 deletions

[OE-core] [meta][PATCH] ofono: run oe-stylize over recipe

2019-10-03 Thread Nicola Lunghi
From: Nicola Lunghi Variable ordering changed slightly and add the SRC_URI to the inc file Signed-off-by: Nicola Lunghi --- meta/recipes-connectivity/ofono/ofono.inc | 32 +++ meta/recipes-connectivity/ofono/ofono_1.30.bb | 6 ++-- 2 files changed, 21 insertions(+), 17

[OE-core] [PATCH v3 repost] rng-tools: harmonise systemd and sysvinit

2019-06-12 Thread Nicola Lunghi
this commit will permit to read the option from /etc/default/rng-tools both from systemd and sysvinit unit file. Signed-off-by: Nicola Lunghi --- .../rng-tools/rng-tools/default | 3 +-- meta/recipes-support/rng-tools/rng-tools/init | 21 ++--- .../rng-tools/rng-tools

[OE-core] [PATCH v2 3/3] rng-tools: armonize systemd and sysvinit files

2019-06-06 Thread Nicola Lunghi
this commit will permit to have a default file both in the systemd and in the sysvinit file Also reorganize the install_append function Signed-off-by: Nicola Lunghi --- .../rng-tools/rng-tools/default | 3 +-- meta/recipes-support/rng-tools/rng-tools/init | 21

[OE-core] [PATCH v2 2/3] rng-tools: 6.6->6.7

2019-06-06 Thread Nicola Lunghi
own.patch 0005-rngd-prioritize-faster-sources-of-entropy.patch 0006-rngd_jitter-replace-non-standard-pthread_yield-with-.patch 0007-Make-rngd_pkcs11.c-explicitly-link-against-libcrypto.patch Signed-off-by: Nicola Lunghi --- ...the-libc-is-lacking-argp-use-libargp.patch | 60 --

[OE-core] [PATCH v2 1/3] rng-tools: recipe cleanup

2019-06-06 Thread Nicola Lunghi
- add missing DESCRIPTION, AUTHOR, HOMEPAGE - cleanup DEPENDS - fix variable ordering as per https://www.openembedded.org/wiki/Styleguide - remove unneeded checks for systemd, sysvinit in do_install Signed-off-by: Nicola Lunghi --- .../rng-tools/rng-tools_6.6.bb| 63

[OE-core] [PATCH 2/2] rng-tools: 6.6->6.7

2019-06-06 Thread Nicola Lunghi
own.patch 0005-rngd-prioritize-faster-sources-of-entropy.patch 0006-rngd_jitter-replace-non-standard-pthread_yield-with-.patch 0007-Make-rngd_pkcs11.c-explicitly-link-against-libcrypto.patch Signed-off-by: Nicola Lunghi --- ...the-libc-is-lacking-argp-use-libargp.patch | 60 --

[OE-core] [PATCH 1/2] rng-tools: recipe cleanup

2019-06-06 Thread Nicola Lunghi
- add missing DESCRIPTION, AUTHOR, HOMEPAGE - cleanup DEPENDS - fix variable ordering as per https://www.openembedded.org/wiki/Styleguide - remove unneeded checks for systemd, sysvinit in do_install Signed-off-by: Nicola Lunghi --- .../rng-tools/rng-tools_6.6.bb| 63

[OE-core] [oe][meta-webserver][PATCH 1/2] nginx: update to version 1.17.0

2019-05-24 Thread Nicola Lunghi
Signed-off-by: Nicola Lunghi --- meta-webserver/recipes-httpd/nginx/nginx_1.15.7.bb | 6 -- meta-webserver/recipes-httpd/nginx/nginx_1.17.0.bb | 6 ++ 2 files changed, 6 insertions(+), 6 deletions(-) delete mode 100644 meta-webserver/recipes-httpd/nginx/nginx_1.15.7.bb create mode

[OE-core] [oe][meta-webserver][PATCH 2/2] nginx: update stable version to 1.16.0

2019-05-24 Thread Nicola Lunghi
Signed-off-by: Nicola Lunghi --- meta-webserver/recipes-httpd/nginx/nginx_1.14.2.bb | 10 -- meta-webserver/recipes-httpd/nginx/nginx_1.16.0.bb | 10 ++ 2 files changed, 10 insertions(+), 10 deletions(-) delete mode 100644 meta-webserver/recipes-httpd/nginx/nginx_1.14.2.bb

[OE-core] [oe][meta-webserver][PATCH] nginx: fix kill path in nginx systemd unit file

2019-05-24 Thread Nicola Lunghi
Signed-off-by: Nicola Lunghi --- meta-webserver/recipes-httpd/nginx/files/nginx.service | 2 +- meta-webserver/recipes-httpd/nginx/nginx.inc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/meta-webserver/recipes-httpd/nginx/files/nginx.service b/meta-webserver

[OE-core] [PATCH] nginx: fix kill path in nginx systemd unit file

2019-05-24 Thread Nicola Lunghi
Signed-off-by: Nicola Lunghi --- meta-webserver/recipes-httpd/nginx/files/nginx.service | 2 +- meta-webserver/recipes-httpd/nginx/nginx.inc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/meta-webserver/recipes-httpd/nginx/files/nginx.service b/meta-webserver

[OE-core] [PATCH v2] connman: fix segfault with musl >v1.1.21

2019-05-23 Thread Nicola Lunghi
musl > v1.1.21 changed the implementation of the freeaddrinfo() function not allowing anymore to pass null pointers to it. This was causing a segmentation fault in connman. Signed-off-by: Nicola Lunghi --- ...-gweb-fix-segfault-with-musl-v1.1.21.patch | 34 +++ .../conn

[OE-core] [PATCH] connman: fix segfault with musl >2.21

2019-05-23 Thread Nicola Lunghi
00:00:00 2001 +From: Nicola Lunghi +Date: Thu, 23 May 2019 07:55:25 +0100 +Subject: [PATCH] gweb: fix segfault with musl v1.1.21 + +In musl > 1.1.21 freeaddrinfo() implementation changed and +was causing a segmentation fault on recent Yocto using musl. + +See this commit: + + https://git.musl-li

[OE-core] [meta-java][PATCH] java-library: make easy to override jar package name

2018-11-23 Thread Nicola Lunghi
define JARFILENAME and ALTJARFILENAMES with ?= to make simple to override them Signed-off-by: Nicola Lunghi --- classes/java-library.bbclass | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/classes/java-library.bbclass b/classes/java-library.bbclass index ce1cd28..c69cf6b

[OE-core] [meta-java][PATCH] java-library: make easy to override jar package name

2018-11-23 Thread Nicola Lunghi
define JARFILENAME and ALTJARFILENAMES with ?= to make simple to override them Signed-off-by: Nicola Lunghi --- classes/java-library.bbclass | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/classes/java-library.bbclass b/classes/java-library.bbclass index ce1cd28..c69cf6b

[OE-core] [meta-oe][poky][PATCH] systemd: fix build systemd-resolved with musl

2018-07-17 Thread Nicola Lunghi
From: Nicola Lunghi systemd-resolved build was broken with musl because musl was missing the nss.h header and some symbol (NETDB_INTERNAL and NETDB_SUCCESS) Add a patch to define those symbol to fix the build Signed-off-by: Nicola Lunghi --- ...systemd-resolved-fix-build-with-musl.patch | 67

[OE-core] [meta-oe][poky][PATCH v2] systemd: resolved linked even if the option is disabled

2018-07-16 Thread Nicola Lunghi
From: Nicola Lunghi if resolved option is not selected the package systemd-resolved is not installed so it cannot provide an alternative for resolv.conf In this recipe the previous check was instead reversing the check (note the !). This patch avoid messing with resol.conf link if resolved

[OE-core] [PATCH] Add license file EPL-2.0

2018-06-06 Thread Nicola Lunghi
From: Nicola Lunghi it is from: https://www.eclipse.org/org/documents/epl-2.0/EPL-2.0.txt And add 'EPL-2.0' to SRC_DISTRIBUTE_LICENSES. --- meta/conf/licenses.conf| 2 +- meta/files/common-licenses/EPL-2.0 | 277 + 2 files changed, 278 insertions

[OE-core] [PATCH v2] core: fix /sbin/nologin path

2018-06-01 Thread Nicola Lunghi
In some yocto recipes the /sbin/nologin path is incorrectly set to /bin/nologin. set it to the correct path ${base_sbindir}/nologin Signed-off-by: Nicola Lunghi --- meta-selftest/files/static-passwd| 20 ++-- meta/classes/rootfs-postcommands.bbclass | 4 ++-- meta

[OE-core] [PATCH] ifupdown: add ifquery link

2018-05-31 Thread Nicola Lunghi
in the ifupdown recipe is missing the ifquery link Signed-off-by: Nicola Lunghi --- meta/recipes-core/ifupdown/ifupdown_0.8.16.bb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/meta/recipes-core/ifupdown/ifupdown_0.8.16.bb b/meta/recipes-core/ifupdown/ifupdown_0.8.16.bb

[OE-core] [PATCH] core: fix /sbin/nologin path

2018-05-31 Thread Nicola Lunghi
In some yocto recipes the /sbin/nologin path is incorrectly set to /bin/nologin. set it to the correct path ${base_sbindir}/nologin Signed-off-by: Nicola Lunghi --- meta-selftest/files/static-passwd| 20 ++-- meta/classes/rootfs-postcommands.bbclass | 6 +++--- meta