Re: [yocto] Installing Python app from source

2018-10-04 Thread Outback Dingo
On Fri, Oct 5, 2018 at 12:48 AM Brian Zambrano wrote: > > In a Python project with a setup.py file, you can actually do "pip install ." > Of course you still need internet access for dependencies, which I have > during the build. This is similar to running "python setup.py install" in > the

Re: [yocto] changing kernel config in Morty build

2018-10-04 Thread Greg Wilson-Lindberg
Does anybody else have any idea about what is going on here? Yocto is seeing my request to change the kernel config, suggests that the change is acceptable, but then doesn't make it. Thanks in advance for any insight, Greg From: Greg Wilson-Lindberg Sent: Tuesday, October 02, 2018 02:22 PM

[yocto] Python-tkinter

2018-10-04 Thread nishant poorswani
Hey. I want to add python-tkinter into my image. I've added in my local.conf . When I try to use it I cannot import Tkinter into my code. Can anyone help with this? I get an error If this fails Python may not be configured properly. ImportError: No module named _tkinter. Any help would be

Re: [yocto] DEPENDS=libusb1 | libusb-compat not building package

2018-10-04 Thread Tim Hammer
Even with libusb1 in DEPENDS it fails. It may be in the configure script (which works fine "outside" of a bitbake build), but what I am confused about is the lack of any libusb content in my cc-tool build tree. When I added boost to the DEPENDS, I got the headers and libraries in

Re: [yocto] DEPENDS=libusb1 | libusb-compat not building package

2018-10-04 Thread Burton, Ross
The recipe you're after for DEPENDS is libusb1. If that doesn't work then there's a bug in the configure script. Ross On Thu, 4 Oct 2018 at 18:19, Tim Hammer wrote: > > I am trying to write a recipe for cc-tool > (https://sourceforge.net/projects/cctool/) and ran into the following error >

Re: [yocto] Installing Python app from source

2018-10-04 Thread Brian Zambrano
In a Python project with a setup.py file, you can actually do "pip install ." Of course you still need internet access for dependencies, which I have during the build. This is similar to running "python setup.py install" in the same directory. I've tried setting SRC_URI="saunders_backend" along

Re: [yocto] [meta-gplv2] gnutls: use https mirror for SRC_URI instead of ftp

2018-10-04 Thread Andre McCurdy
On Wed, Oct 3, 2018 at 9:16 AM, Oleksandr Kravchuk wrote: > Signed-off-by: Oleksandr Kravchuk > --- > recipes-support/gnutls/gnutls.inc | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/recipes-support/gnutls/gnutls.inc > b/recipes-support/gnutls/gnutls.inc > index

[yocto] DEPENDS=libusb1 | libusb-compat not building package

