[OE-core] [kirkstone][PATCH] rust-llvm: Allow overriding LLVM target archs

2023-12-04 Thread Niko Mauno via lists.openembedded.org
From: Niko Mauno Move the default value into a variable which can be overridden to match more accurately the use case specific scenario. (From OE-Core rev: 645370e85d8742d0614cd52ca7507b5df2d38ad8) Signed-off-by: Niko Mauno Signed-off-by: Alexandre Belloni Signed-off-by: Richard Purdie

[OE-core] [PATCH] rust-llvm: Allow overriding LLVM target archs

2023-11-29 Thread Niko Mauno via lists.openembedded.org
From: Niko Mauno Move the default value into a variable which can be overridden to match more accurately the use case specific scenario. Signed-off-by: Niko Mauno --- meta/recipes-devtools/rust/rust-llvm_1.70.0.bb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/meta

[OE-core] [PATCH] ccache.conf: Remove obsolete configuration option

2023-10-31 Thread Niko Mauno via lists.openembedded.org
From: Niko Mauno Since ccache version 4.0, according to https://github.com/ccache/ccache/blob/master/doc/NEWS.adoc#ccache-40 * An appropriate cache directory level structure is now chosen automatically. The cache_dir_levels (CCACHE_NLEVELS) configuration option has therefore been removed

[OE-core] [PATCH] image_types.bbclass: Use xz default compression preset level

2023-10-30 Thread Niko Mauno via lists.openembedded.org
From: Niko Mauno Commit ef0654f1453ff0afe98d7e921626b2a96cf2f6f6 ("Set XZ_COMPRESSION_LEVEL to -9") changed the xz compression preset level from previous value of -3 to -9. The commit message explains that the change was made in order to be consistent with other compressors tha

[OE-core] [kirkstone][PATCH] package_rpm: Allow compression mode override

