[oe] [OE-Core][PATCH v14 05/11] package_ipk.bbclass: add support for ACLs and xattr

2023-10-15 Thread Piotr Łobacz
: Piotr Łobacz --- meta/classes-global/package_ipk.bbclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/classes-global/package_ipk.bbclass b/meta/classes-global/package_ipk.bbclass index b4b7bc9ac2..a0f106e4ad 100644 --- a/meta/classes-global/package_ipk.bbclass +++ b

Re: [oe] [OE-Core][PATCH v14 01/11] package.bbclass: override tar with tar-native

2023-10-15 Thread Piotr Łobacz
Dnia niedziela, 15 października 2023 16:51:04 CEST Martin Jansa pisze: > Wrong ML, oe-core patches should go to > openembedded-c...@lists.openembedded.org > > On Sun, Oct 15, 2023 at 3:19 PM Piotr Łobacz wrote: > > Due to the bugs https://savannah.gnu.org/bugs/?6

[oe] [OE-Core][PATCH v14 11/11] opkg: set locale from system environment variables

2023-10-15 Thread Piotr Łobacz
: Warning when reading ar archive header: Pathname can't be converted from UTF-8 to current locale. (errno=84) Signed-off-by: Piotr Łobacz --- ...le-from-system-environment-variables.patch | 48 +++ meta/recipes-devtools/opkg/opkg_0.6.2.bb | 1 + 2 files changed, 49 inser

[oe] [OE-Core][PATCH v14 08/11] sstatesig.py: fix hash calculation for timestamp

2023-10-15 Thread Piotr Łobacz
Passing timestamp as an integer was losing precision, which led to problems with badly recreated sstate cache. Passing it as floating point number fixes the issue. Signed-off-by: Piotr Łobacz --- meta/lib/oe/sstatesig.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta

[oe] [OE-Core][PATCH v14 09/11] opkg-utils: add acl and xattr support

2023-10-15 Thread Piotr Łobacz
a file in an image with the relevant ACLs and xattrs. Signed-off-by: Piotr Łobacz --- ...kg-build-Add-acls-and-xattrs-support.patch | 174 ++ .../opkg-utils/opkg-utils_0.6.2.bb| 1 + 2 files changed, 175 insertions(+) create mode 100644 meta/recipes-devtools/opkg

[oe] [OE-Core][PATCH v14 10/11] opkg: add options to enable support for acl and xattr

2023-10-15 Thread Piotr Łobacz
The libarchive library, which is being used by opkg, supports ACLs and xattr already. More informations can be read at this link: https://github.com/libarchive/libarchive/pull/691 Signed-off-by: Piotr Łobacz --- ...-to-enable-support-for-acl-and-xattr.patch | 70 +++ meta

[oe] [OE-Core][PATCH v14 06/11] package.bbclass: add support for ACLs and xattr

2023-10-15 Thread Piotr Łobacz
Extend `tar` command, with additional parameters, depending on choosen package class and target distro features, in order to support ACLs and xattr. Currently only `package_ipk` supports fully ACLs and xattr. Signed-off-by: Piotr Łobacz --- meta/classes-global/package.bbclass | 9 +++-- 1

[oe] [OE-Core][PATCH v14 03/11] sstate.bbclass: override tar with tar-native

2023-10-15 Thread Piotr Łobacz
provided by tar recipe, which is already in proper version. Signed-off-by: Piotr Łobacz --- meta/classes-global/sstate.bbclass | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/meta/classes-global/sstate.bbclass b/meta/classes-global/sstate.bbclass index 2676f18e0a..5ae6f515f2

[oe] [OE-Core][PATCH v14 07/11] sstate.bbclass: add support for ACLs and xattr

