[OE-core] [PATCH V3] icu: Add knobs to generate a subset of ICU data

2020-04-03 Thread Khem Raj
Recent versions of ICU (64+) provides a tool for configuring ICU locale data file with finer granularity [1] Default generated size for libicudata.so.66.1 is ~27M, which is quite large for embedded systems and all of them may not even need all locale data. This patch calls the icudata buildtool

[OE-core] [thud][PATCH] busybox: on upgrade save busybox if it is the last shell

2020-04-03 Thread Jeremy Puhlman
From: Jeremy Puhlman During a busybox upgrade on a ipk based system, it is possible that busybox is the only shell in the system. During the uninstall the alternative for /bin/sh is removed and everything after that goes down hill. * Add a check to verify if busybox is the shell, and save it to

[OE-core] [zeus][PATCH] busybox: on upgrade save busybox if it is the last shell

2020-04-03 Thread Jeremy Puhlman
From: Jeremy Puhlman During a busybox upgrade on a ipk based system, it is possible that busybox is the only shell in the system. During the uninstall the alternative for /bin/sh is removed and everything after that goes down hill. * Add a check to verify if busybox is the shell, and save it to

[OE-core] [warrior][PATCH] busybox: on upgrade save busybox if it is the last shell

2020-04-03 Thread Jeremy Puhlman
From: Jeremy Puhlman During a busybox upgrade on a ipk based system, it is possible that busybox is the only shell in the system. During the uninstall the alternative for /bin/sh is removed and everything after that goes down hill. * Add a check to verify if busybox is the shell, and save it to

Re: [OE-core] [PATCH] cmake: fix Python executable with cmake

2020-04-03 Thread Khem Raj
Hi Martin I am seeing upm package failures, which I think are related to this change https://errors.yoctoproject.org/Errors/Details/400570/ https://errors.yoctoproject.org/Errors/Details/400566/ https://errors.yoctoproject.org/Errors/Details/400588/ On Thu, Apr 2, 2020 at 1:59 PM Martin Kelly

[OE-core] [PATCH] binutils: Use configure options to disable gdb and dependencies

2020-04-03 Thread Khem Raj
Deleting sources is a rough way of dealing with disabling components, using configure option is elegant way and we also keep the sources unchanged, this should not cause any funcitonal changes otherwise Signed-off-by: Khem Raj --- meta/recipes-devtools/binutils/binutils-2.34.inc | 4

Re: [OE-core] [PATCH 1/4] scripts/install-buildtools: improvements

2020-04-03 Thread Tim Orling
> On Apr 1, 2020, at 3:16 PM, Richard Purdie > wrote: > > On Wed, 2020-04-01 at 15:09 -0700, Andre McCurdy wrote: >> On Wed, Apr 1, 2020 at 3:02 PM Tim Orling wrote: >>> On Wed, Apr 1, 2020 at 2:32 PM Tim Orling via >>> lists.openembedded.org >>> wrote: On Wed, Apr 1, 2020 at 1:09 PM

[OE-core] [PATCH] scripts/install-buildtools: refactor for Python 3.4

2020-04-03 Thread Tim Orling
Our least common denominator supported distro is debian-8 which has python 3.4. The whole point of the install-buildtools script is to make it easier on the user to install buildtools tarball. So it needs to run on Python 3.4. The way we checked if the install was successful in the prior version

Re: [OE-core] [PATCH] pseudo: Force seccomp to return success when in fact doing nothing

2020-04-03 Thread Andre McCurdy
On Fri, Apr 3, 2020 at 2:59 PM Richard Purdie wrote: > > Pseudo changes the syscall access patterns which makes it incompatible with > seccomp. Therefore intercept the seccomp syscall and alter it, pretending that > seccomp was setup when in fact we do nothing. If we error as unsupported, >

Re: [OE-core] [PATCH] pseudo: Force seccomp to return success when in fact doing nothing

