[OE-core] [PATCH 3/5 v3] image_types: use IMAGE_FILE_MAXSIZE variable for btrfs image types

2023-11-01 Thread Charles-Antoine Couret via lists.openembedded.org
-by: Charles-Antoine Couret --- meta/classes-recipe/image_types.bbclass | 6 ++ 1 file changed, 6 insertions(+) diff --git a/meta/classes-recipe/image_types.bbclass b/meta/classes-recipe/image_types.bbclass index fb1e33cf3e..1356552445 100644 --- a/meta/classes-recipe/image_types.bbclass +++ b/meta

[OE-core] [PATCH 5/5 v3] image: add check_image_max_size as post function to check file size against IMAGE_FILE_MAXSIZE

2023-11-01 Thread Charles-Antoine Couret via lists.openembedded.org
. Signed-off-by: Charles-Antoine Couret --- meta/classes-recipe/image.bbclass | 30 +++ meta/lib/oeqa/selftest/cases/imagefeatures.py | 52 +++ 2 files changed, 82 insertions(+) diff --git a/meta/classes-recipe/image.bbclass b/meta/classes-recipe/image.bbclass index

[OE-core] [PATCH 4/5 v3] image_types: use IMAGE_FILE_MAXSIZE variable for f2fs image types

2023-11-01 Thread Charles-Antoine Couret via lists.openembedded.org
-by: Charles-Antoine Couret --- meta/classes-recipe/image_types.bbclass | 6 ++ 1 file changed, 6 insertions(+) diff --git a/meta/classes-recipe/image_types.bbclass b/meta/classes-recipe/image_types.bbclass index 1356552445..6e3190fa3f 100644 --- a/meta/classes-recipe/image_types.bbclass +++ b/meta

[OE-core] [PATCH 2/5 v3] image_types: use IMAGE_FILE_MAXSIZE variable for ext2/3/4 image types

2023-11-01 Thread Charles-Antoine Couret via lists.openembedded.org
-by: Charles-Antoine Couret --- meta/classes-recipe/image_types.bbclass | 24 1 file changed, 16 insertions(+), 8 deletions(-) diff --git a/meta/classes-recipe/image_types.bbclass b/meta/classes-recipe/image_types.bbclass index be8197f1f6..fb1e33cf3e 100644 --- a/meta/classes

[OE-core] [PATCH 1/5 v3] image_types: add python function to get the IMAGE_FILE_MAXSIZE:fstype value

2023-11-01 Thread Charles-Antoine Couret via lists.openembedded.org
. If IMAGE_FILE_MAXSIZE is not set, the idea is to keep the previous behaviour for compatibility reason and to met other requirements. Signed-off-by: Charles-Antoine Couret --- meta/classes-recipe/image_types.bbclass | 7 +++ 1 file changed, 7 insertions(+) diff --git a/meta/classes-recipe

[OE-core] [PATCH 0/5 v3] image_types: use IMAGE_FILE_MAXSIZE variable to create fixed partition size

2023-11-01 Thread Charles-Antoine Couret via lists.openembedded.org
function to get the value of this variable from shell functions otherwise parsing issue can happen * Added an additional task to check the final result which works for all filesystems and not only those created with dd command. Charles-Antoine Couret (6): image_types: add python function to get

[OE-core] [PATCH] systemd-boot-cfg: add .conf suffix to default entry label

2023-09-24 Thread Charles-Antoine Couret via lists.openembedded.org
stemd-boot is not able to use this information and it's starting in any case the first entry. To be able to start another entry by default, .conf suffix is required. With this change, LABELS variable can still be used by other bootloaders and being used as description field. Signed-off-by: Charl

[OE-core] [PATCH 4/5 v2] image_types: use IMAGE_FILE_MAXSIZE variable for f2fs image types

2023-08-06 Thread Charles-Antoine Couret via lists.openembedded.org
-by: Charles-Antoine Couret --- meta/classes-recipe/image_types.bbclass | 6 ++ 1 file changed, 6 insertions(+) diff --git a/meta/classes-recipe/image_types.bbclass b/meta/classes-recipe/image_types.bbclass index 6e54f2f13a..51b2b6ea1d 100644 --- a/meta/classes-recipe/image_types.bbclass +++ b/meta

[OE-core] [PATCH 5/5 v2] image: add check_image_max_size as post function to check file size against IMAGE_FILE_MAXSIZE

2023-08-06 Thread Charles-Antoine Couret via lists.openembedded.org
. Signed-off-by: Charles-Antoine Couret --- meta/classes-recipe/image.bbclass | 30 ++ 1 file changed, 30 insertions(+) diff --git a/meta/classes-recipe/image.bbclass b/meta/classes-recipe/image.bbclass index e0dfba4a42..bf47f3dea3 100644 --- a/meta/classes-recipe

[OE-core] [PATCH 3/5 v2] image_types: use IMAGE_FILE_MAXSIZE variable for btrfs image types

2023-08-06 Thread Charles-Antoine Couret via lists.openembedded.org
-by: Charles-Antoine Couret --- meta/classes-recipe/image_types.bbclass | 6 ++ 1 file changed, 6 insertions(+) diff --git a/meta/classes-recipe/image_types.bbclass b/meta/classes-recipe/image_types.bbclass index 2ec41c6e54..6e54f2f13a 100644 --- a/meta/classes-recipe/image_types.bbclass +++ b/meta

[OE-core] [PATCH 2/5 v2] image_types: use IMAGE_FILE_MAXSIZE variable for ext2/3/4 image types