2023-10-26 Thread Niko Mauno via lists.openembedded.org
From: Niko Mauno Commit 4a4d5f78a6962dda5f63e9891825c80a8a87bf66 ("package_rpm: use zstd instead of xz") changed the rpm package compressor from 'xz' to 'zstd' which results in decompression failure with BusyBox-provided 'rpm2cpio' applet and 'rpm' applet when given the '-i' (Insta

Re: [OE-core] [PATCH 4/4] package_rpm.bbclass: Support compression override

2023-10-24 Thread Niko Mauno via lists.openembedded.org
On 20.10.2023 19.34, Khem Raj wrote: > it seems you are quite sensitive to size, I wonder if opkg backend is > better suited for your usecase than rpm. Hi Khem, thanks for the idea. We used opkg a few years ago, however certain technical reasons were in favor of rpm which we have used since.

Re: [OE-core] [PATCH 4/4] package_rpm.bbclass: Support compression override

2023-10-21 Thread Niko Mauno via lists.openembedded.org
On 10/20/23 16:00, Richard Purdie wrote: As far as I could tell when we looked at this, the rpm world was moving over to zstd so adding in conditional xz support for a limited use case probably just creates a maintenance headache going forward as it isn't something we test or plan to test? I

[OE-core] [PATCHv2 4/4] package_rpm.bbclass: Allow compression mode override

2023-10-21 Thread Niko Mauno via lists.openembedded.org
From: Niko Mauno Commit 4a4d5f78a6962dda5f63e9891825c80a8a87bf66 ("package_rpm: use zstd instead of xz") changed the rpm package compressor from 'xz' to 'zstd' which results in decompression failure with BusyBox-provided 'rpm2cpio' applet and 'rpm' applet when given the '-i' (Insta

[OE-core] [PATCHv2 3/4] package_rpm.bbclass: Remove unused definitions

2023-10-21 Thread Niko Mauno via lists.openembedded.org
From: Niko Mauno Some local variables defined in do_package_rpm() are not referenced, so remove such dead code lines. Signed-off-by: Niko Mauno --- meta/classes-global/package_rpm.bbclass | 4 1 file changed, 4 deletions(-) diff --git a/meta/classes-global/package_rpm.bbclass b/meta

[OE-core] [PATCHv2 2/4] package_rpm.bbclass: Minor cosmetic and style fixes

2023-10-21 Thread Niko Mauno via lists.openembedded.org
From: Niko Mauno Add the missing conventional space characters around bitbake variable assignment operators. Also fix a typo on a comment line. Signed-off-by: Niko Mauno --- meta/classes-global/package_rpm.bbclass | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/meta

[OE-core] [PATCHv2 1/4] package_rpm.bbclass: Fix some pycodestyle issues

2023-10-21 Thread Niko Mauno via lists.openembedded.org
From: Niko Mauno Fix following subset of observations reported by version 2.10.0 of pycodestyle utility: meta/classes-global/package_rpm.bbclass:65:46: E231 missing whitespace after ',' meta/classes-global/package_rpm.bbclass:66:46: E231 missing whitespace after ',' meta/classes-global

Re: [OE-core] [PATCH 4/4] package_rpm.bbclass: Support compression override

2023-10-20 Thread Niko Mauno via lists.openembedded.org
On 20.10.2023 16.00, Richard Purdie wrote: Is it common for people to need to manipulate rpms on target without rpm being present using busybox? Do you know if busybox plans to add zstd support? As far as I could tell when we looked at this, the rpm world was moving over to zstd so adding in

[OE-core] [PATCH 4/4] package_rpm.bbclass: Support compression override

2023-10-20 Thread Niko Mauno via lists.openembedded.org
From: Niko Mauno Commit 4a4d5f78a6962dda5f63e9891825c80a8a87bf66 ("package_rpm: use zstd instead of xz") changed the rpm package compressor from 'xz' to 'zstd' which results in decompression failure with BusyBox-provided 'rpm2cpio' applet and 'rpm' applet when given the '-i' (Insta

[OE-core] [PATCH 3/4] package_rpm.bbclass: Remove unused definitions

2023-10-20 Thread Niko Mauno via lists.openembedded.org
From: Niko Mauno Some local variables defined in do_package_rpm() are not referenced, so remove such dead code lines. Signed-off-by: Niko Mauno --- meta/classes-global/package_rpm.bbclass | 4 1 file changed, 4 deletions(-) diff --git a/meta/classes-global/package_rpm.bbclass b/meta

[OE-core] [PATCH 2/4] package_rpm.bbclass: Minor cosmetic and style fixes

2023-10-20 Thread Niko Mauno via lists.openembedded.org
From: Niko Mauno Add the missing conventional space characters around bitbake variable assignment operators. Also fix a typo on a comment line. Signed-off-by: Niko Mauno --- meta/classes-global/package_rpm.bbclass | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/meta

[OE-core] [PATCH 1/4] package_rpm.bbclass: Fix some pycodestyle issues

2023-10-20 Thread Niko Mauno via lists.openembedded.org
From: Niko Mauno Fix following subset of observations reported by version 2.10.0 of pycodestyle utility: meta/classes-global/package_rpm.bbclass:65:46: E231 missing whitespace after ',' meta/classes-global/package_rpm.bbclass:66:46: E231 missing whitespace after ',' meta/classes-global

Re: [OE-core] [kirkstone][PATCH] gcc-runtime: Use static dummy libstdc++

2023-05-17 Thread Niko Mauno via lists.openembedded.org
17, 2023 at 12:06 AM Niko Mauno via lists.openembedded.org wrote: From: Khem Raj some standalone targets e.g. riscv64-elf disable shared linking for baremetal ELF ABI in ld, therefore lets make it a static library (From OE-Core rev: 3c6219dfcbcbde314648ba8cc54a90b32ea1c952) Signed-off

[OE-core] [kirkstone][PATCH] gcc-runtime: Use static dummy libstdc++

2023-05-17 Thread Niko Mauno via lists.openembedded.org
From: Khem Raj some standalone targets e.g. riscv64-elf disable shared linking for baremetal ELF ABI in ld, therefore lets make it a static library (From OE-Core rev: 3c6219dfcbcbde314648ba8cc54a90b32ea1c952) Signed-off-by: Khem Raj Signed-off-by: Richard Purdie ---

[OE-core] [kirkstone][PATCH] openssl: Move microblaze to linux-latomic config

2023-04-12 Thread Niko Mauno via lists.openembedded.org
From: Mark Hatle When building with the previous a number of atomic functions come back as undefined. Switching to linux-latomic fixes this. (From OE-Core rev: 88d5bf78ffb1d120df48139b1ed3c2e3fa8310d0) Signed-off-by: Mark Hatle Signed-off-by: Mark Hatle Signed-off-by: Luca Ceresoli

Re: [OE-core] [PATCH] ref-manual: Fix invalid feature name

2023-02-21 Thread Niko Mauno via lists.openembedded.org
On 20.2.2023 19.45, Michael Opdenacker wrote: Thanks for the patch! You also have an issue with the way your e-mails are received here. Here is a workaround: https://www.openembedded.org/wiki/How_to_submit_a_patch_to_OpenEmbedded#Fixing_your_From_identity I fixed the commit manually, but

[OE-core] [PATCH] ref-manual: Fix invalid feature name

2023-02-19 Thread Niko Mauno via lists.openembedded.org
-by: Niko Mauno --- documentation/ref-manual/features.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/documentation/ref-manual/features.rst b/documentation/ref-manual/features.rst index 794a6fd15b..051bf9320a 100644 --- a/documentation/ref-manual/features.rst +++ b

[OE-core] [dunfell][PATCH] Fix missing leading whitespace with ':append'

2023-01-29 Thread Niko Mauno via lists.openembedded.org
Mitigate occurences where ':append' operator is used and leading whitespace character is obviously missing, risking inadvertent string concatenation. (From OE-Core rev: fcd340ec53ff8352b8cae0eb351810072b025a08) Signed-off-by: Niko Mauno Signed-off-by: Alexandre Belloni Signed-off-by: Richard

[OE-core] [kirkstone][PATCH] Fix missing leading whitespace with ':append'

2023-01-29 Thread Niko Mauno via lists.openembedded.org
Mitigate occurences where ':append' operator is used and leading whitespace character is obviously missing, risking inadvertent string concatenation. (From OE-Core rev: fcd340ec53ff8352b8cae0eb351810072b025a08) Signed-off-by: Niko Mauno Signed-off-by: Alexandre Belloni Signed-off-by: Richard

[OE-core] [PATCH] Fix missing leading whitespace with ':append'

2023-01-24 Thread Niko Mauno via lists.openembedded.org
Mitigate occurences where ':append' operator is used and leading whitespace character is obviously missing, risking inadvertent string concatenation. Signed-off-by: Niko Mauno --- meta/classes-recipe/core-image.bbclass | 2 +- meta/classes-recipe/populate_sdk_ext.bbclass| 2

[OE-core] [dunfell][PATCH] systemd: Consider PACKAGECONFIG in RRECOMMENDS

2023-01-12 Thread Niko Mauno via lists.openembedded.org
) Signed-off-by: Niko Mauno Signed-off-by: Alexandre Belloni Signed-off-by: Richard Purdie --- meta/recipes-core/systemd/systemd_244.5.bb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/meta/recipes-core/systemd/systemd_244.5.bb b/meta/recipes-core/systemd/systemd_244.5.bb

Re: [OE-core] [RFC PATCH 1/3] Try to ensure 64 bit time on 32 bit glibcful hosts

2022-11-08 Thread Niko Mauno
. /Ola On Tue, Nov 08 2022, Niko Mauno via lists.openembedded.org wrote: Add default C Preprocessor flags that ensure Y2038 compatible 64 bit time on 32 bit host applications when glibc is used. Prerequisites are glibc version 2.34 or newer and Linux kernel version 5.1 or newer. Example

[OE-core] [kirkstone][PATCH] systemd: Consider PACKAGECONFIG in RRECOMMENDS

2022-11-08 Thread Niko Mauno via lists.openembedded.org
) Signed-off-by: Niko Mauno Signed-off-by: Alexandre Belloni Signed-off-by: Richard Purdie --- meta/recipes-core/systemd/systemd_250.5.bb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/meta/recipes-core/systemd/systemd_250.5.bb b/meta/recipes-core/systemd/systemd_250.5.bb

Re: [OE-core] [RFC PATCH 2/3] kbd: Disable 64 bit time with 32 bit glibc

2022-11-08 Thread Niko Mauno via lists.openembedded.org
. Nov 2022 at 12.48, Niko Mauno <mailto:niko.ma...@vaisala.com>> wrote: I have not studied the issue, but in order to reproduce this error I add 'MACHINE = "qemuarm"' to local.conf then issue 'bitbake kbd' against current master while TARGET_CPPFLAGS val

Re: [OE-core] [RFC PATCH 2/3] kbd: Disable 64 bit time with 32 bit glibc

2022-11-08 Thread Niko Mauno via lists.openembedded.org
r Kanavin wrote: We do build for 32 bit arm targets, so is this seen only in specific circumstances? What are they? Alex On Tue, 8 Nov 2022 at 01:09, Niko Mauno via lists.openembedded.org wrote: For now add exemption in order to avoid following failure during do_compile() | .../build/tm

[OE-core] [RFC PATCH 3/3] pulseaudio: Disable 64 bit time with 32 bit glibc

2022-11-07 Thread Niko Mauno via lists.openembedded.org
block_size); | | ^~~~ ~~ | || | | size_t {aka unsigned int} Signed-off-by: Niko Mauno --- meta/recipes-multimedia/pulseaudio/pulseaudio_16.1.bb | 3 +++ 1 file changed, 3 insertions(+) diff --git a/meta/recipes-multimedia/pulseaudio/pulseaudio_16.1.bb b/meta/recipes-multimedia/