2020-04-03 Thread Khem Raj
On Fri, Apr 3, 2020 at 2:59 PM Richard Purdie wrote: > > Pseudo changes the syscall access patterns which makes it incompatible with > seccomp. Therefore intercept the seccomp syscall and alter it, pretending that > seccomp was setup when in fact we do nothing. If we error as unsupported, >

[OE-core] [PATCH] pseudo: Force seccomp to return success when in fact doing nothing

2020-04-03 Thread Richard Purdie
Pseudo changes the syscall access patterns which makes it incompatible with seccomp. Therefore intercept the seccomp syscall and alter it, pretending that seccomp was setup when in fact we do nothing. If we error as unsupported, utilities like file will exit with errors so we can't just disable

Re: [OE-core] [PATCH] icu: Add knobs to generate a subset of ICU data

2020-04-03 Thread Khem Raj
On Fri, Apr 3, 2020 at 10:47 AM Richard Purdie wrote: > > On Fri, 2020-04-03 at 08:55 -0700, Khem Raj wrote: > > On Fri, Apr 3, 2020 at 8:26 AM Richard Purdie > > wrote: > > > On Thu, 2020-04-02 at 18:53 -0700, Khem Raj wrote: > > > > Recent versions of ICU (64+) provides a tool for configuring

[OE-core] [PATCH V2] icu: Add knobs to generate a subset of ICU data

2020-04-03 Thread Khem Raj
Recent versions of ICU (64+) provides a tool for configuring ICU locale data file with finer granularity [1] Default generated size for libicudata.so.66.1 is ~27M, which is quite large for embedded systems and all of them may not even need all locale data. This patch calls the icudata buildtool

[OE-core] [PATCH] nativesdk-binutils: correct path to ld.so.conf

