Re: [yocto] Cannot use "LICENSE_CREATE_PACKAGE = 1" when building the image with mdns

2019-10-04 Thread Stefano Cappa
se this "sed -e '/mdns/!s/^\(hosts:.*\)dns\(.*\)/\1mdns dns\2/' /etc/nsswitch.conf.pre-mdns > /etc/nsswitch.conf" instead of the existing one. What do you think? Il giorno ven 4 ott 2019 alle ore 17:04 Stefano Cappa < stefano.cappa.k...@gmai

Re: [yocto] Cannot use "LICENSE_CREATE_PACKAGE = 1" when building the image with mdns

2019-10-04 Thread Stefano Cappa
_prerm_ and pkg_postinst_ because I really don't understand why I cannot change nsswitch without those and why without LICENSE_CREATE_PACKAGE they are working also without adding ontarget_, but with LICENSE_CREATE_PACKAGE = 1 the ontarget_ is required. Please, can someone help about this? Or at

Re: [yocto] Cannot use "LICENSE_CREATE_PACKAGE = 1" when building the image with mdns

2019-10-04 Thread Stefano Cappa
ge to nsswitch. Is it possibile to change the recipe of mdns to modify nsswitch without interfering with license create package in another () { }? Thanks Il gio 3 ott 2019, 14:24 Stefano Cappa ha scritto: > I resend this email because it's not visible in yocto mailing list. >

Re: [yocto] Cannot use "LICENSE_CREATE_PACKAGE = 1" when building the image with mdns

2019-10-03 Thread Stefano Cappa
al [NOTFOUND=return] dns" (copied from a raspberry pi 3) I'm still having the same problem. What should I change to fix this issue? Il mar 1 ott 2019, 11:29 Stefano Cappa ha scritto: > Hi thank you for the answer. > > In my rootfs I have this nsswitch.conf: > --

Re: [yocto] Cannot use "LICENSE_CREATE_PACKAGE = 1" when building the image with mdns

2019-10-01 Thread Stefano Cappa
l having the same problem. What should I change to fix this issue? Il lun 30 set 2019, 22:45 Khem Raj ha scritto: > > > On 9/30/19 8:17 AM, Stefano Cappa wrote: > > I saw your last patch to upgrade mdns, so I'm sending this email also to > > you to try to get he

[yocto] Cannot use "LICENSE_CREATE_PACKAGE = 1" when building the image with mdns

2019-09-30 Thread Stefano Cappa
I saw your last patch to upgrade mdns, so I'm sending this email also to you to try to get help. mdns is working correctly, however, when I try to build my image with "LICENSE_CREATE_PACKAGE = "1"" in my local.conf as described here https://www.yoctoproject.org/docs/2.8/dev-manual/dev-manual.html#

[yocto] Cannot use LICENSE_CREATE_PACKAGE = "1" with mDNS package

2019-02-28 Thread Stefano Cappa
I'm using the latest version from git branch of yocto thud. If I add to INSTALL the package "mdns" and also I want to create all files for licenses adding LICENSE_CREATE_PACKAGE = "1" the build of the final image fails with this error: Error myimage-1.0-r0 do_rootfs: Postinstall scriptlets of ['m

Re: [yocto] [selinux] sumo compilation

2019-01-14 Thread Stefano Cappa
debug this issue with some tricks? Am I missing something? Thank u. Il giorno mer 9 gen 2019 alle ore 21:55 Stefano Cappa < stefano.cappa.k...@gmail.com> ha scritto: > Ok thank you, I'll try it. > > Il giorno lun 31 dic 2018 alle ore 03:52 MacDonald, Joe < > joe_macdon...@

Re: [yocto] Cannot update dhcpcd receipe from v6.11.5 to v7.x.x

2019-01-13 Thread Stefano Cappa
Ok, I created a pull request on github: https://github.com/openembedded/meta-openembedded/pull/112 Il giorno dom 13 gen 2019 alle ore 03:33 Khem Raj ha scritto: > Awesome > > On Sat, Jan 12, 2019 at 6:00 PM Stefano Cappa < > stefano.cappa.k...@gmail.com> wrote: > >> F

Re: [yocto] Cannot update dhcpcd receipe from v6.11.5 to v7.x.x