2023-10-15 Thread Piotr Łobacz
` supports fully ACLs and xattr. Signed-off-by: Piotr Łobacz --- meta/classes-global/sstate.bbclass | 19 +-- 1 file changed, 17 insertions(+), 2 deletions(-) diff --git a/meta/classes-global/sstate.bbclass b/meta/classes-global/sstate.bbclass index 5ae6f515f2..3e7b2ce474 100644 --- a

[oe] [OE-Core][PATCH v14 04/11] path.py: add support for ACLs and all additional attributes

2023-10-15 Thread Piotr Łobacz
ation of additional attributes for `cp` command to all (meaning mode, ownership, timestamps etc.) not only xattrs, which were previously. Signed-off-by: Piotr Łobacz --- meta/lib/oe/path.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/meta/lib/oe/path.py b/meta/l

[oe] [OE-Core][PATCH v14 01/11] package.bbclass: override tar with tar-native

2023-10-15 Thread Piotr Łobacz
tar recipe, which is already in proper version. Signed-off-by: Piotr Łobacz --- meta/classes-global/package.bbclass | 7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/meta/classes-global/package.bbclass b/meta/classes-global/package.bbclass index 7787042e21..580884cd83

[oe] [OE-Core][PATCH v14 10/11] opkg: add options to enable support for acl and xattr

2023-10-15 Thread Piotr Łobacz
The libarchive library, which is being used by opkg, supports ACLs and xattr already. More informations can be read at this link: https://github.com/libarchive/libarchive/pull/691 Signed-off-by: Piotr Łobacz --- ...-to-enable-support-for-acl-and-xattr.patch | 70 +++ meta

[oe] [OE-Core][PATCH v14 10/11] opkg: add options to enable support for acl and xattr

2023-10-15 Thread Piotr Łobacz
The libarchive library, which is being used by opkg, supports ACLs and xattr already. More informations can be read at this link: https://github.com/libarchive/libarchive/pull/691 Signed-off-by: Piotr Łobacz --- ...-to-enable-support-for-acl-and-xattr.patch | 70 +++ meta

[oe] [OE-Core][PATCH v14 08/11] sstatesig.py: fix hash calculation for timestamp

2023-10-15 Thread Piotr Łobacz
Passing timestamp as an integer was losing precision, which led to problems with badly recreated sstate cache. Passing it as floating point number fixes the issue. Signed-off-by: Piotr Łobacz --- meta/lib/oe/sstatesig.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta

[oe] [OE-Core][PATCH v14 11/11] opkg: set locale from system environment variables

2023-10-15 Thread Piotr Łobacz
: Warning when reading ar archive header: Pathname can't be converted from UTF-8 to current locale. (errno=84) Signed-off-by: Piotr Łobacz --- ...le-from-system-environment-variables.patch | 48 +++ meta/recipes-devtools/opkg/opkg_0.6.2.bb | 1 + 2 files changed, 49 inser

[oe] [OE-Core][PATCH v14 07/11] sstate.bbclass: add support for ACLs and xattr

2023-10-15 Thread Piotr Łobacz
` supports fully ACLs and xattr. Signed-off-by: Piotr Łobacz --- meta/classes-global/sstate.bbclass | 19 +-- 1 file changed, 17 insertions(+), 2 deletions(-) diff --git a/meta/classes-global/sstate.bbclass b/meta/classes-global/sstate.bbclass index 5ae6f515f2..3e7b2ce474 100644 --- a

[oe] [OE-Core][PATCH v14 02/11] image_types.bbclass: override tar with tar-native

2023-10-15 Thread Piotr Łobacz
version. Signed-off-by: Piotr Łobacz --- meta/classes-recipe/image_types.bbclass | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/meta/classes-recipe/image_types.bbclass b/meta/classes-recipe/image_types.bbclass index 4aed64e27f..c50bcf673d 100644 --- a/meta/classes-recipe

[oe] [OE-Core][PATCH v14 09/11] opkg-utils: add acl and xattr support

2023-10-15 Thread Piotr Łobacz
a file in an image with the relevant ACLs and xattrs. Signed-off-by: Piotr Łobacz --- ...kg-build-Add-acls-and-xattrs-support.patch | 174 ++ .../opkg-utils/opkg-utils_0.6.2.bb| 1 + 2 files changed, 175 insertions(+) create mode 100644 meta/recipes-devtools/opkg

