*** Geryon has quit IRC | 05:35 | |
*** leon-anavi has joined #automotive | 06:47 | |
*** jbpons has joined #automotive | 07:03 | |
*** mckoan|away is now known as mckoan | 07:05 | |
*** klaas has quit IRC | 07:21 | |
*** klaas has joined #automotive | 07:25 | |
*** kooltux` has joined #automotive | 07:25 | |
*** vrubiolo has joined #automotive | 07:31 | |
*** _jbpons_ has joined #automotive | 07:36 | |
*** jbpons has quit IRC | 07:38 | |
*** jbpons has joined #automotive | 07:41 | |
*** _jbpons_ has quit IRC | 07:43 | |
*** _jbpons_ has joined #automotive | 08:36 | |
*** jbpons has quit IRC | 08:39 | |
*** jbpons has joined #automotive | 08:51 | |
*** _jbpons_ has quit IRC | 08:52 | |
*** _jbpons_ has joined #automotive | 10:16 | |
*** jbpons has quit IRC | 10:19 | |
*** jbpons has joined #automotive | 10:21 | |
*** _jbpons_ has quit IRC | 10:23 | |
jbpons | Hi 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 |
---|---|---|
mvlad | jbpons: 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 #automotive | 11:27 | |
*** _jbpons_ has joined #automotive | 12:06 | |
*** jbpons has quit IRC | 12:09 | |
*** jbpons has joined #automotive | 12:11 | |
*** _jbpons_ has quit IRC | 12:12 | |
smurray | jbpons: if you have the QtMultimedia approach coded up, I'd suggest debugging what's going on with the plugin further | 12:33 |
jbpons | Yes that's what I'm trying | 12:34 |
jbpons | I added the 'camerabin' plugin but when I started my app, I have this error : | 12:34 |
jbpons | Sep 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/libgstmidi | 12:35 |
jbpons | .so" dev="mmcblk0p2" ino=39546 | 12:35 |
jbpons | Is it a denied access from SMACK ? | 12:36 |
smurray | jbpons: yes. Did you happen to install a rpm by hand? If so, you need to chsmack -a _ all the files that were installed | 12:50 |
mvlad | smurray: I guess there's no way to perserve the perms after installation? | 12:51 |
smurray | mvlad: nope | 12:52 |
smurray | mvlad: the SMACK labels aren't in the rpms to begin with | 12:52 |
mvlad | Well, 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 |
jbpons | smurray: yes I innstalled by hand | 12:56 |
smurray | mvlad: the concept is there are no system apps installed with RPM. In a production system you'd never use RPM to install | 12:57 |
smurray | jbpons: 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 |
jbpons | Ok ! At the end I will rebuild my image | 12:59 |
jbpons | Thank you ! I keep you in touch | 13:00 |
smurray | mvlad: 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 think | 13:00 |
mvlad | smurray: 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 |
smurray | mvlad: patches welcom | 13:01 |
smurray | *welcome | 13:01 |
mvlad | :-) | 13:01 |
jbpons | Little question : why my app version is something like "0.1-db787b4-dirty" ? | 13:29 |
smurray | jbpons: I believe the version code uses "fit revision", so if you're building in a repo with changes, it'll get -dirty | 13:54 |
smurray | jbpons: sorry, git revision | 13:55 |
jbpons | Ok ! | 14:07 |
*** _jbpons_ has joined #automotive | 14:26 | |
*** vrubiolo has quit IRC | 14:28 | |
*** jbpons has quit IRC | 14:28 | |
*** jbpons has joined #automotive | 14:31 | |
*** _jbpons_ has quit IRC | 14:33 | |
*** _jbpons_ has joined #automotive | 15:05 | |
*** jbpons has quit IRC | 15:08 | |
*** jbpons has joined #automotive | 15:11 | |
*** _jbpons_ has quit IRC | 15:13 | |
*** rpcme has joined #automotive | 15:35 | |
rpcme | Hello, 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 |
rpcme | https://gist.github.com/rpcme/0bf012cd125e644dc42e24a81432761ft.github.com/rpcme/0bf012cd125e644dc42e24a81432761f | 15:39 |
rpcme | https://gist.github.com/rpcme/0bf012cd125e644dc42e24a81432761f | 15:39 |
*** jbpons has quit IRC | 15:43 | |
*** kooltux` has quit IRC | 15:52 | |
*** Newami has joined #automotive | 15:53 | |
*** mckoan is now known as mckoan|away | 16:09 | |
*** Newami has quit IRC | 16:21 | |
rpcme | I 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 up | 16:33 |
*** rpcme has quit IRC | 16:36 | |
mvlad | dl9pf: ^^ | 16:39 |
*** rpcme has joined #automotive | 16:55 | |
*** toscalix has joined #automotive | 17:05 | |
*** rpcme has quit IRC | 17:30 | |
*** anjumkaiser has joined #automotive | 17:37 | |
*** rpcme has joined #automotive | 17:41 | |
*** anjumkaiser has quit IRC | 17:50 | |
*** anjumkaiser has joined #automotive | 17:58 | |
*** anjumkaiser has quit IRC | 18:08 | |
rpcme | I 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 IRC | 19:18 | |
*** rpcme has quit IRC | 19:30 | |
smurray | do, rcpme logged off | 20:40 |
smurray | err, doh | 20:41 |
*** rpcme has joined #automotive | 20:47 | |
rpcme | the webchat keeps logging me off | 20:47 |
rpcme | I am here, been watching the irc logs | 20:48 |
rpcme | I just built it fine on dunfell again, 1.11 just went live so pushing a new recipe version stub up north in a bit | 20:49 |
rpcme | smurray ^^ | 21:02 |
smurray | rpcme: I believe your issues is running afoul of AGL using the useradd-staticids functionality to pin the ids down | 21:12 |
smurray | rpcme: see https://www.yoctoproject.org/docs/3.1/ref-manual/ref-manual.html#ref-classes-useradd | 21:12 |
smurray | rpcme: so you potentially need to over-ride meta-agl-profile-core/files/{passwd,group} | 21:13 |
smurray | rpcme: 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 additions | 21:15 |
smurray | rpcme: it's a bit of a drawback of using useradd-staticids | 21:15 |
*** rpcme has quit IRC | 23:18 |
Generated by irclog2html.py 2.15.3 by Marius Gedminas - find it at mg.pov.lt!