2023-08-06 Thread Charles-Antoine Couret via lists.openembedded.org
-by: Charles-Antoine Couret --- meta/classes-recipe/image_types.bbclass | 24 1 file changed, 16 insertions(+), 8 deletions(-) diff --git a/meta/classes-recipe/image_types.bbclass b/meta/classes-recipe/image_types.bbclass index 33c65e8282..2ec41c6e54 100644 --- a/meta/classes

[OE-core] [PATCH 1/5 v2] image_types: add python function to get the IMAGE_FILE_MAXSIZE:fstype value

2023-08-06 Thread Charles-Antoine Couret via lists.openembedded.org
. If IMAGE_FILE_MAXSIZE is not set, the idea is to keep the previous behaviour for compatibility reason and to met other requirements. Signed-off-by: Charles-Antoine Couret --- documentation/ref-manual/variables.rst | 14 ++ meta/classes-recipe/image_types.bbclass | 7 +++ 2 files changed, 21

[OE-core] [PATCH 0/5 v2] image_types: use IMAGE_FILE_MAXSIZE variable to create fixed partition size

2023-08-06 Thread Charles-Antoine Couret via lists.openembedded.org
works for all filesystems and not only those created with dd command. Charles-Antoine Couret (5): image_types: add python function to get the IMAGE_FILE_MAXSIZE:fstype value image_types: use IMAGE_FILE_MAXSIZE variable for ext2/3/4 image types image_types: use IMAGE_FILE_MAXSIZE variable

[OE-core] [PATCH 3/3] image_types: use IMAGE_FILE_MAXSIZE variable for f2fs image types

2023-06-04 Thread Charles-Antoine Couret via lists.openembedded.org
-by: Charles-Antoine Couret --- meta/classes-recipe/image_types.bbclass | 5 + 1 file changed, 5 insertions(+) diff --git a/meta/classes-recipe/image_types.bbclass b/meta/classes-recipe/image_types.bbclass index f157a84b2e..b5d32b7622 100644 --- a/meta/classes-recipe/image_types.bbclass +++ b/meta

[OE-core] [PATCH 2/3] image_types: use IMAGE_FILE_MAXSIZE variable for btrfs image types

2023-06-04 Thread Charles-Antoine Couret via lists.openembedded.org
-by: Charles-Antoine Couret --- meta/classes-recipe/image_types.bbclass | 4 1 file changed, 4 insertions(+) diff --git a/meta/classes-recipe/image_types.bbclass b/meta/classes-recipe/image_types.bbclass index cebbb61545..f157a84b2e 100644 --- a/meta/classes-recipe/image_types.bbclass +++ b/meta

[OE-core] [PATCH 1/3] image_types: use IMAGE_FILE_MAXSIZE variable for ext2/3/4 image types

2023-06-04 Thread Charles-Antoine Couret via lists.openembedded.org
-by: Charles-Antoine Couret --- meta/classes-recipe/image_types.bbclass | 25 + 1 file changed, 17 insertions(+), 8 deletions(-) diff --git a/meta/classes-recipe/image_types.bbclass b/meta/classes-recipe/image_types.bbclass index e4939af459..cebbb61545 100644 --- a/meta/classes

[OE-core] [PATCH 0/3] image_types: use IMAGE_FILE_MAXSIZE variable to create fixed partition size

2023-06-04 Thread Charles-Antoine Couret via lists.openembedded.org
behaviour for compatibility reason and to met other requirements. Charles-Antoine Couret (3): image_types: use IMAGE_FILE_MAXSIZE variable for ext2/3/4 image types image_types: use IMAGE_FILE_MAXSIZE variable for btrfs image types image_types: use IMAGE_FILE_MAXSIZE variable for f2fs image types

[OE-core] [PATCHv2] utils: fix gcc 10 version detection

2020-03-26 Thread Charles-Antoine Couret
Utils can not detect GCC 10 correctly due to wrong regex. It generates this error "ERROR: Can't get compiler version from gcc --version output" Sub-version numbers should be 1 or more digits instead of 1 only. Signed-off-by: Charles-Antoine Couret --- meta/lib/oe/utils.py | 2

[OE-core] [PATCH] utils: fix gcc 10 version detection

2020-03-26 Thread Charles-Antoine Couret
Utils can not detect GCC 10 correctly due to wrong regex. It generates this error "ERROR: Can't get compiler version from gcc --version output" The major version should be 1 or more digits instead of 1 only. Signed-off-by: Charles-Antoine Couret --- meta/lib/oe/utils.py | 2

[OE-core] [PATCH 1/2] glibc: split glibc and libcrypt

2018-04-06 Thread Charles-Antoine Couret
with Fedora >= 28 and other distros. libxcrypt is backwards compatible with libcrypt but not the converse. Signed-off-by: Charles-Antoine Couret <charles-antoine.cou...@essensium.com> --- meta/recipes-core/glibc/glibc-package.inc | 1 + .../0031-nativesdk-deprecate-libcrypt.patc

[OE-core] [PATCH 2/2] perl: add patch to solve libcrypt incompatibility

2018-04-06 Thread Charles-Antoine Couret
Add Perl's patch submitted to upstream to be compiled along with glibc with libcrypt split. Signed-off-by: Charles-Antoine Couret <charles-antoine.cou...@essensium.com> --- .../perl/perl-native_5.24.1.bb| 1 + .../perl-5.26.1-guard_old_libcrypt_fix.patch

[OE-core] [PATCH 0/2] Split glibc and libcrypt

2018-04-06 Thread Charles-Antoine Couret
of these changes is to split glibc and libcrypt to use libxcrypt only to generate the SDK and the uninative tarball. With that, all distros are able to build Poky with official uninative. The time to glibc to apply this change upstream. Charles-Antoine Couret (2): glibc: split glibc and libcrypt perl