[yocto] Do rootfs fail when switch from rpm to deb

2018-12-11 Thread Jonas Andersson
Hi We have an recipe based on microservicebus-node npm package created with devtool. When we build with PACKAGE_CLASSES = "package_rpm" it builds but when switching to package_deb do_rootfs fails. What can I do to get more information about the packages that is reported as broken, are there any

[yocto] Lib update

2018-12-11 Thread Peter Balazovic
I am developing library (set of libraries) which at first are built and part of build image & my SDK. Now I would need to update the libs so SDK and as well target remote image are updated. I want to avoid rebuild whole image and flash SD-Card again and generated SDK over again. I use SDK cross-com

[yocto] [yocto-kernel-tools][PATCH] tools/kconf_check: modify grep pattern

2018-12-11 Thread Hongzhi.Song
The cmd line, , can't match all expect config options. This is because that it is not always space after 'config' in kernel-source/*/.../Kconfig. e.g. "config IP_VS_IPV6" in net/netfilter/ipvs/Kconfig So we should change the cmd to grep '^[ ]*\(menu\)*config\s'. Signed-off-by: Hongzhi.Song --

Re: [yocto] Do rootfs fail when switch from rpm to deb

2018-12-11 Thread Burton, Ross
On Tue, 11 Dec 2018 at 09:11, Jonas Andersson wrote: > The following packages have unmet dependencies: > microservicebus-node : Depends: microservicebus-node-npm but it is not going > to be installed > Depends: microservicebus-node-npm-JSONStream but it > is not installa

[yocto] Best practices for tokens/passwords that can't be versioned

2018-12-11 Thread Alan Martinovic
Hi, am looking for opinions on how to deal with recipes that depend on file content that can't be versioned. i.e. The logging service on the embedded device needs to have a certain private key or token to work correctly. But due to security reasons that file can't be versioned with the layer. Th

Re: [yocto] Raspberry pi with Yocto os sd card is not working with Raspbian os sd card

2018-12-11 Thread Erik Botö
On Tue, Dec 11, 2018 at 3:28 AM AKASH BHARDWAJ wrote: > > Few months ago,I built an custom image for Raspberrypi using Yocto > Project,flashed it in a sd card and was able to boot raspberrypi.Presently,I > am trying to use a different sd card with raspbian os in same > Raspberrypi.But it is no

Re: [yocto] Best practices for tokens/passwords that can't be versioned

2018-12-11 Thread Erik Botö
On Tue, Dec 11, 2018 at 12:55 PM Alan Martinovic wrote: > Seems like conf/local.conf could also offer a solution given that it's > a temporary > thing (per build setup), but didn't yet figure out a good mechanism. You could have a variable in the recipe and override that value in local.conf. Let

Re: [yocto] Best practices for tokens/passwords that can't be versioned

2018-12-11 Thread Alan Martinovic
Thanks Erik, guess that could work to and seems cleaner than the env variables. It still leaves the question how to move that content into a static file. For example if in the end the recipe should install a file with "super secret" as the content. Example on the device at runtime: cat /etc/confi

Re: [yocto] Do rootfs fail when switch from rpm to deb

2018-12-11 Thread Jonas Andersson
Thanks, I'll look into it. Den tis 11 dec. 2018 kl 11:55 skrev Burton, Ross : > On Tue, 11 Dec 2018 at 09:11, Jonas Andersson > wrote: > > The following packages have unmet dependencies: > > microservicebus-node : Depends: microservicebus-node-npm but it is not > going to be installed > >

[yocto] Yocto Project Status WW50’18

2018-12-11 Thread Jolley, Stephen K
Current Dev Position: YP 2.7 M1. Next Deadline: YP 2.7 M1 Cutoff is Dec. 10, 2018 SWAT Team Rotation: · SWAT lead is currently: Chen · SWAT team rotation: Chen -> Armin on Dec. 14, 2018 · SWAT team rotation: Armin -> Anuj on Dec. 21, 2018 · https://wiki.yoctop

[yocto] [yocto-autobuilder-helper][PATCH] config.json: add arm64 multilib build

2018-12-11 Thread Armin Kuster
Signed-off-by: Armin Kuster --- config.json | 11 +++ 1 file changed, 11 insertions(+) diff --git a/config.json b/config.json index 89b9827..8ca1227 100644 --- a/config.json +++ b/config.json @@ -342,6 +342,17 @@ "DEFAULTTUNE_virtclass-multilib-lib64 = 'mips64'",

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

2018-12-11 Thread Stefano Cappa
The first three are still unresolved questions for me, but I understood question 4 thanks to avahi-autoipd without adding all avahi lib. In this way I can use autoipd to assign link local without running the full avahi, but mdns by apple. However I'm having some problems because it seems that they

Re: [yocto] [OE-core] FILESYSTEM_PERMS_TABLE / fs-perms.txt

2018-12-11 Thread madoga
On Monday, 10 de December de 2018 17:12, Mark Hatle wrote: > On 12/10/18 4:14 AM, madoga wrote: > > > > On 12/5/18 11:12 AM, madoga wrote: > > > > > > > Hello List, > > > > I am trying to configure my entire filesystem by using > > > > FILESYSTEM_PERMS_TABLES > > > > variable pointing to my cu

Re: [yocto] yocto Digest, Vol 99, Issue 26

2018-12-11 Thread Mohamed Youseif
gt; > > > > CONF_VERSION = "1" > MACHINE = "raspberrypi3" > PREFERRED_VERSION_linux-raspberrypi = "4.%" > DISTRO_FEATURES_remove = "x11 wayland" > DISTRO_FEATURES_append = " systemd" > VIRTUAL-RUNTIME_init_manager = &

[yocto] Enable PACKAGECONFIG Feature

2018-12-11 Thread Mohamed Youseif
gt; > > > > CONF_VERSION = "1" > MACHINE = "raspberrypi3" > PREFERRED_VERSION_linux-raspberrypi = "4.%" > DISTRO_FEATURES_remove = "x11 wayland" > DISTRO_FEATURES_append = " systemd" > VIRTUAL-RUNTIME_init_manager = &

Re: [yocto] yocto Digest, Vol 99, Issue 26

2018-12-11 Thread Nicolas Dechesne
; > > BB_DISKMON_DIRS ??= "\ > > STOPTASKS,${TMPDIR},1G,100K \ > > STOPTASKS,${DL_DIR},1G,100K \ > > STOPTASKS,${SSTATE_DIR},1G,100K \ > > STOPTASKS,/tmp,100M,100K \ > > ABORT,${TMPDIR},100M,1K \ > > ABORT,${DL_DIR},100M,1K \ > >

[yocto] Can I use busybox-init on raspberrypi3?

2018-12-11 Thread bx L
Hi everyone, I see that poky-tiny use busybox as the init system, and I'm trying to use busybox-init (instead of sysvinit) on my raspberrypi3. I Add the following code to my local.conf: VIRTUAL-RUNTIME_init_manager = "busybox" VIRTUAL-RUNTIME_initscripts = "initscripts" DISTRO_FEATU