[OE-core] [RFC PATCH 2/3] kbd: Disable 64 bit time with 32 bit glibc

2022-11-07 Thread Niko Mauno via lists.openembedded.org
/libtswrap.ver:2: syntax error in VERSION script | collect2: error: ld returned 1 exit status Signed-off-by: Niko Mauno --- meta/recipes-core/kbd/kbd_2.5.1.bb | 3 +++ 1 file changed, 3 insertions(+) diff --git a/meta/recipes-core/kbd/kbd_2.5.1.bb b/meta/recipes-core/kbd/kbd_2.5.1.bb index aa3ab6e121

[OE-core] [RFC PATCH 1/3] Try to ensure 64 bit time on 32 bit glibcful hosts

2022-11-07 Thread Niko Mauno via lists.openembedded.org
orking around failure to compile a component due to lack of 64 bit time support on 32 bit build in the component's source code. Signed-off-by: Niko Mauno --- meta/conf/distro/include/tclibc-glibc.inc| 3 +++ meta/recipes-devtools/gcc/gcc-sanitizers_12.2.bb | 2 ++ meta/recipes-de

[OE-core] [PATCH] systemd: Consider PACKAGECONFIG in RRECOMMENDS

2022-11-03 Thread Niko Mauno via lists.openembedded.org
Since RRECOMMENDS declaration implictly induces building the recipes that provide the runtime recommended packages, conditionalize adding such values according to associated PACKAGECONFIG settings in order to avoid redundant building. Signed-off-by: Niko Mauno --- meta/recipes-core/systemd