2018-10-04 Thread Tim Hammer
I am trying to write a recipe for cc-tool ( https://sourceforge.net/projects/cctool/) and ran into the following error during the build: | checking for libusb-1.0 >= 1.0.0... no | configure: error: Package requirements (libusb-1.0 >= 1.0.0) were not met: | | No package 'libusb-1.0' found I have

Re: [yocto] Installing Python app from source

2018-10-04 Thread Shantanoo Desai
Hi Brian, It is confusing, I agree. But I think it is essential because I assume your Target is not connected to the Internet. When you do pip install normally the package if fetched from the internet and then installed. In this case your app is local so need to have those files first

[yocto] [opkg-utils PATCH] opkg-build: Add support for explicit pigz

2018-10-04 Thread Mike Crowe
From: Mike Crowe oe-core has stopped[1] installing pigz as gzip. This means that in order to persuade opkg-build to use pigz it must be specified explicitly. Let's teach opkg-build to deal with being passed pigz as a compressor. We can't combine the check for whether -T is required because

Re: [yocto] OEDEM in Edinburgh in 2 weeks

2018-10-04 Thread Marco Cavallini
Il 04/10/2018 14:20, Philip Balister ha scritto: OEDEM is basically full at this time. https://www.openembedded.org/wiki/OEDEM_2018 We have had the room rearranged to seat 45 people and I am not sure how we would handle anyone over this. If you know you can't make it, could you please remove

[yocto] [meta-gplv2] grub: use http mirror for SRC_URI instead of ftp

2018-10-04 Thread Oleksandr Kravchuk
Signed-off-by: Oleksandr Kravchuk --- recipes-bsp/grub/grub_0.97.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes-bsp/grub/grub_0.97.bb b/recipes-bsp/grub/grub_0.97.bb index 997a045..3e4e12c 100644 --- a/recipes-bsp/grub/grub_0.97.bb +++

[yocto] [meta-gplv2] gnutls: use https mirror for SRC_URI instead of ftp

2018-10-04 Thread Oleksandr Kravchuk
Signed-off-by: Oleksandr Kravchuk --- recipes-support/gnutls/gnutls.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes-support/gnutls/gnutls.inc b/recipes-support/gnutls/gnutls.inc index 4cf375f..0e2c0b7 100644 --- a/recipes-support/gnutls/gnutls.inc +++

Re: [yocto] Installing Python app from source

2018-10-04 Thread Brian Zambrano
Thanks very much for this Shan. I have that book and was working through it yesterday, as a matter of fact. That part which is confusing to me in that recipe is that the SRC_URI points to every single file, there is a "inherit setuptools" line and also a do_install_append. I'm not sure how each

[yocto] Running task in the custom layer

2018-10-04 Thread Satya Sampangi
Dear All, How to run the task in the recipe file present in the custom layer, *which executes all packages*, bypassing the task present in base layers? Thanks & Regards, Satya -- ___ yocto mailing list yocto@yoctoproject.org

[yocto] (no subject)

2018-10-04 Thread Satya Sampangi
Dear All, How to run the task in the recipe file present in the custom layer, *which executes all packages*, bypassing the task present in base layers? Thanks & Regards, Satya -- ___ yocto mailing list yocto@yoctoproject.org

Re: [yocto] [prelink-cross][PATCH] Support copy relocations in .data.rel.ro

2018-10-04 Thread Kyle Russell
Hey Mark, Do you think this approach is reasonable? If so, I have another patch I'd like to propose that would enable us to better catch error scenarios (like the last two patches address) that we might encounter during do_image_prelink. We just happened to detect these last two issues even

[yocto] Software upgrade tools: which?

2018-10-04 Thread Mauro Ziliani
Hi all. I'm looking for a good layer to add in my BSP to solve the problem of upgrading the system and the application. I'm working on a project the involves an imx6dlsabresd derived board and Krogoth ver 15.0.3. In the first versione the project used an x86-board and Ubuntu 14.04. The update

Re: [linux-yocto] [PATCH 4.18-rt 00/10] upstream updates rt1 --> rt5

2018-10-04 Thread Bruce Ashfield
On 10/01/2018 12:33 PM, Paul Gortmaker wrote: Bruce, Yocto kernel folks, Here are the preempt-rt updates applied to the 4.18 yocto kernel. A couple of the version bumps were just merges of the latest stable tag from GregKH, and no preempt-rt specific changes. The details of the updates that

[yocto] OEDEM in Edinburgh in 2 weeks

2018-10-04 Thread Philip Balister
OEDEM is basically full at this time. https://www.openembedded.org/wiki/OEDEM_2018 We have had the room rearranged to seat 45 people and I am not sure how we would handle anyone over this. If you know you can't make it, could you please remove your name from the attendee list. We'd like to get a

Re: [yocto] git works standalone, but not within yocto for certain ssh uri format

2018-10-04 Thread Bas Mevissen
On 2018-10-03 08:14, Jakob Hasse wrote: Hello again, I looked up the git man page and confirmed that the given SSH URI is valid, in fact, the "v3" is just part of the path. No need to explicitly specify a port number. As already mentioned, git works fine when cloning standalone.

[yocto] git works standalone, but not within yocto for certain ssh uri format

2018-10-04 Thread Jakob Hasse
Hello again, I looked up the git man page and confirmed that the given SSH URI is valid, in fact, the "v3" is just part of the path. No need to explicitly specify a port number. As already mentioned, git works fine when cloning standalone. Furthermore, if I add a slash after the colon, the

[yocto] [python][Wiki] Creating Custom Python Application Recipe

2018-10-04 Thread Shantanoo Desai
Hello BrianZ and all in the list, I answered the StackExchange Query https://stackoverflow.com/questions/50436413/write-a-recipe-in-yocto-for-a-p ython-application/52643185#52643185 This is just my shot at creating custom python application in Yocto. There is clearly a lack of

Re: [yocto] Installing Python app from source

2018-10-04 Thread Shantanoo Desai
Hi Brian, What you need in the .bb is a runtime-dependency. RDEPENDS_${PN} += “ ${PYTHON_PN}-flask ${PYTHON_PN}-jinja ${PYTHON_PN}-markdown” and so on. This will add these modules in the root-filesystem and will be available on the target. If you need some basic help with a python

[yocto] Layerindex - actions required for deleted repos?

2018-10-04 Thread Andreas Müller
Hi, I am cleaning my github and want to remove some repos. One of them is meta-gumstix-community - it is not maintained any more. This layer is listed in layer-index. Will it be removed automatically or are there steps I have to take? Thanks Andreas --