2019-01-12 Thread Stefano Cappa
Fixed. After some tests I'll send the new recipe with a patch to update dhcpcd. Il gio 10 gen 2019, 00:12 Stefano Cappa ha scritto: > Which should be the right path instead of the hardcoded /usr/include? > Is there a recommended way to fix it in a yocto recipe? > > > Il g

Re: [yocto] Setting up a password for the root user

2019-01-12 Thread Stefano Cappa
>From a security point of view, Is it better to use "usermod -p `openssl passwd mypass` root; \" or with uppercase P "usermod -P mypass root; \" ? Il giorno sab 12 gen 2019 alle ore 04:38 Rudolf J Streif < rudolf.str...@ibeeto.com> ha scritto: > Alberto, > > The quotes around > > `openssl passw

Re: [yocto] Is it possible to upgrade Nodejs from 8 to 10 LTS?

2019-01-10 Thread Stefano Cappa
y to compare it. * *I'll do some check and then I'll post the recipe with the new patch file and the full log with the error (it's really huge) to ask help.* Il giorno gio 10 gen 2019 alle ore 19:04 Stefano Cappa < stefano.cappa.k...@gmail.com> ha scritto: > Thank u for the

Re: [yocto] Is it possible to upgrade Nodejs from 8 to 10 LTS?

2019-01-10 Thread Stefano Cappa
ould say stupid things. Il gio 10 gen 2019, 12:00 Alexander Kanavin ha scritto: > On Wed, 9 Jan 2019 at 22:34, Stefano Cappa > wrote: > > As explained here https://github.com/nodejs/Release, NodeJS 10 is the > current active LTS and NodeJS 8 is right now in "Maintenance" (fro

Re: [yocto] Cannot update dhcpcd receipe from v6.11.5 to v7.x.x

2019-01-09 Thread Stefano Cappa
Which should be the right path instead of the hardcoded /usr/include? Is there a recommended way to fix it in a yocto recipe? Il giorno mer 9 gen 2019 alle ore 03:41 Khem Raj ha scritto: > On Tue, Jan 8, 2019 at 3:48 PM Stefano Cappa > wrote: > > > > Hi! > > I'm us

[yocto] Is it possible to upgrade Nodejs from 8 to 10 LTS?

2019-01-09 Thread Stefano Cappa
As explained here https://github.com/nodejs/Release, NodeJS 10 is the current active LTS and NodeJS 8 is right now in "Maintenance" (from January 2019). I saw that in master branch, Node has been updated from 8.12 to 8.14. Is there an official scheduling to release NodeJS 10 in open-embedded, for

Re: [yocto] [selinux] sumo compilation

2019-01-09 Thread Stefano Cappa
y about > that. > > -J. > > > From: yocto-boun...@yoctoproject.org on > behalf of MacDonald, Joe > Sent: Sunday, December 30, 2018 9:46 PM > To: Stefano Cappa > Cc: yocto@yoctoproject.org > Subject: Re: [yocto] [selinux] sumo comp

[yocto] Cannot update dhcpcd receipe from v6.11.5 to v7.x.x

2019-01-08 Thread Stefano Cappa
Hi! I'm using Yocto THUD and I'm trying to update dhcpcd (meta-openembedded/meta-networking) from 6.11.5 to 7.0.8 ( https://roy.marples.name/downloads/dhcpcd/dhcpcd-7.0.8.tar.xz) only to do some experiments, however I think that it's correct to migrate to the new version. I modified the recipe to

Re: [yocto] [selinux] sumo compilation

2018-12-30 Thread Stefano Cappa
Are there any news about this? Also for thud branch. Il mar 30 ott 2018, 14:46 Sinan Kaya ha scritto: > On 10/24/2018 7:49 PM, Joe MacDonald wrote: > > Hey all, > > > > I just thought I should quickly follow up on this. I have a change set > > ready that includes tagging and a minor tweak for s

[yocto] How to skip a receipe from security_flags by its name?

2018-12-28 Thread Stefano Cappa
Hi! Let say that I have a receipe called "third-party-receipe" and I want to use security flags for everything except for "third-party-receipe". How can I do this? Is there a general blacklist to skip all the stuff included in security_flags.inc for a specific receipe? I don't want to remove only

[yocto] iMX6 FEC driver Linux-fslc 4.17 - IPV6 Multicast not working when unplugging/plugging ethernet cable

2018-12-23 Thread Stefano Cappa
Hi everyone, if I boot my device with ethernet cable attached and I execute "ping6 ff02::fb" to ping the multicast address I get this response: *root@evk:~# ping6 ff02::fb* *PING ff02::fb (ff02::fb): 56 data bytes* *64 bytes from fe80::c2f:eff:fe11:2d71: seq=0 ttl=64 time=2.057 ms* *64 bytes from

Re: [yocto] Some questions about mdns library (sumo branch, but also master)

2018-12-11 Thread Stefano Cappa
they are not compatibile. I'm confused. I found some references about avahi compat but I don't understand it its require or not and how to add it if not present by default Il lun 10 dic 2018, 11:23 Stefano Cappa ha scritto: > Hi! > I'm trying to use mdns library ( > ht

[yocto] Some questions about mdns library (sumo branch, but also master)

2018-12-10 Thread Stefano Cappa
Hi! I'm trying to use mdns library ( https://layers.openembedded.org/layerindex/recipe/72471/), however I have some questions. 1) what is the purpose of " files/0001-nss_mdns-Do-not-include-nss.h-when-libc-glibc.patch

Re: [yocto] [selinux] sumo compilation

2018-10-20 Thread Stefano Cappa
ng up labels on /tmp secon: SELinux is not enabled cat: /initial_contexts/unlabeled: No such file or directory I don't understand why it's happening. I'm trying on the official iMX6 evaluation kit by NXP. Il giorno gio 18 ott 2018 alle ore 23:13 Stefano Cappa < stefano.cappa.k..

Re: [yocto] [selinux] sumo compilation

2018-10-18 Thread Stefano Cappa
Thank you Il gio 18 ott 2018, 22:48 Sinan Kaya ha scritto: > On 10/18/2018 3:08 PM, Joe MacDonald wrote: > >> Sorry, I thought it had been created. I'm going to be traveling the > >> next few days to ELC-E, but I will try to get to it if someone else > >> does not first. > > Yeah, Mark and I ar

Re: [yocto] [selinux] sumo compilation

2018-10-17 Thread Stefano Cappa
Exactly the same issue since September. Here is my discussion https://lists.yoctoproject.org/pipermail/yocto/2018-September/042711.html. With that trick did you find a solution also on sumo? Il gio 18 ott 2018, 01:42 ha scritto: > > It was broken in rocko too. I added this to local.conf to wor

Re: [yocto] [meta-selinux] cannot apply misc_create_inode.c-label_rootfs.patch from e2fsprogs

2018-09-30 Thread Stefano Cappa
I'm still having the same issue. I really don't know if I can remove this patch safely or not. Is it required for selinux? If yes, why isn't working for my board imx6 with linux-imx? Please help :( thank you. Il giorno gio 20 set 2018 alle ore 00:32 Stefano Cappa < stefano.ca

[yocto] [meta-selinux] cannot apply misc_create_inode.c-label_rootfs.patch from e2fsprogs

2018-09-19 Thread Stefano Cappa
I have an iMX6 board with meta-freescale. I'm using yocto sumo with meta-security and I want to try to add meta-selinux (without meta-virtualization) to do some experiments. However, while building I receive this error: ERROR: e2fsprogs-native-1.43.8-r0 do_patch: Command Error: 'quilt --quiltrc /

[yocto] Error in do_rootfs while builing on sumo with cmake the library called "libfmt" 4.1.0 (on rocko it was ok)

2018-09-05 Thread Stefano Cappa
I created a custom meta-layer to build libfmt 4.1.0 ( https://github.com/fmtlib/fmt). Since this library uses cmake, I created this receipe: *SUMMARY = "fmt"* *SECTION = "base"* *SRC_URI = "https://github.com/fmtlib/fmt/archive/${PV}.tar.gz

[yocto] How to modify a meta third party layer sources from my custom layer

2018-05-13 Thread Stefano Cappa
Hello everyone, I'm new to yocto so please don't kill me :). I have a question, probably very stupid and simple, but I'm really don't know how to understand this so I'm trying to ask to the cummunity. I'm using Yocto 2.4 for an hardware with meta-freescale layer to support it. However I have to ap