[OE-core] [thud][PATCH] cve-check: Switch to NVD CVE JSON feed version 1.1

2019-12-23 Thread Niko Mauno
change, except total of 167 entries like CVSS v3 BASE SCORE: 0.0 were replaced with similar 'CVSS v3 BASE SCORE:' entries which had scores that were greater than '0.0' (up to '9.8'). (From OE-Core rev: cc20e4d8ff2f3aa52a2658404af9a0ff358cc323) Signed-off-by: Niko Mauno Signed-off-by: Richard

[OE-core] [zeus][PATCH] cve-check: Switch to NVD CVE JSON feed version 1.1

2019-12-11 Thread Niko Mauno
change, except total of 167 entries like CVSS v3 BASE SCORE: 0.0 were replaced with similar 'CVSS v3 BASE SCORE:' entries which had scores that were greater than '0.0' (up to '9.8'). (From OE-Core rev: cc20e4d8ff2f3aa52a2658404af9a0ff358cc323) Signed-off-by: Niko Mauno Signed-off-by: Richard

Re: [OE-core] [zeus][PATCH 1/3] iptables: Cosmetic fixes to recipe

2019-12-10 Thread Niko Mauno
On 12/6/19 1:32 AM, akuster808 wrote: > > > On 12/5/19 12:05 PM, Niko Mauno wrote: >> Introduce cosmetic changes to recipe content, most notably >> - Change indentation style to four spaces in task statements >> - Reorder several entries according to oe-stylize.py

Re: [OE-core] [zeus][PATCH 1/3] iptables: Cosmetic fixes to recipe

2019-12-10 Thread Niko Mauno
On 12/6/19 12:45 AM, Peter Kjellerstedt wrote: >> -Original Message- >> From: openembedded-core-boun...@lists.openembedded.org > boun...@lists.openembedded.org> On Behalf Of Niko Mauno >> Sent: den 5 december 2019 21:05 >> To: openembedded-core@lists.openemb

[OE-core] [thud-next][PATCH 10/11] cve-check: neaten get_cve_info

2019-12-08 Thread Niko Mauno
From: Ross Burton Remove obsolete Python 2 code, and use convenience methods for neatness. (From OE-Core rev: f19253cc9e70c974a8e21a142086c13d7cde04ff) Signed-off-by: Ross Burton Signed-off-by: Richard Purdie --- meta/classes/cve-check.bbclass | 18 +- 1 file changed, 5