[oe] [OE-Core][PATCH v14 05/11] package_ipk.bbclass: add support for ACLs and xattr

2023-10-15 Thread Piotr Łobacz
: Piotr Łobacz --- meta/classes-global/package_ipk.bbclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/classes-global/package_ipk.bbclass b/meta/classes-global/package_ipk.bbclass index b4b7bc9ac2..a0f106e4ad 100644 --- a/meta/classes-global/package_ipk.bbclass +++ b

[oe] [OE-Core][PATCH v14 02/11] image_types.bbclass: override tar with tar-native

2023-10-15 Thread Piotr Łobacz
version. Signed-off-by: Piotr Łobacz --- meta/classes-recipe/image_types.bbclass | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/meta/classes-recipe/image_types.bbclass b/meta/classes-recipe/image_types.bbclass index 4aed64e27f..c50bcf673d 100644 --- a/meta/classes-recipe

[oe] [OE-Core][PATCH v14 01/11] package.bbclass: override tar with tar-native

2023-10-15 Thread Piotr Łobacz
tar recipe, which is already in proper version. Signed-off-by: Piotr Łobacz --- meta/classes-global/package.bbclass | 7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/meta/classes-global/package.bbclass b/meta/classes-global/package.bbclass index 7787042e21..580884cd83

[oe] [OE-Core][PATCH v14 03/11] sstate.bbclass: override tar with tar-native

2023-10-15 Thread Piotr Łobacz
provided by tar recipe, which is already in proper version. Signed-off-by: Piotr Łobacz --- meta/classes-global/sstate.bbclass | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/meta/classes-global/sstate.bbclass b/meta/classes-global/sstate.bbclass index 2676f18e0a..5ae6f515f2

[oe] [OE-Core][PATCH v14 04/11] path.py: add support for ACLs and all additional attributes

2023-10-15 Thread Piotr Łobacz
From: Piotr Łobacz via lists.openembedded.org Extend `tar` command inside copytree() and copyhardlinktree() functions, with additional parameters, in order to support ACLs and xattr. The posix format doesn't need to be set in here, as GNU tar switches to it whenewer is uses --acls a

[oe] [OE-Core][PATCH v14 11/11] opkg: set locale from system environment variables

2023-10-15 Thread Piotr Łobacz
: Warning when reading ar archive header: Pathname can't be converted from UTF-8 to current locale. (errno=84) Signed-off-by: Piotr Łobacz --- ...le-from-system-environment-variables.patch | 48 +++ meta/recipes-devtools/opkg/opkg_0.6.2.bb | 1 + 2 files changed, 49 inser

[oe] [OE-Core][PATCH v14 06/11] package.bbclass: add support for ACLs and xattr

2023-10-15 Thread Piotr Łobacz
Extend `tar` command, with additional parameters, depending on choosen package class and target distro features, in order to support ACLs and xattr. Currently only `package_ipk` supports fully ACLs and xattr. Signed-off-by: Piotr Łobacz --- meta/classes-global/package.bbclass | 9 +++-- 1

[oe] [OE-Core][PATCH v14 01/11] package.bbclass: override tar with tar-native

2023-10-15 Thread Piotr Łobacz
tar recipe, which is already in proper version. Signed-off-by: Piotr Łobacz --- meta/classes-global/package.bbclass | 7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/meta/classes-global/package.bbclass b/meta/classes-global/package.bbclass index 7787042e21..580884cd83

[oe] [OE-Core][PATCH v14 07/11] sstate.bbclass: add support for ACLs and xattr