2020-04-03 Thread Jeremy Puhlman
From: Jeremy Puhlman The alternative ld.so patch is set up so the linker will search the nativesdk sysroot before searching the host filesystem. However the patch concatenates /etc and /etc/ld.so.conf leading to a path that does not exist: 3061991 openat(AT_FDCWD,

Re: [OE-core] [PATCH 1/2] wic: Fix permissions when using exclude or include path

2020-04-03 Thread Ricardo Ribalda
ping? On Thu, Mar 5, 2020 at 10:46 AM Ricardo Ribalda Delgado wrote: > > Hi Paul > > On Thu, Mar 5, 2020 at 10:32 AM Paul Barker wrote: > > > > On Wed, 4 Mar 2020 11:02:47 +0100 > > Ricardo Ribalda Delgado wrote: > > > > > Hi Paul > > > > > > On Wed, Mar 4, 2020 at 10:53 AM Paul Barker wrote:

Re: [OE-core] [PATCH v2 2/2] wic: Add --embed-rootfs argument

2020-04-03 Thread Ricardo Ribalda
ping? On Thu, Mar 5, 2020 at 1:26 PM Ricardo Ribalda Delgado wrote: > > Hi Paul, > > On Thu, Mar 5, 2020 at 10:37 AM Paul Barker wrote: > > > > On Wed, 4 Mar 2020 15:49:36 +0100 > > Ricardo Ribalda Delgado wrote: > > > > > This option adds the content of a rootfs on a specific location on the

[OE-core] [PATCH] cdrtools-native: remove use of REALPV in versioning

2020-04-03 Thread rpj...@crashcourse.ca
There appears to be no need for the use of REALPV in the recipe for cdrtools-native as the downloaded tarball has the official version in it. Signed-off-by: Robert P. J. Day --- unless i'm misreading something, there is no need to over-complicate the recipe for cdrtools-native given the

Re: [OE-core] [PATCH] file: explicitly disable seccomp

2020-04-03 Thread Richard Purdie
On Fri, 2020-04-03 at 07:23 -0700, Khem Raj wrote: > On Fri, Apr 3, 2020 at 6:36 AM Richard Purdie > wrote: > > On Tue, 2020-03-31 at 12:57 +0200, Jan Luebbe wrote: > > > Hi, > > > > > > On Mon, 2020-01-20 at 17:10 +, Ross Burton wrote: > > > > On 20/01/2020 15:45, Khem Raj wrote: > > > > >

Re: [OE-core] [PATCH] icu: Add knobs to generate a subset of ICU data

2020-04-03 Thread Richard Purdie
On Fri, 2020-04-03 at 08:55 -0700, Khem Raj wrote: > On Fri, Apr 3, 2020 at 8:26 AM Richard Purdie > wrote: > > On Thu, 2020-04-02 at 18:53 -0700, Khem Raj wrote: > > > Recent versions of ICU (64+) provides a tool for configuring ICU > > > locale data file with finer granularity [1] > > > > > >

Re: [OE-core][PATCH] initscripts/init-system-helpers: fix mountnfs.sh dependency

2020-04-03 Thread Jens Rehsack
> Am 03.04.2020 um 19:11 schrieb Andre McCurdy : > > On Fri, Apr 3, 2020 at 8:57 AM Jens Rehsack wrote: >>> Am 30.03.2020 um 19:19 schrieb Andre McCurdy : >>> On Mon, Mar 30, 2020 at 9:51 AM Jens Rehsack wrote: With commit c9fc9110be33fe0f24bc3a7c242b584a4ca33e04 Author: Yue

Re: [OE-core][PATCH] glib-2.0: Backport GMainContext fixes

2020-04-03 Thread Khem Raj
On 4/3/20 12:20 AM, Daniel Gomez wrote: Backport fixes introduced in 2.63.6 for memory leaks and memory corruption in GMainContext Upstream merge: https://gitlab.gnome.org/GNOME/glib/-/merge_requests/1353 Fixes SIGSEGV in GStreamer: Thread 2 "multihandlesink" received signal SIGSEGV,

Re: [OE-core][PATCH] initscripts/init-system-helpers: fix mountnfs.sh dependency

2020-04-03 Thread Andre McCurdy
On Fri, Apr 3, 2020 at 8:57 AM Jens Rehsack wrote: > > Am 30.03.2020 um 19:19 schrieb Andre McCurdy : > > On Mon, Mar 30, 2020 at 9:51 AM Jens Rehsack wrote: > >> > >> With commit c9fc9110be33fe0f24bc3a7c242b584a4ca33e04 > >>Author: Yue Tao > >>Date: Fri May 25 10:48:08 2018 +0800 >

Re: [OE-core] [master][zeus][PATCH] relocatable.bbclass: Avoid an exception if an empty pkgconfig dir exist

2020-04-03 Thread Peter Kjellerstedt
*ping* //Peter > -Original Message- > From: openembedded-core-boun...@lists.openembedded.org boun...@lists.openembedded.org> On Behalf Of Peter Kjellerstedt > Sent: den 20 mars 2020 19:04 > To: openembedded-core@lists.openembedded.org > Subject: [OE-core] [master][zeus][PATCH]

[OE-core] [PATCH] sanity.bbclass: echo current SDK_VENDOR if it is invalid

2020-04-03 Thread Paul Gortmaker
It can be frustrating if this sanity check triggers, but you don't know why; you haven't explicitly set any SDK vars, or similar. At least echo out the offending value, so the end user has a bit more information to go on. Before: SDK_VENDOR should be of the form '-foosdk' with a single dash

[OE-core][PATCH v2] initscripts/init-system-helpers: fix mountnfs.sh dependency

2020-04-03 Thread Jens Rehsack
With commit c9fc9110be33fe0f24bc3a7c242b584a4ca33e04 Author: Yue Tao Date: Fri May 25 10:48:08 2018 +0800 initscripts: Avoid starting rpcbind daemon twice Check the status before start it to avoid duplicates. the use of a script {/usr/sbin/}service is introduced -

Re: [OE-core][PATCH 5/5] lib/oe/package_manager: don't try to rm /var/lib/opkg

2020-04-03 Thread Peter Kjellerstedt
> -Original Message- > From: openembedded-core@lists.openembedded.org c...@lists.openembedded.org> On Behalf Of Jan Luebbe > Sent: den 1 april 2020 16:58 > To: openembedded-core@lists.openembedded.org > Cc: Jan Luebbe > Subject: [OE-core][PATCH 5/5] lib/oe/package_manager: don't try to

Re: [OE-core][PATCH] initscripts/init-system-helpers: fix mountnfs.sh dependency

2020-04-03 Thread Jens Rehsack
> Am 30.03.2020 um 19:19 schrieb Andre McCurdy : > > On Mon, Mar 30, 2020 at 9:51 AM Jens Rehsack wrote: >> >> With commit c9fc9110be33fe0f24bc3a7c242b584a4ca33e04 >>Author: Yue Tao >>Date: Fri May 25 10:48:08 2018 +0800 >> >>initscripts: Avoid starting rpcbind daemon

Re: [OE-core] [PATCH] icu: Add knobs to generate a subset of ICU data

2020-04-03 Thread Khem Raj
On Fri, Apr 3, 2020 at 8:26 AM Richard Purdie wrote: > > On Thu, 2020-04-02 at 18:53 -0700, Khem Raj wrote: > > Recent versions of ICU (64+) provides a tool for configuring ICU > > locale data file with finer granularity [1] > > > > Default generated size for libicudata.so.66.1 is ~27M, which is

Re: [OE-core] [PATCH] icu: Add knobs to generate a subset of ICU data

2020-04-03 Thread Richard Purdie
On Thu, 2020-04-02 at 18:53 -0700, Khem Raj wrote: > Recent versions of ICU (64+) provides a tool for configuring ICU > locale data file with finer granularity [1] > > Default generated size for libicudata.so.66.1 is ~27M, which is quite > large for embedded systems and all of them may not even

Re: [OE-core] rootfs-postcommands: Enable rootfs_check_host_user_contaminated

2020-04-03 Thread Alex Kiernan
On Fri, Apr 3, 2020 at 3:08 PM Arnaud Pecoraro wrote: > > Thanks for your answer. > > I am currently working with zeus revision of poky, but the check is in master > as well: > > http://git.yoctoproject.org/cgit/cgit.cgi/poky/tree/meta/classes/rootfs-postcommands.bbclass?h=master#n306 > The

Re: [OE-core][PATCH] classes/reproducible_build: Skip SDE for non-finalizing virtual recipes

2020-04-03 Thread Joshua Watt
On 4/2/20 3:42 PM, Richard Purdie wrote: On Thu, 2020-04-02 at 13:08 -0500, Joshua Watt wrote: Don't capture the source date epoch for recipes that are not being finalized. This prevents a virtual recipe (e.g. multilib) from attempting to read the source date epoch file from the non-virtual

Re: [OE-core] [PATCH] file: explicitly disable seccomp

2020-04-03 Thread Khem Raj
On Fri, Apr 3, 2020 at 6:36 AM Richard Purdie wrote: > > On Tue, 2020-03-31 at 12:57 +0200, Jan Luebbe wrote: > > Hi, > > > > On Mon, 2020-01-20 at 17:10 +, Ross Burton wrote: > > > On 20/01/2020 15:45, Khem Raj wrote: > > > > pseudo needs some love since it alters syscalls which go out of >

Re: [OE-core] [PATCH] file: explicitly disable seccomp

2020-04-03 Thread Richard Purdie
On Tue, 2020-03-31 at 12:57 +0200, Jan Luebbe wrote: > Hi, > > On Mon, 2020-01-20 at 17:10 +, Ross Burton wrote: > > On 20/01/2020 15:45, Khem Raj wrote: > > > pseudo needs some love since it alters syscalls which go out of > > > bounds > > > what is allowed by libseccomp until then pin your

[OE-core][PATCH] glib-2.0: Backport GMainContext fixes

2020-04-03 Thread Daniel Gomez
Backport fixes introduced in 2.63.6 for memory leaks and memory corruption in GMainContext Upstream merge: https://gitlab.gnome.org/GNOME/glib/-/merge_requests/1353 Fixes SIGSEGV in GStreamer: Thread 2 "multihandlesink" received signal SIGSEGV, Segmentation fault. [Switching to Thread