[OE-core] [thud-next][PATCH 11/11] cve-check: fetch CVE data once at a time instead of in a single call

2019-12-08 Thread Niko Mauno
From: Ross Burton This code used to construct a single SQL statement that fetched the NVD data for every CVE requested. For recipes such as the kernel where there are over 2000 CVEs to report this can hit the variable count limit and the query fails with "sqlite3.OperationalError: too many SQL

[OE-core] [thud-next][PATCH 08/11] cve-update-db-native: clean up proxy handling

2019-12-08 Thread Niko Mauno
From: Ross Burton urllib handles adding proxy handlers if the proxies are set in the environment, so call bb.utils.export_proxies() to do that and remove the manual setup. (From OE-Core rev: 6b73004668b3b71c9c38814b79fbb58c893ed434) Signed-off-by: Ross Burton Signed-off-by: Richard Purdie

[OE-core] [thud-next][PATCH 09/11] cve-check: rewrite look to fix false negatives

2019-12-08 Thread Niko Mauno
From: Ross Burton A previous optimisation was premature and resulted in false-negatives in the report. Rewrite the checking algorithm to first get the list of potential CVEs by vendor:product, then iterate through every matching CPE for that CVE to determine if the bounds match or not. By

[OE-core] [thud-next][PATCH 07/11] cve-update-db-native: add an index on the CVE ID column

2019-12-08 Thread Niko Mauno
From: Ross Burton Create an index on the PRODUCTS table which contains a row for each CPE, drastically increasing the performance of lookups for a specific CVE. (From OE-Core rev: b4048b05b3a00d85c40d09961f846eadcebd812e) Signed-off-by: Ross Burton Signed-off-by: Richard Purdie ---

[OE-core] [thud-next][PATCH 06/11] cve-update-db-native: don't hardcode the database name

2019-12-08 Thread Niko Mauno
From: Ross Burton Don't hardcode the database filename, there's a variable for this in cve-check.bbclass. (From OE-Core rev: 0d188a9dc4ae64c64cd661e9d9c3841e86f226ab) Signed-off-by: Ross Burton Signed-off-by: Richard Purdie --- meta/recipes-core/meta/cve-update-db-native.bb | 4 ++-- 1 file

[OE-core] [thud-next][PATCH 05/11] cve-update-db-native: don't refresh more than once an hour

2019-12-08 Thread Niko Mauno
From: Ross Burton We already fetch the yearly CVE metadata and check that for updates before downloading the full data, but we can speed up CVE checking further by only checking the CVE metadata once an hour. (From OE-Core rev: 50d898fd360c58fe85460517d965f62b7654771a) Signed-off-by: Ross

[OE-core] [thud-next][PATCH 04/11] cve-check: we don't actually need to unpack to check

2019-12-08 Thread Niko Mauno
From: Ross Burton The patch scanner works with patch files in the layer, not in the workdir, so it doesn't need to unpack. (From OE-Core rev: 2cba6ada970deb5156e1ba0182f4f372851e3c17) Signed-off-by: Ross Burton Signed-off-by: Richard Purdie --- meta/classes/cve-check.bbclass | 3 +-- 1 file

[OE-core] [thud-next][PATCH 03/11] cve-check: failure to parse versions should be more visible

2019-12-08 Thread Niko Mauno
From: Ross Burton Signed-off-by: Richard Purdie --- meta/classes/cve-check.bbclass | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/meta/classes/cve-check.bbclass b/meta/classes/cve-check.bbclass index f87bcc9dc6..1c8b2223a2 100644 --- a/meta/classes/cve-check.bbclass

[OE-core] [thud-next][PATCH 02/11] cve-check: ensure all known CVEs are in the report

2019-12-08 Thread Niko Mauno
From: Ross Burton CVEs that are whitelisted or were not vulnerable when there are version comparisons were not included in the report, so alter the logic to ensure that all relevant CVEs are in the report for completeness. (From OE-Core rev: 98256ff05fcfe9d5ccad360582c36eafb577c264)

[OE-core] [thud-next][PATCH 01/11] cve-check: backport rewrite from master

2019-12-08 Thread Niko Mauno
From: Ross Burton As detailed at [1] the XML feeds provided by NIST are being discontinued on October 9th 2019. As cve-check-tool uses these feeds, cve-check.bbclass will be inoperable after this date. To ensure that cve-check continues working, backport the following commits from master to