2023-10-15 Thread Piotr Łobacz
` supports fully ACLs and xattr. Signed-off-by: Piotr Łobacz --- meta/classes-global/sstate.bbclass | 19 +-- 1 file changed, 17 insertions(+), 2 deletions(-) diff --git a/meta/classes-global/sstate.bbclass b/meta/classes-global/sstate.bbclass index 5ae6f515f2..3e7b2ce474 100644 --- a

[oe] [OE-Core][PATCH v14 09/11] opkg-utils: add acl and xattr support

2023-10-15 Thread Piotr Łobacz
a file in an image with the relevant ACLs and xattrs. Signed-off-by: Piotr Łobacz --- ...kg-build-Add-acls-and-xattrs-support.patch | 174 ++ .../opkg-utils/opkg-utils_0.6.2.bb| 1 + 2 files changed, 175 insertions(+) create mode 100644 meta/recipes-devtools/opkg

[oe] [OE-Core][PATCH v14 06/11] package.bbclass: add support for ACLs and xattr

2023-10-15 Thread Piotr Łobacz
Extend `tar` command, with additional parameters, depending on choosen package class and target distro features, in order to support ACLs and xattr. Currently only `package_ipk` supports fully ACLs and xattr. Signed-off-by: Piotr Łobacz --- meta/classes-global/package.bbclass | 9 +++-- 1

[oe] [OE-Core][PATCH v14 08/11] sstatesig.py: fix hash calculation for timestamp

2023-10-15 Thread Piotr Łobacz
Passing timestamp as an integer was losing precision, which led to problems with badly recreated sstate cache. Passing it as floating point number fixes the issue. Signed-off-by: Piotr Łobacz --- meta/lib/oe/sstatesig.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta

[oe] [OE-Core][PATCH v14 11/11] opkg: set locale from system environment variables

2023-10-15 Thread Piotr Łobacz
: Warning when reading ar archive header: Pathname can't be converted from UTF-8 to current locale. (errno=84) Signed-off-by: Piotr Łobacz --- ...le-from-system-environment-variables.patch | 48 +++ meta/recipes-devtools/opkg/opkg_0.6.2.bb | 1 + 2 files changed, 49 inser

[oe] [OE-Core][PATCH v14 04/11] path.py: add support for ACLs and all additional attributes

2023-10-15 Thread Piotr Łobacz
From: Piotr Łobacz via lists.openembedded.org Extend `tar` command inside copytree() and copyhardlinktree() functions, with additional parameters, in order to support ACLs and xattr. The posix format doesn't need to be set in here, as GNU tar switches to it whenewer is uses --acls a

[oe] [OE-Core][PATCH v14 02/11] image_types.bbclass: override tar with tar-native

2023-10-15 Thread Piotr Łobacz
version. Signed-off-by: Piotr Łobacz --- meta/classes-recipe/image_types.bbclass | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/meta/classes-recipe/image_types.bbclass b/meta/classes-recipe/image_types.bbclass index 4aed64e27f..c50bcf673d 100644 --- a/meta/classes-recipe

[oe] [OE-Core][PATCH v14 03/11] sstate.bbclass: override tar with tar-native

2023-10-15 Thread Piotr Łobacz
provided by tar recipe, which is already in proper version. Signed-off-by: Piotr Łobacz --- meta/classes-global/sstate.bbclass | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/meta/classes-global/sstate.bbclass b/meta/classes-global/sstate.bbclass index 2676f18e0a..5ae6f515f2

[oe] [OE-Core][PATCH v14 05/11] package_ipk.bbclass: add support for ACLs and xattr

2023-10-15 Thread Piotr Łobacz
: Piotr Łobacz --- meta/classes-global/package_ipk.bbclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/classes-global/package_ipk.bbclass b/meta/classes-global/package_ipk.bbclass index b4b7bc9ac2..a0f106e4ad 100644 --- a/meta/classes-global/package_ipk.bbclass +++ b

[oe] [OE-Core][PATCH v14 09/11] opkg-utils: add acl and xattr support

2023-10-15 Thread Piotr Łobacz
a file in an image with the relevant ACLs and xattrs. Signed-off-by: Piotr Łobacz --- ...kg-build-Add-acls-and-xattrs-support.patch | 174 ++ .../opkg-utils/opkg-utils_0.6.2.bb| 1 + 2 files changed, 175 insertions(+) create mode 100644 meta/recipes-devtools/opkg

[oe] [OE-Core][PATCH v14 10/11] opkg: add options to enable support for acl and xattr

2023-10-15 Thread Piotr Łobacz
The libarchive library, which is being used by opkg, supports ACLs and xattr already. More informations can be read at this link: https://github.com/libarchive/libarchive/pull/691 Signed-off-by: Piotr Łobacz --- ...-to-enable-support-for-acl-and-xattr.patch | 70 +++ meta

[oe] [OE-Core][PATCH v14 03/11] sstate.bbclass: override tar with tar-native

2023-10-15 Thread Piotr Łobacz
provided by tar recipe, which is already in proper version. Signed-off-by: Piotr Łobacz --- meta/classes-global/sstate.bbclass | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/meta/classes-global/sstate.bbclass b/meta/classes-global/sstate.bbclass index 2676f18e0a..5ae6f515f2

[oe] [OE-Core][PATCH v14 02/11] image_types.bbclass: override tar with tar-native

2023-10-15 Thread Piotr Łobacz
version. Signed-off-by: Piotr Łobacz --- meta/classes-recipe/image_types.bbclass | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/meta/classes-recipe/image_types.bbclass b/meta/classes-recipe/image_types.bbclass index 4aed64e27f..c50bcf673d 100644 --- a/meta/classes-recipe

[oe] [OE-Core][PATCH v14 04/11] path.py: add support for ACLs and all additional attributes

2023-10-15 Thread Piotr Łobacz
From: Piotr Łobacz via lists.openembedded.org Extend `tar` command inside copytree() and copyhardlinktree() functions, with additional parameters, in order to support ACLs and xattr. The posix format doesn't need to be set in here, as GNU tar switches to it whenewer is uses --acls a

[oe] [OE-Core][PATCH v14 05/11] package_ipk.bbclass: add support for ACLs and xattr

2023-10-15 Thread Piotr Łobacz
: Piotr Łobacz --- meta/classes-global/package_ipk.bbclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/classes-global/package_ipk.bbclass b/meta/classes-global/package_ipk.bbclass index b4b7bc9ac2..a0f106e4ad 100644 --- a/meta/classes-global/package_ipk.bbclass +++ b

[oe] [OE-Core][PATCH v14 06/11] package.bbclass: add support for ACLs and xattr

2023-10-15 Thread Piotr Łobacz
Extend `tar` command, with additional parameters, depending on choosen package class and target distro features, in order to support ACLs and xattr. Currently only `package_ipk` supports fully ACLs and xattr. Signed-off-by: Piotr Łobacz --- meta/classes-global/package.bbclass | 9 +++-- 1

[oe] [OE-Core][PATCH v14 08/11] sstatesig.py: fix hash calculation for timestamp

2023-10-15 Thread Piotr Łobacz
Passing timestamp as an integer was losing precision, which led to problems with badly recreated sstate cache. Passing it as floating point number fixes the issue. Signed-off-by: Piotr Łobacz --- meta/lib/oe/sstatesig.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta

[oe] [OE-Core][PATCH v14 07/11] sstate.bbclass: add support for ACLs and xattr

2023-10-15 Thread Piotr Łobacz
` supports fully ACLs and xattr. Signed-off-by: Piotr Łobacz --- meta/classes-global/sstate.bbclass | 19 +-- 1 file changed, 17 insertions(+), 2 deletions(-) diff --git a/meta/classes-global/sstate.bbclass b/meta/classes-global/sstate.bbclass index 5ae6f515f2..3e7b2ce474 100644 --- a

[oe] [OE-Core][PATCH v14 01/11] package.bbclass: override tar with tar-native

2023-10-15 Thread Piotr Łobacz
tar recipe, which is already in proper version. Signed-off-by: Piotr Łobacz --- meta/classes-global/package.bbclass | 7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/meta/classes-global/package.bbclass b/meta/classes-global/package.bbclass index 7787042e21..580884cd83