Re: [OE-core] RFC: exposing information about the SRC_URI(s)/branch via buildhistory (or similar mechanism)

2019-08-02 Thread William Bourque
I'd be curious to see the patches. It's definitely something we could use here; we used to have nightly build checking the build using AUTOREV as well. On Fri, Aug 2, 2019 at 3:43 AM wrote: > > Hi, > > On Thu, Aug 01, 2019 at 04:51:38PM +, chris.laplante--- via > Openembedded-core wrote: >

[OE-core] [PATCH] meta/lib/oeqa: Remove ext4 for bootimg-biosplusefi

2019-07-24 Thread William Bourque
Remove "ext4" IMAGE_FSTYPES when generating core-image-minimal for the bootimg-biosplusefi unittests; "wic" type is enough. Signed-off-by: William Bourque --- meta/lib/oeqa/selftest/cases/wic.py | 18 -- 1 file changed, 8 insertions(+), 10 deletions(-) d

Re: [OE-core] ✗ patchtest: failure for "[V4] wic/plugins: Source that ..." and 1 more

2019-07-24 Thread William Bourque
Sorry about that, I didn't notice V3 was already merged (I was expecting to see it in the series). My bad! I will re-submit this as a new patchset. On Wed, Jul 24, 2019 at 10:01 AM Patchwork wrote: > > == Series Details == > > Series: "[V4] wic/plugins: Source that ..." and 1 more > Revision: 1

[OE-core] [PATCH V4 2/2] meta/lib/oeqa: Test for bootimg-biosplusefi Source

2019-07-24 Thread William Bourque
Add unittests for bootimg-biosplusefi SourcePlugin in wic module. First test check wic creation works correctly. Second test uses qemu to boot image and checks that it has both EFI and BIOS files in a single partition. Signed-off-by: William Bourque --- meta-selftest/wic

[OE-core] [PATCH V4 1/2] wic/plugins: Source that support both EFI and BIOS

2019-07-24 Thread William Bourque
SourcePlugin methods. Signed-off-by: William Bourque --- .../wic/plugins/source/bootimg-biosplusefi.py | 213 ++ 1 file changed, 213 insertions(+) create mode 100644 scripts/lib/wic/plugins/source/bootimg-biosplusefi.py diff --git a/scripts/lib/wic/plugins/source/bootimg

[OE-core] [[PATCH V3 2/2] meta/lib/oeqa: Test for bootimg-biosplusefi Source

2019-07-22 Thread William Bourque
Add unittests for bootimg-biosplusefi SourcePlugin in wic module. First test check wic creation works correctly. Second test uses qemu to boot image and checks that it has both EFI and BIOS files in a single partition. Signed-off-by: William Bourque --- meta-selftest/wic

[OE-core] [[PATCH V3 1/2] wic/plugins: Source that support both EFI and BIOS

2019-07-22 Thread William Bourque
SourcePlugin methods. Signed-off-by: William Bourque --- .../wic/plugins/source/bootimg-biosplusefi.py | 213 ++ 1 file changed, 213 insertions(+) create mode 100644 scripts/lib/wic/plugins/source/bootimg-biosplusefi.py diff --git a/scripts/lib/wic/plugins/source/bootimg

Re: [OE-core] [PATCH v2 1/2] wic/plugins: Source that support both EFI and BIOS

2019-07-17 Thread William Bourque
Hi, Sorry about the failure. I'm trying to figure out what's wrong; the output of the autobuilder is quite puzzling. For test_biosplusefi_plugin_qemu, at line 1303 (https://autobuilder.yoctoproject.org/typhoon/#/builders/79/builds/290/steps/7/logs/step2d) : It seems that for some reason my comman

[OE-core] [PATCH v2 2/2] meta/lib/oeqa: Test for bootimg-biosplusefi Source

2019-07-12 Thread William Bourque
Add unittests for bootimg-biosplusefi SourcePlugin in wic module. First test check wic creation works correctly. Second test uses qemu to boot image and checks that it has both EFI and BIOS files in a single partition. Signed-off-by: William Bourque --- meta-selftest/wic

[OE-core] [PATCH v2 1/2] wic/plugins: Source that support both EFI and BIOS

2019-07-12 Thread William Bourque
SourcePlugin methods. Signed-off-by: William Bourque --- .../wic/plugins/source/bootimg-biosplusefi.py | 213 ++ 1 file changed, 213 insertions(+) create mode 100644 scripts/lib/wic/plugins/source/bootimg-biosplusefi.py diff --git a/scripts/lib/wic/plugins/source/bootimg

Re: [OE-core] ✗ patchtest: failure for wic/plugins: Source that support both EFI and BIOS

2019-07-04 Thread William Bourque
On Wed, Jul 3, 2019 at 3:51 AM Richard Purdie wrote: > > On Tue, 2019-07-02 at 15:22 -0400, William Bourque wrote: > > Hi, > > > > The error "scripts/lib/wic/plugins/source/bootimg-biosplusefi.py does > > not exist" is a bit puzzling : this is the new file

Re: [OE-core] ✗ patchtest: failure for wic/plugins: Source that support both EFI and BIOS

2019-07-02 Thread William Bourque
Hi, The error "scripts/lib/wic/plugins/source/bootimg-biosplusefi.py does not exist" is a bit puzzling : this is the new file my patch is adding. Is this test failure expected for new files? I sent this using git-sendmail; should I submit using a different way (pull request, ...)? Thanks, On T

[OE-core] [PATCH 2/2] wic/engine.py: Use printf instead of echo

2019-02-11 Thread William Bourque
Some distributions default shell (ex: /bin/dash) does not support "-e" argument to echo. Hence, using "printf" is safer as it, unlike echo, always inteprets \n correctly. Signed-off-by: William Bourque --- scripts/lib/wic/engine.py | 2 +- 1 file changed, 1 insertion(+),

[OE-core] [PATCH 1/2] wic/engine.py: Load paths from PATH environment variable

2019-02-11 Thread William Bourque
Load self.paths from environment variable and if it fails, fall back to hardcoded list. This is required for users that would need to load different e2fsprogs binaries if their system's ones are not recent enought Signed-off-by: William Bourque --- scripts/lib/wic/engine.py | 11 -