[yocto] Adding a custom environment variable

2019-11-15 Thread Deepika Teriar
Hi, I have a module called unit-tests. I want to create an environment variable so that at compile time I can select whether to add or remove the module from build. Thanks Deepika -- ___ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproj

[yocto] [patchtest-oe][PATCH] test_patch_upstream_status: Be explicit about case sensitivity

2019-11-15 Thread Paul Barker
The case sensitivity of the checks for the "Upstream-Status" label should match so that failure messages make sense. The checks in the parse_upstream_status module are case sensitive and so the initial regex check should also be made case sensitive. A quick note about case sensitivity is added to

[yocto] [patchtest][PATCH 1/2] patchtest: Fix printing of exception tracebacks

2019-11-15 Thread Paul Barker
The addError() handler is called outside of an actual exception handler so sys.exc_info() doesn't actually return an exception. This means that traceback.print_exc() doesn't know what to print. Instead we need to use traceback.print_exception() with the err object we've been given. Signed-off-by:

[yocto] [patchtest][PATCH 2/2] patchtest: Allow tests to import helper modules

2019-11-15 Thread Paul Barker
When running patchtest locally to figure out what was wrong with my patch, I saw the similar exceptions for each test module: Traceback (most recent call last): File "/usr/lib/python3.6/unittest/case.py", line 59, in testPartExecutor yield File "/usr/lib/python3.6/unittest/

Re: [yocto] Adding a custom environment variable

2019-11-15 Thread Khem Raj
On Fri, 2019-11-15 at 12:29 +0100, Deepika Teriar wrote: > Hi, > > I have a module called unit-tests. > I want to create an environment variable so that at compile time I > can select whether to add or remove the module from build. > perhaps look into ptest distro feature. > Thanks > Deepika -

Re: [yocto] [meta-raspberrypi][PATCH] wic: add swap partition and set /root and /swap size

2019-11-15 Thread Andrei Gherzan
Hi, On 14/11/2019 11:11, Paul Barker wrote: On Thu, 14 Nov 2019, at 06:04, Hongxu Jia wrote: - Add swap partition to workaround memory limitation - Support to set /root and /swap size, 4G /root and 1G /swap by default Signed-off-by: Hongxu Jia These settings feel distro-specific to me. The

[yocto] Cannot install package SMBNETFS Build Error Configuring CUPS

2019-11-15 Thread David Churchill
Hello, new to Yocto. I’m trying to add SMB/CIFS support to the Linux Distribution on a WP77xx based Sierra Wireless FX30 so I can mount windows network shares. It seems that a recipe exists for this in my source tree for my device at /yocto/meta-openembedded/meta-filesystems/recipes

[yocto] how to compile a task every time?

2019-11-15 Thread www
Dear all, I want to add a “BUILD_TIME” variable to image, so I need to compile a task every time, even if the package has no modification. Who can tell me, how can I set it to the package? thanks. thanks, Byron-- ___ yocto mailing list yocto@yoctop