IRC logs for #automotive for Wednesday, 2020-09-16

*** Geryon has quit IRC05:35
*** leon-anavi has joined #automotive06:47
*** jbpons has joined #automotive07:03
*** mckoan|away is now known as mckoan07:05
*** klaas has quit IRC07:21
*** klaas has joined #automotive07:25
*** kooltux` has joined #automotive07:25
*** vrubiolo has joined #automotive07:31
*** _jbpons_ has joined #automotive07:36
*** jbpons has quit IRC07:38
*** jbpons has joined #automotive07:41
*** _jbpons_ has quit IRC07:43
*** _jbpons_ has joined #automotive08:36
*** jbpons has quit IRC08:39
*** jbpons has joined #automotive08:51
*** _jbpons_ has quit IRC08:52
*** _jbpons_ has joined #automotive10:16
*** jbpons has quit IRC10:19
*** jbpons has joined #automotive10:21
*** _jbpons_ has quit IRC10:23
jbponsHi all ! I want to display the stream of a PiCAM on a native Qt app. I want use QtMultimedia classes but it needs  the bad gstreamer plugin 'camerabin' (I tried to install the gstreamer1.0-plugins-bad package but when my app start I still have the message that the plugin is not installed). Do we have a simple other method to stream camera video on a Qt native app ?)10:47
mvladjbpons: we have some cluster-demo apps that stream the entire output using gstreamer to some receiver app. That receiver app is a dialog on top of the dashboard application that mimics some IC cluster gauges.11:17
*** Mamta__ has joined #automotive11:27
*** _jbpons_ has joined #automotive12:06
*** jbpons has quit IRC12:09
*** jbpons has joined #automotive12:11
*** _jbpons_ has quit IRC12:12
smurrayjbpons: if you have the QtMultimedia approach coded up, I'd suggest debugging what's going on with the plugin further12:33
jbponsYes that's what I'm trying12:34
jbponsI added the 'camerabin' plugin but when I started my app, I have this error :12:34
jbponsSep 16 12:14:20 raspberrypi3 audit[706]: AVC lsm=SMACK fn=smack_inode_getattr action=denied subject="User::App::agl-rvc" object="System" requested=r pid=706 comm="agl-rvc" path="/usr/lib/gstreamer-1.0/libgstmidi12:35
jbpons.so" dev="mmcblk0p2" ino=3954612:35
jbponsIs it a denied access from SMACK ?12:36
smurrayjbpons: yes.  Did you happen to install a rpm by hand?  If so, you need to chsmack -a _ all the files that were installed12:50
mvladsmurray: I guess there's no way to perserve the perms after installation?12:51
smurraymvlad: nope12:52
smurraymvlad: the SMACK labels aren't in the rpms to begin with12:52
mvladWell, for deployment of apps that isn't such an issue but for system apps it is been pretty tedious to do a chsmack each time when you re-install. At that point maybe is just worth doing an entire build.12:56
jbponssmurray: yes I innstalled by hand12:56
smurraymvlad: the concept is there are no system apps installed with RPM.  In a production system you'd never use RPM to install12:57
smurrayjbpons: unless you want to rebuild the image with that package added as a dependency, you'll need to chsmack -a _ all the files that were installed, e.g. "rpm -ql foo.rpm |xargs chsmack -a _"12:59
jbponsOk ! At the end I will rebuild my image12:59
jbponsThank you ! I keep you in touch13:00
smurraymvlad: iirc, the couple of presentations on using RPM in a dev environment with a packagefeed assumed there'd be something added that relabels on a reboot, I think13:00
mvladsmurray: sure, but given that we have distro features like agl-devel, why not make use of it and make development/deployment a bit easier.13:00
smurraymvlad: patches welcom13:01
smurray*welcome13:01
mvlad:-)13:01
jbponsLittle question : why my app version is something like "0.1-db787b4-dirty" ?13:29
smurrayjbpons: I believe the version code uses "fit revision", so if you're building in a repo with changes, it'll get -dirty13:54
smurrayjbpons: sorry, git revision13:55
jbponsOk !14:07
*** _jbpons_ has joined #automotive14:26
*** vrubiolo has quit IRC14:28
*** jbpons has quit IRC14:28
*** jbpons has joined #automotive14:31
*** _jbpons_ has quit IRC14:33
*** _jbpons_ has joined #automotive15:05
*** jbpons has quit IRC15:08
*** jbpons has joined #automotive15:11
*** _jbpons_ has quit IRC15:13
*** rpcme has joined #automotive15:35
rpcmeHello, I hope someone has a sec to check this out, I super appreciate it.  I dropped an email to agl-dev-community but I'm not sure how often that list is reviewed. I have an issue with useradd where it's saying that a static id isn't configured in another layer.  Is there something special I need to do?  Gist is here.15:39
rpcmehttps://gist.github.com/rpcme/0bf012cd125e644dc42e24a81432761ft.github.com/rpcme/0bf012cd125e644dc42e24a81432761f15:39
rpcmehttps://gist.github.com/rpcme/0bf012cd125e644dc42e24a81432761f15:39
*** jbpons has quit IRC15:43
*** kooltux` has quit IRC15:52
*** Newami has joined #automotive15:53
*** mckoan is now known as mckoan|away16:09
*** Newami has quit IRC16:21
rpcmeI matched also what is here - there is some kind of hook adding to files/passwd in meta-agl/meta-agl-profile-core/ and not sure why it's not being picked up16:33
*** rpcme has quit IRC16:36
mvladdl9pf: ^^16:39
*** rpcme has joined #automotive16:55
*** toscalix has joined #automotive17:05
*** rpcme has quit IRC17:30
*** anjumkaiser has joined #automotive17:37
*** rpcme has joined #automotive17:41
*** anjumkaiser has quit IRC17:50
*** anjumkaiser has joined #automotive17:58
*** anjumkaiser has quit IRC18:08
rpcmeI am just at a complete loss on trying to figure this out :)  If I remove the USERADD statements everything in the recipe works fine. Do I need to somehow mark the package as "safe" somewhere?18:27
*** toscalix has quit IRC19:18
*** rpcme has quit IRC19:30
smurraydo, rcpme logged off20:40
smurrayerr, doh20:41
*** rpcme has joined #automotive20:47
rpcmethe webchat keeps logging me off20:47
rpcmeI am here, been watching the irc logs20:48
rpcmeI just built it fine on dunfell again, 1.11 just went live so pushing a new recipe version stub up north in a bit20:49
rpcmesmurray ^^21:02
smurrayrpcme: I believe your issues is running afoul of AGL using the useradd-staticids functionality to pin the ids down21:12
smurrayrpcme: see https://www.yoctoproject.org/docs/3.1/ref-manual/ref-manual.html#ref-classes-useradd21:12
smurrayrpcme: so you potentially need to over-ride meta-agl-profile-core/files/{passwd,group}21:13
smurrayrpcme: the USERADD_GID_TABLES and USERADD_UID_TABLES variables are set in meta-agl/meta-agl-profile-core/conf/include/base-agl.inc to pick up AGL's defaults.  Unfortunately, AFAIK you'll need to supply your own copies of those in your own layer with your additions21:15
smurrayrpcme: it's a bit of a drawback of using useradd-staticids21:15
*** rpcme has quit IRC23:18

Generated by irclog2html.py 2.15.3 by Marius Gedminas - find it at mg.pov.lt!