[OE-core] [PATCH] cve-check: Switch to NVD CVE JSON feed version 1.1

2019-12-06 Thread Niko Mauno
change, except total of 167 entries like CVSS v3 BASE SCORE: 0.0 were replaced with similar 'CVSS v3 BASE SCORE:' entries which had scores that were greater than '0.0' (up to '9.8'). Signed-off-by: Niko Mauno --- meta/classes/cve-check.bbclass | 2 +- meta/recipes-core/meta

[OE-core] [zeus][PATCH 3/3] iptables: Add systemd helper unit for IPv6 too

2019-12-05 Thread Niko Mauno
Commit bc66b2f45ade2c63cfd14d5388f6ca0905a23bb0 added systemd helper unit for automatic IPv4 rule loading. Complement the effort by adding systemd helper unit also for automatic IPv6 rule loading. (From OE-Core rev: 3b8df6b6aba3632de7c3c01c8468fbcedb032493) Signed-off-by: Niko Mauno Signed-off

[OE-core] [zeus][PATCH 2/3] iptables: Allow overriding rules file location

2019-12-05 Thread Niko Mauno
) Signed-off-by: Niko Mauno Signed-off-by: Ross Burton Signed-off-by: Richard Purdie --- .../iptables/iptables/iptables.service| 4 ++-- meta/recipes-extended/iptables/iptables_1.8.3.bb | 11 --- 2 files changed, 10 insertions(+), 5 deletions(-) diff --git a/meta/recipes

[OE-core] [zeus][PATCH 1/3] iptables: Cosmetic fixes to recipe

2019-12-05 Thread Niko Mauno
Introduce cosmetic changes to recipe content, most notably - Change indentation style to four spaces in task statements - Reorder several entries according to oe-stylize.py suggestions (From OE-Core rev: c1d162b6165f11b7b5ae5c6066e7683d5e1379fc) Signed-off-by: Niko Mauno Signed-off-by: Ross

[OE-core] [PATCH 1/3] iptables: Cosmetic fixes to recipe

2019-11-26 Thread Niko Mauno
Introduce cosmetic changes to recipe content, most notably - Change indentation style to four spaces in task statements - Reorder several entries according to oe-stylize.py suggestions Signed-off-by: Niko Mauno --- .../iptables/iptables_1.8.3.bb| 60 +-- 1 file

[OE-core] [PATCH 3/3] iptables: Add systemd helper unit for IPv6 too

2019-11-26 Thread Niko Mauno
Commit bc66b2f45ade2c63cfd14d5388f6ca0905a23bb0 added systemd helper unit for automatic IPv4 rule loading. Complement the effort by adding systemd helper unit also for automatic IPv6 rule loading. Signed-off-by: Niko Mauno --- .../iptables/iptables/ip6tables.rules | 0 .../iptables

[OE-core] [PATCH 2/3] iptables: Allow overriding rules file location

2019-11-26 Thread Niko Mauno
In some cases a distribution may want to install rules file into a location other than /etc/iptables/ so introduce custom recipe-level IPTABLES_RULES_DIR parameter which allows conveniently overriding the rules directory location. Signed-off-by: Niko Mauno --- .../iptables/iptables

Re: [OE-core] [PATCH] opkg-utils: Fix update-alternatives link relocation

