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

2019-10-04 Thread Stefano Cappa
Oh, another update to integrate the previous email. Inside the source code of mDNSResponder ( https://opensource.apple.com/tarballs/mDNSResponder/mDNSResponder-878.260.1.tar.gz) I found in "mDNSPosix/Makefile" this: " # Check the nsswitch.conf file. # If 'mdns' does not already appear on the "hos

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

2019-10-04 Thread Stefano Cappa
I fixed this issue in this way: I modified the recipe replacing this: -- pkg_postinst_${PN} () { sed -e '/^hosts:/s/\s*\//' \ -e 's/\(^hosts:.*\)\(\\)\(.*\)\(\\)\(.*\)/\1\2 mdns\3\4\5/' \ -i $D/etc/nsswitch.conf } pkg_prerm_${PN} () { sed -e '/^

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

2019-10-04 Thread Stefano Cappa
I investigated a little bit. Probably, I didn't understand your point. The postinst script modifies nsswitch adding mdns and this is right, but why is this interfering with the license create package? If I remove the postinst I can build with license create package, however I need this change to

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

2019-10-03 Thread Stefano Cappa
I resend this email because it's not visible in yocto mailing list. Hi thank you for the answer. In my rootfs I have this nsswitch.conf: --- # /etc/nsswitch.conf # # Example configuration of GNU Name Service Switch functionality. # If you have

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

2019-10-01 Thread Stefano Cappa
Hi thank you for the answer. In my rootfs I have this nsswitch.conf: --- # /etc/nsswitch.conf # # Example configuration of GNU Name Service Switch functionality. # If you have the `glibc-doc' and `info' packages installed, try: # `info libc "Name

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

2019-09-30 Thread Khem Raj
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 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:/

[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#