*** sherbets has joined #automotive | 00:13 | |
*** AlisonChaiken has quit IRC | 00:31 | |
*** AlisonChaiken has joined #automotive | 00:34 | |
*** sherbets has quit IRC | 00:59 | |
*** sherbets has joined #automotive | 01:01 | |
*** AlisonChaiken has quit IRC | 01:08 | |
*** AlisonChaiken has joined #automotive | 01:09 | |
*** sherbets has quit IRC | 01:13 | |
*** AlisonChaiken has quit IRC | 01:14 | |
*** AlisonChaiken has joined #automotive | 01:14 | |
*** tgamblin_ has quit IRC | 05:48 | |
*** tgamblin_ has joined #automotive | 05:50 | |
*** jobol has joined #automotive | 07:20 | |
*** vrubiolo has joined #automotive | 07:31 | |
*** walzert has joined #automotive | 07:33 | |
*** jobol has left #automotive | 07:50 | |
*** leon-anavi has joined #automotive | 08:36 | |
leon-anavi | morning | 08:36 |
---|---|---|
*** toscalix has joined #automotive | 09:15 | |
walzert | is there an way to update the sdk list in xds-server? my problem is, that the file https://mirrors.edge.kernel.org/AGL/release/halibut/latest/intel-corei7-64/deploy/sdk/poky-agl-glibc-x86_64-agl-demo-platform-crosssdk-corei7-64-toolchain-8.0.1.sh is no longer avaivable it is now xxx-corei7-64-toolchain-8.0.5.sh | 10:03 |
*** walzert has quit IRC | 10:04 | |
*** walzert has joined #automotive | 10:05 | |
*** AlisonChaiken has quit IRC | 10:38 | |
*** AlisonChaiken has joined #automotive | 10:39 | |
*** khem has quit IRC | 11:19 | |
*** khem has joined #automotive | 11:20 | |
*** toscalix has quit IRC | 11:27 | |
*** toscalix has joined #automotive | 11:28 | |
*** toscalix has quit IRC | 11:28 | |
*** walzert has quit IRC | 11:48 | |
*** walzert has joined #automotive | 11:52 | |
smurray | waltminer: is the review call on? | 12:02 |
waltminer | yes | 12:07 |
waltminer | started a few minutes late | 12:07 |
*** sherbets has joined #automotive | 12:13 | |
*** sherbets has quit IRC | 12:38 | |
*** sherbets has joined #automotive | 12:38 | |
*** sherbets has quit IRC | 12:49 | |
*** walzert has quit IRC | 13:09 | |
*** walzert has joined #automotive | 13:49 | |
*** walzert has quit IRC | 13:56 | |
*** walzert has joined #automotive | 13:58 | |
*** psnsilva has joined #automotive | 14:37 | |
*** psnsilva has quit IRC | 14:42 | |
*** psnsilva has joined #automotive | 14:42 | |
*** AlisonChaiken has quit IRC | 14:49 | |
*** AlisonChaiken has joined #automotive | 14:49 | |
*** kooltux_ has quit IRC | 14:51 | |
*** mvlad has quit IRC | 14:51 | |
*** kooltux_ has joined #automotive | 14:51 | |
*** mvlad has joined #automotive | 14:52 | |
*** AlisonChaiken has quit IRC | 15:24 | |
*** vrubiolo has quit IRC | 15:55 | |
*** vrubiolo has joined #automotive | 15:55 | |
*** RzR has joined #automotive | 16:20 | |
*** vrubiolo has quit IRC | 16:44 | |
*** sherbets has joined #automotive | 16:59 | |
*** AlisonChaiken has joined #automotive | 17:21 | |
*** psnsilva has quit IRC | 17:43 | |
*** psnsilva has joined #automotive | 17:43 | |
*** sherbets has quit IRC | 17:47 | |
*** walzert has quit IRC | 18:02 | |
*** AlisonChaiken has quit IRC | 18:08 | |
*** AlisonChaiken has joined #automotive | 18:09 | |
*** AlisonChaiken has quit IRC | 18:24 | |
*** sherbets has joined #automotive | 18:38 | |
fury | is there a way to have the .wgt copy a config file to a certain place (/etc/xdg/something) after installation, or does that need to be baked into the image | 18:38 |
fury | i've figured out the two spots where Qt's looking for my settings file, and they are either /home/1001/app-data/myappname/orgname/appname.conf or /etc/xdg/orgname/appname.conf | 18:39 |
dl9pf | Best is separate conf recipe usually. | 18:39 |
fury | i see stuff like "install -m 0644 ${WORKDIR}/presets-CES.conf ${D}${sysconfdir}/xdg/AGL/radio-presets-CES.conf" in the demo hmi recipe | 18:39 |
fury | so i guess that's the way to do it from the image | 18:39 |
dl9pf | For rtc | 18:39 |
dl9pf | For etc | 18:39 |
fury | but if the conf has to be updated as well, there's some separate steps to update that and make sure permissions/smack get fixed back | 18:39 |
fury | if the conf has to be updated after a .wgt reinstall i mean | 18:40 |
dl9pf | Then you need to use the wgt's etc dir? | 18:40 |
fury | yep... how do i get that in the recipe? i can't find any recipes referencing AFM_WORKDIR | 18:41 |
fury | i can fake it knowing the name of the recipe for now, but if i change it i'll forget to change that til it stops working and i remember why :P | 18:42 |
dl9pf | You need to package it into the wgt | 18:42 |
dl9pf | Or separate -conf recipe using etc | 18:43 |
*** sherbets has quit IRC | 18:51 | |
*** sherbets has joined #automotive | 18:52 | |
*** sherbets has quit IRC | 18:56 | |
*** sherbets has joined #automotive | 18:58 | |
smurray | fury: note that w/o hacks somehow, whatever is in /etc will need to be read-only | 19:08 |
fury | good to know. at the moment i don't need to write anything to it... but i guess i should probably install to the home dir instead in case i do later on | 19:09 |
fury | can /home/1001/app-data/stuff be r/w? | 19:09 |
*** sherbets has quit IRC | 19:15 | |
smurray | yes, though it's going to be /home/1001/app-date/<app name>, you won't be able to touch anywhere else due to SMACK labelling | 19:16 |
smurray | iirc, that dir is the cwd of running apps | 19:16 |
smurray | and is pointed at by one of the XDG env variables | 19:16 |
smurray | other thing to note is that you realistically can't install anything during image build into the agl-driver app-data hierarchy, as the labels don't exist until the widgets are installed at boot time | 19:17 |
smurray | so read only stuff that might be replaced by image packaging choices or manually tweaked makes more sense in /etc/xdg imo | 19:19 |
*** sherbets has joined #automotive | 19:19 | |
smurray | if the app wants a r/w copy, perhaps bake in default values and write modifications out in app-data, or use the persistence binding to store them | 19:20 |
fury | ok. sounds good - i'll throw this thing in /etc/xdg for now til i think of a reason the app needs to write to it, then i'll store whatever the app needs to write separately | 19:25 |
fury | thanks! | 19:25 |
smurray | fury: if you look at the radio or alexa voiceagent bindings, they have examples of getting /etc/xdg/AGL.conf (a theoretically shared ini file), or separate /etc/xdg/blah files by using the XDG env variables | 19:29 |
fury | i'm aiming at one of the default locations qtgamepad framework will look for config files...despite me specifying the exact config file to load, it doesn't seem to take effect until the controller is unplugged and replugged, it seems that there's a default config file that it attempts to load before i get the chance to tell it which one to load, and if it isn't there, it just defaults to uncalibrated | 19:32 |
fury | i call setSettingsFile, but there's still something that reads settings before i call that, and it doesn't take effect until the next connection... i dug through qtgamepad and settings code to find it - https://code.woboq.org/qt5/qtgamepad/src/gamepad/qgamepadbackend.cpp.html#97 | 19:34 |
*** sherbets has quit IRC | 19:38 | |
smurray | fury: I'm a bit hazy since it's been a while, I do use QSettings in the radio binding | 19:42 |
smurray | err, sorry, in the app | 19:43 |
fury | i've used it before in a qml app, and had relatively good luck just using it specifying the filename, so i was super confused when that didn't work for hte gamepad settings file | 19:44 |
*** sherbets has joined #automotive | 19:46 | |
smurray | I don't use the specific filename usually | 19:46 |
smurray | if you don't set the path, I would have thought dropping the file into /etc/xdg would work | 19:48 |
*** mranostay has joined #automotive | 20:11 | |
*** AlisonChaiken has joined #automotive | 20:24 | |
*** AlisonChaiken has quit IRC | 20:28 | |
*** AlisonChaiken has joined #automotive | 20:29 | |
*** sherbets has quit IRC | 20:51 | |
*** leon-anavi has quit IRC | 21:48 | |
*** AlisonChaiken has quit IRC | 22:44 | |
*** AlisonChaiken has joined #automotive | 22:44 | |
*** psnsilva has quit IRC | 23:28 |
Generated by irclog2html.py 2.15.3 by Marius Gedminas - find it at mg.pov.lt!