IRC logs for #automotive for Wednesday, 2020-03-18

*** sherbets has joined #automotive00:13
*** AlisonChaiken has quit IRC00:31
*** AlisonChaiken has joined #automotive00:34
*** sherbets has quit IRC00:59
*** sherbets has joined #automotive01:01
*** AlisonChaiken has quit IRC01:08
*** AlisonChaiken has joined #automotive01:09
*** sherbets has quit IRC01:13
*** AlisonChaiken has quit IRC01:14
*** AlisonChaiken has joined #automotive01:14
*** tgamblin_ has quit IRC05:48
*** tgamblin_ has joined #automotive05:50
*** jobol has joined #automotive07:20
*** vrubiolo has joined #automotive07:31
*** walzert has joined #automotive07:33
*** jobol has left #automotive07:50
*** leon-anavi has joined #automotive08:36
leon-anavimorning08:36
*** toscalix has joined #automotive09:15
walzertis 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.sh10:03
*** walzert has quit IRC10:04
*** walzert has joined #automotive10:05
*** AlisonChaiken has quit IRC10:38
*** AlisonChaiken has joined #automotive10:39
*** khem has quit IRC11:19
*** khem has joined #automotive11:20
*** toscalix has quit IRC11:27
*** toscalix has joined #automotive11:28
*** toscalix has quit IRC11:28
*** walzert has quit IRC11:48
*** walzert has joined #automotive11:52
smurraywaltminer: is the review call on?12:02
waltmineryes12:07
waltminerstarted a few minutes late12:07
*** sherbets has joined #automotive12:13
*** sherbets has quit IRC12:38
*** sherbets has joined #automotive12:38
*** sherbets has quit IRC12:49
*** walzert has quit IRC13:09
*** walzert has joined #automotive13:49
*** walzert has quit IRC13:56
*** walzert has joined #automotive13:58
*** psnsilva has joined #automotive14:37
*** psnsilva has quit IRC14:42
*** psnsilva has joined #automotive14:42
*** AlisonChaiken has quit IRC14:49
*** AlisonChaiken has joined #automotive14:49
*** kooltux_ has quit IRC14:51
*** mvlad has quit IRC14:51
*** kooltux_ has joined #automotive14:51
*** mvlad has joined #automotive14:52
*** AlisonChaiken has quit IRC15:24
*** vrubiolo has quit IRC15:55
*** vrubiolo has joined #automotive15:55
*** RzR has joined #automotive16:20
*** vrubiolo has quit IRC16:44
*** sherbets has joined #automotive16:59
*** AlisonChaiken has joined #automotive17:21
*** psnsilva has quit IRC17:43
*** psnsilva has joined #automotive17:43
*** sherbets has quit IRC17:47
*** walzert has quit IRC18:02
*** AlisonChaiken has quit IRC18:08
*** AlisonChaiken has joined #automotive18:09
*** AlisonChaiken has quit IRC18:24
*** sherbets has joined #automotive18:38
furyis 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 image18:38
furyi'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.conf18:39
dl9pfBest is separate conf recipe usually.18:39
furyi see stuff like "install -m 0644 ${WORKDIR}/presets-CES.conf ${D}${sysconfdir}/xdg/AGL/radio-presets-CES.conf" in the demo hmi recipe18:39
furyso i guess that's the way to do it from the image18:39
dl9pfFor rtc18:39
dl9pfFor etc18:39
furybut if the conf has to be updated as well, there's some separate steps to update that and make sure permissions/smack get fixed back18:39
furyif the conf has to be updated after a .wgt reinstall i mean18:40
dl9pfThen you need to use the wgt's etc dir?18:40
furyyep... how do i get that in the recipe? i can't find any recipes referencing AFM_WORKDIR18:41
furyi 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 :P18:42
dl9pfYou need to package it into the wgt18:42
dl9pfOr separate -conf recipe using etc18:43
*** sherbets has quit IRC18:51
*** sherbets has joined #automotive18:52
*** sherbets has quit IRC18:56
*** sherbets has joined #automotive18:58
smurrayfury: note that w/o hacks somehow, whatever is in /etc will need to be read-only19:08
furygood 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 on19:09
furycan /home/1001/app-data/stuff be r/w?19:09
*** sherbets has quit IRC19:15
smurrayyes, though it's going to be /home/1001/app-date/<app name>, you won't be able to touch anywhere else due to SMACK labelling19:16
smurrayiirc, that dir is the cwd of running apps19:16
smurrayand is pointed at by one of the XDG env variables19:16
smurrayother 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 time19:17
smurrayso read only stuff that might be replaced by image packaging choices or manually tweaked makes more sense in /etc/xdg imo19:19
*** sherbets has joined #automotive19:19
smurrayif 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 them19:20
furyok. 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 separately19:25
furythanks!19:25
smurrayfury: 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 variables19:29
furyi'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 uncalibrated19:32
furyi 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#9719:34
*** sherbets has quit IRC19:38
smurrayfury: I'm a bit hazy since it's been a while, I do use QSettings in the radio binding19:42
smurrayerr, sorry, in the app19:43
furyi'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 file19:44
*** sherbets has joined #automotive19:46
smurrayI don't use the specific filename usually19:46
smurrayif you don't set the path, I would have thought dropping the file into /etc/xdg would work19:48
*** mranostay has joined #automotive20:11
*** AlisonChaiken has joined #automotive20:24
*** AlisonChaiken has quit IRC20:28
*** AlisonChaiken has joined #automotive20:29
*** sherbets has quit IRC20:51
*** leon-anavi has quit IRC21:48
*** AlisonChaiken has quit IRC22:44
*** AlisonChaiken has joined #automotive22:44
*** psnsilva has quit IRC23:28

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