2018-11-12 Thread Niko Mauno
On 11/12/18 12:55 PM, Burton, Ross wrote: > On Sun, 11 Nov 2018 at 15:44, Niko Mauno wrote: >> +Upstream-Status: Pending > > I saw you post this to yocto@, so this is definitely Submitted. Thanks, submitted v2 in which I corrected this to Upstream-Status: Submitted [opk

[OE-core] [PATCH v2] opkg-utils: Fix update-alternatives link relocation

2018-11-12 Thread Niko Mauno
or directory Mitigate issue by applying patch which adds target root filesystem root directory path prefix to failing 'mv' calls relevant variable references Signed-off-by: Niko Mauno --- ...rnatives-Fix-link-relocation-support.patch | 40 +++ .../opkg-utils/opkg-utils_0.3.6.bb

Re: [OE-core] [PATCH] util-linux: make alternatives for rev and ionice work with busybox

2018-11-11 Thread Niko Mauno
On 11/9/18 7:36 PM, Niko Mauno wrote: > On 11/9/18 2:24 AM, Burton, Ross wrote: >> On Thu, 8 Nov 2018 at 10:58, Pascal Bach wrote: >>> Busybox can provide ionice and rev. They are both installed to /bin >>> The corresponding util-linux variant is installed to /

[OE-core] [PATCH] opkg-utils: Fix update-alternatives link relocation

2018-11-11 Thread Niko Mauno
or directory Mitigate issue by applying patch which adds target root filesystem root directory path prefix to failing 'mv' calls relevant variable references Signed-off-by: Niko Mauno --- ...rnatives-Fix-link-relocation-support.patch | 40 +++ .../opkg-utils/opkg-utils_0.3.6.bb

Re: [OE-core] [PATCH] util-linux: make alternatives for rev and ionice work with busybox

2018-11-09 Thread Niko Mauno
On 11/9/18 2:24 AM, Burton, Ross wrote: On Thu, 8 Nov 2018 at 10:58, Pascal Bach wrote: Busybox can provide ionice and rev. They are both installed to /bin The corresponding util-linux variant is installed to /usr/bin This causes the following error during the do_rootfs task:

[OE-core] recipes-kernel/linux-libc-headers/linux-libc-headers.inc question

2018-09-01 Thread Niko Mauno
https://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=eb24d4aeacaad9d41ddcbefd8d2ac96e95548183 apparently is needed for 4.15, but it breaks with 4.14 as we get ERROR: linux-libc-headers-4.14-r0 do_install: oe_multilib_header: Unable to find header asm/bpf_perf_event.h. I used following

[OE-core] recipes-kernel/linux-libc-headers/linux-libc-headers.inc question

2018-08-31 Thread Niko Mauno
https://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=eb24d4aeacaad9d41ddcbefd8d2ac96e95548183 apparently is needed for 4.15, but it breaks with 4.14 as we get ERROR: linux-libc-headers-4.14-r0 do_install: oe_multilib_header: Unable to find header asm/bpf_perf_event.h. I used following

[OE-core] [PATCH] cmake: Export SSH_AUTH_SOCK for cmake at configure

2018-05-25 Thread Niko Mauno
to clone repository: 'ssh://... Signed-off-by: Niko Mauno <niko.ma...@vaisala.com> --- meta/classes/cmake.bbclass | 5 + 1 file changed, 5 insertions(+) diff --git a/meta/classes/cmake.bbclass b/meta/classes/cmake.bbclass index fcfd5dda4f..82d36be8ff 100644 --- a/meta/classes/cmake.bbclass

Re: [OE-core] [PATCH 2/3] e2fsprogs: Complement update-alternatives scope

2018-05-05 Thread Niko Mauno
On 05/03/2018 03:56 PM, Burton, Ross wrote: > Breaks packaging: Submitted v3 still in which I changed the added 'ALTERNATIVE_${PN}-...' lines to 'ALTERNATIVE_e2fsprogs-...': http://lists.openembedded.org/pipermail/openembedded-core/2018-May/150471.html --

[OE-core] [PATCH v3 2/3] e2fsprogs: Complement update-alternatives scope

2018-05-05 Thread Niko Mauno
Avoid collision of e2fsprogs provided tune2fs, mke2fs and mkfs.ext2 commands with corresponding BusyBox provided applets in case both packages are installed to same rootfs, by adding these commands to update-alternatives scope Signed-off-by: Niko Mauno <niko.ma...@vaisala.com> --- meta/r

Re: [OE-core] [PATCH 2/3] e2fsprogs: Complement update-alternatives scope

2018-05-05 Thread Niko Mauno
On 05/03/2018 03:56 PM, Burton, Ross wrote: > Breaks packaging: > > packages/corei7-64-poky-linux/e2fsprogs/e2fsprogs-mke2fs: FILELIST: removed > "/sbin/mkfs.ext2 /sbin/mke2fs", added "/sbin/mkfs.ext2.e2fsprogs" > packages/corei7-64-poky-linux/e2fsprogs/e2fsprogs-tune2fs: FILELIST: > removed

[OE-core] [PATCH v2 2/3] e2fsprogs: Complement update-alternatives scope

2018-05-05 Thread Niko Mauno
Avoid collision of e2fsprogs provided tune2fs, mke2fs and mkfs.ext2 commands with corresponding BusyBox provided applets in case both packages are installed to same rootfs, by adding these commands to update-alternatives scope Signed-off-by: Niko Mauno <niko.ma...@vaisala.com> --- meta/r

[OE-core] [PATCH 3/3] mtd-utils: Complement update-alternatives scope

2018-04-20 Thread Niko Mauno
Avoid collision of mtd-utils and mtd-utils-ubifs provided binaries with identically named BusyBox provided applets in case packages are installed to same rootfs, by adding relevant binaries to update-alternatives scope Signed-off-by: Niko Mauno <niko.ma...@vaisala.com> --- meta/recipes-de

[OE-core] [PATCH 1/3] procps: Complement update-alternatives scope

2018-04-20 Thread Niko Mauno
Avoid collision of propcs provided w binary with BusyBox-provided applet in case both are installed to same rootfs, by adding w to update-alternatives scope via bindir_progs variable Signed-off-by: Niko Mauno <niko.ma...@vaisala.com> --- meta/recipes-extended/procps/procps_3.3.12.bb | 2

[OE-core] [PATCH 2/3] e2fsprogs: Complement update-alternatives scope

2018-04-20 Thread Niko Mauno
Avoid collision of e2fsprogs provided tune2fs, mke2fs and mkfs.ext2 commands with corresponding BusyBox provided applets in case both packages are installed to same rootfs, by adding these commands to update-alternatives scope Signed-off-by: Niko Mauno <niko.ma...@vaisala.com> --- meta/r

[OE-core] [PATCH] run-postinsts: Replace pi_dir variable test

2018-04-14 Thread Niko Mauno
boot to a pristine rootfs: 'ls: /etc/ipk-postinsts: No such file or directory' Signed-off-by: Niko Mauno <niko.ma...@iki.fi> --- meta/recipes-devtools/run-postinsts/run-postinsts/run-postinsts | 2 +- meta/recipes-devtools/run-postinsts/run-postinsts_1.0.bb| 2 +- 2 files chan

[OE-core] [rocko][PATCH] package_manager.py: Explicit complementary fail

2018-03-16 Thread Niko Mauno
to install a package providing somepkg-dev * Solution 2: * - do not ask to install a package providing somepkg-dev (From OE-Core rev: 2502bd591c37bf532d02dc6b37fc1e8b5224fb0a) Signed-off-by: Niko Mauno <niko.ma...@vaisala.com> Signed-off-by: Ross Burton <ross.bur...@intel.com>

[OE-core] [pyro][PATCH] package_manager.py: Explicit complementary fail

2018-03-16 Thread Niko Mauno
to install a package providing somepkg-dev * Solution 2: * - do not ask to install a package providing somepkg-dev (From OE-Core rev: 2502bd591c37bf532d02dc6b37fc1e8b5224fb0a) Signed-off-by: Niko Mauno <niko.ma...@vaisala.com> Signed-off-by: Ross Burton <ross.bur...@intel.com>

[OE-core] [PATCH] package_manager.py: Explicit complementary fail

2018-02-28 Thread Niko Mauno
to install a package providing somepkg-dev * Solution 2: * - do not ask to install a package providing somepkg-dev Signed-off-by: Niko Mauno <niko.ma...@vaisala.com> --- meta/lib/oe/package_manager.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/meta/

[OE-core] [PATCH] bitbake.conf: Add xattr to DISTRO_FEATURES_NATIVE

2018-01-31 Thread Niko Mauno
. Signed-off-by: Niko Mauno <niko.ma...@vaisala.com> --- meta/conf/bitbake.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf index 93afb13166..411d7cf6f5 100644 --- a/meta/conf/bitbake.conf +++ b/meta/conf/bitbak

[OE-core] [PATCH] bitbake.conf: Add comm to HOSTTOOLS

2018-01-29 Thread Niko Mauno
package, adding it to HOSTTOOLS was considered a lower impact fix compared to adding coreutils-native buildtime dependency to u-boot recipe. Signed-off-by: Niko Mauno <niko.ma...@vaisala.com> --- meta/conf/bitbake.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/met

[OE-core] [meta-oe][PATCH] u-boot: Add coreutils-native to DEPENDS

2018-01-29 Thread Niko Mauno
Signed-off-by: Niko Mauno <niko.ma...@vaisala.com> --- meta/recipes-bsp/u-boot/u-boot_2017.01.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-bsp/u-boot/u-boot_2017.01.bb b/meta/recipes-bsp/u-boot/u-boot_2017.01.bb index 37c21dcaa3..8b00a8d294 100644 ---