Re: [yocto] busybox->coreutils: How replace single Busybox program with same from coreutils

2017-11-10 Thread Ulf Samuelsson
On 2017-11-11 07:59, Ulf Samuelsson wrote: Adding a third party package to the rootfs, and some of their scripts will break due to the busybox version of certain applications do not support all the switches. Rather that rewriting those scripts (forcing me to maintain them) I would like to repl

[yocto] busybox->coreutils: How replace single Busybox program with same from coreutils

2017-11-10 Thread Ulf Samuelsson
Adding a third party package to the rootfs, and some of their scripts will break due to the busybox version of certain applications do not support all the switches. Rather that rewriting those scripts (forcing me to maintain them) I would like to replace the busybox version of selected applicatio

[yocto] [meta-mingw][PATCH] mingw64: update to 5.0.3

2017-11-10 Thread Samuli Piippo
Use the latest mingw64 release to get access to the latest Windows APIs BUILDSDK_CPPFLAGS were emptied from poky.conf, but are needed for mingw build to include correct float.h. (error: '_MCW_DN' undeclared here) Disable shared library for nativesdk-gettext as it fails with 'undefined reference t

Re: [yocto] dpkg --print-architecture returns wrong result

2017-11-10 Thread John Rama
This issue is already addressed by the following commit. https://vendor2.nginfotpdx.net/gitlab/ypp/poky/commit/aca6dae9dcdde59c3aeb0a9afd1a9538f1288e3a?view=inline https://patchwork.openembedded.org/patch/132494/ John On 2017/11/09 18:50, John Rama wrote: >>> However, when checking with followin

Re: [yocto] yocto documentation: no content, no PDF?

2017-11-10 Thread Jerry Lian
It works! The PDF files are much better to read with better content. (The HTML document on website is almost useless without the content) Thank you guys! On Thu, Nov 9, 2017 at 12:32 PM, Leonardo Sandoval < leonardo.sandoval.gonza...@linux.intel.com> wrote: > On Wed, 8 Nov 2017 16:30:39 + >

Re: [yocto] export command in bitbake

2017-11-10 Thread Zoran Stojsavljevic
> Just to see if I understood correctly. > Are saying here that you can't pass a custom environmental variable to a child > process of the parent process is the python interpreter? It is actually vice versa, but it does not matter. You did not understand what I wanted to say/point here. > The oe-

Re: [yocto] Using devtool for adding a systemd service

2017-11-10 Thread Alan Martinovic
Thanks, I made a workaround by looking for a sysroot in the tmp-glibc (not sure why the -glibc part, seems to be called tmp in poky). Seems like the "sysroot" I was looking for is called rootfs. So I located it with: find tmp-glibc -iname rootfs On Fri, Nov 10, 2017 at 4:19 PM, Fabien Lahoudere

Re: [yocto] Using devtool for adding a systemd service

2017-11-10 Thread Fabien Lahoudere
Hi I don't think that devtool will help you in this case. IIUC, what you need is to check if your file is populated in the package? You can verify this by checking package content after the build. For example : dpkg-deb -c will show you all files installed by the package. I think rpm an

Re: [yocto] Using devtool for adding a systemd service

2017-11-10 Thread Zoran Stojsavljevic
Hello Alan, I would admit that I did not understand the package you would like to use, and what is the problem with it. But I, from the back of my mind (somehow) understood that I need to query the packages I know, and these packages are mandatory for any Linux. The following I tried on the host

Re: [yocto] Using devtool for adding a systemd service

2017-11-10 Thread Alan Martinovic
Hey Zoran, this doesn't really have anything to do with my question. Would suggest you to rephrase it to make it more clear. But we have there both packages??? We do, we do?! Do we really have problem here, YOCTO maintainers??? Please, could you post > sound and logical explanation for NOT having

Re: [yocto] Using devtool for adding a systemd service

2017-11-10 Thread Zoran Stojsavljevic
It is, after all, interesting question, you posted here, Alan! I did something else, very different than you - I did the following! [user@192 poky]$ pwd /home/user/YOCTO/oe_core_embedded/poky [user@192 poky]$ find . -name systemd* ./scripts/lib/wic/canned-wks/systemd-bootdisk.wks ./meta-yocto-bsp

Re: [yocto] apt-get

2017-11-10 Thread Zoran Stojsavljevic
> I've added in local.conf both: > PACKAGE_CLASSES = "package_rpm" > IMAGE_FEATURES += "package-management" I have the following in my poky x86-64 build. in .../poky/build/local.conf: PACKAGE_CLASSES ?= "package_rpm" EXTRA_IMAGE_FEATURES ?= "debug-tweaks package-management" Should I add the line:

[yocto] Using devtool for adding a systemd service

2017-11-10 Thread Alan Martinovic
Hi, I need to add a systemd service that needs no additional sources compiled, but just needs an available command executed at boot. I've created a basis for the recipe in my layer: nrf52-usb-systemd/ |-- files | `-- btattach-nrf-acm.service `-- nrf52-usb-systemd.bb together with a recipe tem

Re: [yocto] recipe name vs. package name

2017-11-10 Thread Fabien Lahoudere
Hi, On Fri, 2017-11-10 at 10:16 +0200, Ran Shalit wrote: > Hello, > > I read somewhere that a recipe can contain more than one package and recipe > name is not the same > as package name. > But in > https://wiki.yoctoproject.org/wiki/Building_your_own_recipes_from_first_principles > I see that p

[yocto] recipe name vs. package name

2017-11-10 Thread Ran Shalit
Hello, I read somewhere that a recipe can contain more than one package and recipe name is not the same as package name. But in https://wiki.yoctoproject.org/wiki/Building_your_own_recipes_from_first_principles I see that package name (used in IMAGE_INSTALL_append) is actually the same as recipe n

Re: [yocto] export command in bitbake

2017-11-10 Thread Alan Martinovic
Hi > > I have both python (2.7.14) and python3.6 (3.6.2). But, as far as I can > see/say, both interpreters do NOT support export declaration (supported > with /bin/bash). In other words, every child shell will (with export > declaration on certain variables) inherit parent's environment. > > [use

Re: [yocto] apt-get

2017-11-10 Thread Ran Shalit
If I can please ask one last on this issue: We decided to try "smart", but it seems that its mirrors list are all empty. Can you please point me as to how to fill the mirror list (I tried to search on this, but haven't found information) ? Thank you very much, Ran On Thu, Nov 9, 2017 at 5:11 P