**** BEGIN LOGGING AT Thu May 28 03:00:05 2020 May 28 04:47:35 Herrie: the ose build you've triggered might fail, because I'm still rebuilding testing and unstable, so tmpfs is quite full May 28 05:03:21 JaMa: ah ok May 28 05:03:49 Just wanted to have a bit more recent OSE image May 28 05:11:54 JaMa: Seems we don't have separate rsync for OSE builds? Might be good to add as well? May 28 05:14:52 Tofe: YOu might also want to remove this bit: https://github.com/Tofee/meta-webos-ports/blob/69db01df28869c6e0e8b4bcc29c302b67754ef1d/meta-luneos/classes/webos_app_generate_security_files.bbclass#L96 May 28 05:15:00 https://github.com/Tofee/meta-webos-ports/blob/69db01df28869c6e0e8b4bcc29c302b67754ef1d/meta-luneos/classes/webos_app_generate_security_files.bbclass#L96-L100 May 28 05:21:20 Tofe: You shouldn't need: https://github.com/webOS-ports/luna-qml-launcher/blob/tofe/work/files/sysbus/luna-qml-launcher.manifest.json May 28 05:21:24 This should be auto generated May 28 05:22:16 I would suggest to simply remove all here and just leave "all": https://github.com/webOS-ports/luna-qml-launcher/blob/tofe/work/files/sysbus/org.webosports.luna-qml-launcher.perm.json#L3 May 28 05:23:05 Also drop https://github.com/webOS-ports/luna-qml-launcher/blob/tofe/work/files/sysbus/org.webosports.luna-qml-launcher.container.json, I added a .json.in with flexible path which we sed in .bb May 28 05:31:23 Tofe: Just kicked off a new build with your changes and my remarks above taken into account May 28 05:34:45 Webengine is rebuilding but should be fast enough May 28 05:58:25 JaMa: Seems it succeeded :) May 28 06:26:46 Morning! May 28 06:27:02 Herrie: let me read all your remarks May 28 06:29:07 Herrie: for the client-perms of the launcher, we can actually restrict is a lot more; the launcher doesn't register the services for himself anymore, so the only API it needs is applicationManager May 28 06:29:35 I should do the same for WAM, it's not done yet May 28 06:30:41 Just testing my image now, have 2 minor fixes so far May 28 06:31:03 Also seems you might not have included the changes I did for db8, filecache and webos-connman-adapter in your build May 28 06:31:08 I have those in my build now May 28 06:32:18 Herrie: correct May 28 06:33:21 so, I just take your new ls2-5.15-large branch ? May 28 06:33:33 Tofe: No, no.. .Need to push there still May 28 06:33:38 ah ok :p May 28 06:33:39 Give me a few minutes ;) May 28 06:33:53 Take your time, I've not even had my first coffee May 28 06:34:09 I May 28 06:34:22 I'm missing something in my build still May 28 06:34:30 The createLocalAccount doesn't work May 28 06:35:14 I'll also ask the LG guys about LSCallFromApplication purpose; I don't really see a use-case, now that we use LSRegisterApplicationService... May 28 06:35:54 createLocalAccount ? I thought you fixed that yesterday in your build ? or did you just find the cause ? May 28 06:36:26 Yes I fixed it but could be I forgot to push something May 28 06:36:41 Should be easy enough to replicate the fix May 28 06:37:02 com.palm.systemservice not working May 28 06:37:08 I know how to fix that one May 28 06:39:36 yes, that's the luna-service2 patch for legacy services May 28 06:39:53 (I think) May 28 06:44:18 Seems I had changes locally which I didn't commit yet :P May 28 06:45:21 For luna-sysservice May 28 06:49:11 Yup that fixed it May 28 06:49:33 Let me now zip up my meta-webos-ports from builder and push it to my meta-webos-ports branch May 28 06:50:16 Ah wait let me first do a Google C+DAV and email check May 28 06:52:00 Herrie: am I correct saying that web apps can only do LS2 calls through the PalmServiceBridge? May 28 06:54:07 Tofe: Not 100% sure... It seems there are also some JS libraries that will give the LS2 call possibilities? May 28 06:54:18 Not sure they all go through palmservicebridge May 28 06:54:52 I have some issues in logs now due to the " "-> "-" change it seems for the apps. Such as: 2020-05-28T06:50:03.154799Z [135.565000843] user.info service.accounts [] legacy-log Permission denied! com.palm.app.accounts-1009 is not specified in template org.webosports.cdav.account.google writePermissions May 28 06:55:08 And my logs are flooded with 2020-05-28T06:52:39.324747Z [291.734953219] user.warning mojodb-luna [] DB8 DB_KIND_WARNING {"caller":"com.palm.app.email-1008","kind":"com.palm.app.email.prefs:1"} db: permission denied for caller 'caller' on kind 'kind' May 28 06:57:36 Should be easy enough to fix though May 28 07:19:36 For the first one: it's because I haven't yet adapter WAM completely (I just understood how this works yesterday evening); so the rights, with the version you have, are specified in the container, i.e. luna-webappmanager May 28 07:19:50 adapted* May 28 07:20:22 Now that I understand what I'm doing, I should be able to write a more correct version of a WAM patch May 28 07:29:12 Tofe: OK May 28 07:29:32 Let me then just push what I have now May 28 07:32:17 ok May 28 07:34:05 https://github.com/webOS-ports/meta-webos-ports/commit/99f03dc8c0d2b05bb9236fa9f78853b095388875 May 28 07:34:13 This is basically the ones you posted last night + my fixes May 28 07:34:40 I'll build this now and try again May 28 07:34:48 Because I changed files via SCP on qemu May 28 07:34:52 Just want to start clean May 28 07:34:57 But should be it really May 28 07:41:34 change is nearly ready May 28 07:41:51 Well my updated build is done too May 28 07:42:32 https://github.com/Tofee/luna-webappmanager/commit/fc02a9dd955d3dd3ff4929348542aeccd21bfb6b should do it; but I didn't have time to test that one yet, it just builds ok May 28 07:44:03 OK building May 28 07:44:08 Let me use that one instead then May 28 07:44:16 sure May 28 07:44:18 Should solve quite some issues hopefully May 28 07:44:29 I'll prepare switching back to your branch May 28 07:46:08 I've put extensive commit text these days, so that in a couple of months I can understand again what I did :p May 28 07:50:52 building too, should be fast May 28 07:51:36 Note that with our changes, a missing permission in a client app will be quite visible; I do hope it'll handle legacy apps well May 28 07:53:04 Tofe: It's good that we'll see those missing permissions May 28 07:53:08 My build is ready May 28 07:53:12 If you want can also put it on FTP May 28 07:54:54 I'm nearly done too with my build May 28 07:55:08 just rebuild mojo* May 28 07:57:09 bbclass PR merged May 28 07:57:15 Thanks May 28 07:57:45 One less to go ! May 28 07:58:11 I'm at do_rootfs now, when qtwebengine isn't involved my builder is ok :) May 28 07:58:17 Yeah ;) May 28 07:58:27 Well QtWebEngine and QtBase are a pain even on my builder May 28 07:58:40 I think the only one who doesn't complain is JaMa with his new builder LOL May 28 07:59:20 Well, you shouldn't either :p May 28 08:00:48 Anyway, my builder is 5 years old already, it's good to see I can still use it with a bit of patience May 28 08:00:50 Tofe; No it's quick, but nowhere as quick as JaMa's ;) May 28 08:00:58 2020-05-28T07:59:06.517429Z [59.131440135] user.err LunaWebAppManager [] LS_REQ_NAME {"FILE":"transport.c","LINE":1931} Invalid permissions for com.palm.app.calendar May 28 08:00:58 May 28 07:59:06 qemux86-64 user.warn ls-hubd: [] [pmlog] ls-hubd LSHUB_UNK_DISC_MSG {"APP_ID":"(null)"} We received a disconnect message for client: 0x674b80, but couldn't find it in the client map May 28 08:01:28 Same for com.palm.launcher May 28 08:01:34 Herrie: ah, damn May 28 08:01:44 and they have the correct client permissions ? May 28 08:02:24 ah but it's not even a ls2 call, it's the name registering May 28 08:02:45 the role flie is ok ? with -* suffix ? May 28 08:03:00 (flashing now) May 28 08:03:54 Saw that I forgot to fix Tweaks in meta-webos-ports, checking that now May 28 08:06:03 the role is fine fine at least for launcher, so I must have made a stupid mistake May 28 08:06:55 Tofe: https://github.com/webOS-ports/meta-webos-ports/commit/d1e3e202a66af5029b32249509fadaa770274d10 May 28 08:07:50 ok I swapped the appId and the app identifier in the name registering May 28 08:08:02 Easy enough fix ;) May 28 08:08:11 yep May 28 08:08:23 I'll amend the commit May 28 08:08:38 commit will be 0e5614e0c5aef68c5f5d92c3290fd6f131ad490d May 28 08:08:51 pushed May 28 08:20:33 Hi May 28 08:21:03 98% compilation/porting done from 6507 packages May 28 08:21:29 Two times i have tried, compilation of qtbrowser engine is stuck May 28 08:22:00 yesterday night, it stucked at 76% for 3 hours. I closed the process by ctrl c May 28 08:22:29 Today i tried again, 4 hrs resulted only 1% progress. May 28 08:22:37 is this behaviour normal? May 28 08:22:52 BT40: that's a bit long... it's not using the swap ? May 28 08:23:06 it doesn't give any error, just simply stuck. May 28 08:23:10 Swa is active May 28 08:23:19 it uses upto 5.5Gb swap May 28 08:23:30 ah, that's not good actually May 28 08:23:38 strange thing is, cpu usage comes down drastically at that time May 28 08:23:41 swap is slow, apart if you have it on SSD May 28 08:24:03 ram is not fully utilised, only around 2.5gb May 28 08:24:14 1.3 gb remains free May 28 08:24:14 ah ok May 28 08:24:24 shall i try once again? May 28 08:24:32 or need to check logs?? May 28 08:25:05 try once more, and follow it with a top-like program to see what it does May 28 08:25:23 ok will attempt once more May 28 08:25:40 any additional parameters in command which can help in diagnose? May 28 08:26:15 not really, qtwebengine is just a damn huge thing to build May 28 08:26:46 good thing is, when you interrupt the build and start it again, it doesn't start with doing make clean :) May 28 08:26:55 just for knowledge...sstate stands for? server state? sync state? or something different? May 28 08:27:54 JaMa: ^ ? May 28 08:28:11 "Shared" May 28 08:28:43 because if you build another target with same arch, it'll reuse what it can from there May 28 08:30:32 Herrie: user.err LunaWebAppManager [] LS_REQ_NAME {"FILE":"transport.c","LINE":1931} Invalid permissions for com.palm.app.calendar-1003 May 28 08:39:04 Herrie: we're missing the container file for luna-webappmanager May 28 08:39:17 without it, my LSRegisterApplicationService won't work it seems May 28 08:40:56 oops: Attempted to register for a service name that already exists: com.palm.app.calendar-1048 May 28 08:41:08 looks like my names aren't unique enough... May 28 08:42:27 Anyway, gotta leave for a bit May 28 08:43:55 Tofe: Should I add the container in meanwhile? May 28 08:46:00 yes, we need it anyway May 28 08:46:05 OK May 28 08:49:15 I very quickly sketched a fix in 4286aad1f585a302bee876f768f6d2e6f8d053ae for WAM May 28 08:49:19 no guarantee May 28 10:20:32 Hmmz: May 28 10:18:06 qemux86-64 user.err ls-hubd: [] [pmlog] ls-hubd LSHUB_NO_ROLE_FILE {"EXE":"/usr/sbin/LunaWebAppManager"} No role file for executable: "/usr/sbin/LunaWebAppManager" (cmdline: /usr/sbin/LunaWebAppManager --verbose --allow-file-access-from-files) May 28 10:20:37 While I can see it's there.... May 28 10:21:25 Just seems com.palm.webappmanager and org.webosports.webappmanager are not registered at the hub May 28 10:23:26 May 28 10:18:06 qemux86-64 LunaWebAppManager[719]: terminate called after throwing an instance of 'LS::Error' May 28 10:23:26 May 28 10:18:06 qemux86-64 LunaWebAppManager[719]: what(): Invalid permissions for org.webosports.webappmanager May 28 10:23:31 May 28 10:18:06 qemux86-64 systemd[1]: luna-webappmanager.service: Main process exited, code=killed, status=6/ABRT May 28 10:23:31 May 28 10:18:06 qemux86-64 systemd[1]: luna-webappmanager.service: Failed with result 'signal'. May 28 10:23:38 Not sure it's your change or something I broke... May 28 11:10:20 07:58 <+Herrie> JaMa: Seems it succeeded :) - yeah, I've stopped unstable and now will trigger rpi OSE and then restart unstable to finish May 28 11:11:02 07:11 <+Herrie> JaMa: Seems we don't have separate rsync for OSE builds? Might be good to add as well? - it's at the end of regular build, I wanted to keep ose jobs separate and simple May 28 11:13:22 BT40: shared state May 28 11:15:13 BT40: it will be much longer than 4 hours to build qtwebengine on your machine as I mentioned before, the progress bar also isn't accurate, it could be stuck, but as long as htop shows some processes spawned from run.do_compile and they utilize some CPU and RAM you have to wait (especially when knee deep in swap) May 28 12:17:27 Tofe: Reverting last luna-webappmanager commit to see if that solves it, if not I'll dig into the changes I did May 28 12:40:39 Tofe: Seems it's not your webappmanager, so it's something I did. I'll see what I messed up ;) May 28 13:27:21 ok back May 28 13:28:27 Herrie: I'll resume where I left, i.e. I'll push my own wam package into the image and see if it's worse May 28 13:29:10 but my quick fix was really a 2min implementation, without really thinking it through May 28 13:29:58 here it works ! May 28 13:32:39 But the fix it probably too naïve, the app ends up with having several services, one per webengine sub-process; it should probably be only one app service per app, whatever the sub-process May 28 13:33:40 user.warn ls-hubd: [] [pmlog] ls-hubd LSHUB_NO_ROLE_FILE {"APP_ID":"org.webosports.app.messaging"} No role file for application id: "org.webosports.app.messaging" May 28 14:03:31 Tofe: Can you zip and FTP me your luna-service2 folder from image? May 28 14:03:38 Will compare side by side with mine to see what's up May 28 14:04:16 can do; the container for WAM will just be missing May 28 14:04:43 Tofe: That's fine, just want to compare side by with mine to see if there's anything obvious to spot May 28 14:04:54 Because it seems files for WAM are there at my end but simply don't work May 28 14:05:05 Service doesn't get registered on LS2, but nothing in logs it seems May 28 14:05:10 No syntax error or anything May 28 14:05:15 So probably something silly May 28 14:05:48 done May 28 14:06:43 Thnx May 28 14:12:23 For: user.warn ls-hubd: [] [pmlog] ls-hubd LSHUB_NO_ROLE_FILE {"APP_ID":"org.webosports.app.messaging"} No role file for application id: "org.webosports.app.messaging" May 28 14:12:36 Seems I forgot "inherit webos_app" in the .bb ;) May 28 14:12:39 Let me push that as well May 28 14:12:51 Changes are there in general: https://github.com/webOS-ports/org.webosports.messaging/commit/b863861c07cc9c0022edf9ace37b9eed81ede323 May 28 14:13:50 Seems I simply forgot to update the whole recipe May 28 14:15:17 yes, I wasn't worried :) May 28 14:17:26 https://github.com/webOS-ports/meta-webos-ports/commit/c4dae6f29d83cc3246893a2557b2bf33b6c6ba4d May 28 14:17:35 Seems I forgot the inherit for Tweaks as well May 28 14:17:41 Shouldn't do these things early mornings LOL May 28 14:17:47 :p May 28 14:17:57 Too little sleep last night and eldest one kicking me out of bed 5:30 :P May 28 14:18:09 Got used to luxury 6:30-7:00 recently :D May 28 14:30:16 Herrie: for WAM, can you please use https://github.com/Tofee/luna-webappmanager/commit/f8cec8f6370ca2efada4fd26a1881a142bc87388 ? it works as well, and it a bit more refined. I forced-pushed it instead of the other one May 28 14:32:37 I think we're approaching the end May 28 14:33:10 user.warning luna-next [] LS_REQUIRES_SECURITY {"SENDER":"com.palm.applicationManager","RECEIVER":"org.webosports.luna","SERVICE":"com.palm.applicationManager","CATEGORY":"/","METHOD":"focusApplication"} some missing client perm for luna-next May 28 14:33:41 also, now we should be able to remove a lot of permissions from WAM May 28 14:35:15 Tofe: Seems my changes to the bb were the culprit May 28 14:36:36 Tofe: focusApplication doesn't exist in our lunasysmgr I think May 28 14:36:40 It's a OSE SAM call May 28 14:36:53 Ah wait, no that's another one May 28 14:37:11 May 28 12:39:21 qemux86-64 user.err LunaAppManager: [] [pmlog] LS_NO_METH {"METHOD":"getForegroundAppInfo"} Couldn't find method: getForegroundAppInfo May 28 14:37:41 though you're right, luna-next seems to be on the RECEIVER side May 28 14:37:57 so it's LunaAppManager that's missing a permission May 28 14:39:34 Well it has "all" May 28 14:39:37 So it should be fine... May 28 14:39:45 Unless all is not doing what I think it does... May 28 14:40:31 The call is in applications, services, system, devices and settings groups May 28 14:40:38 I would expect all to cover that... May 28 14:40:41 But might not.... May 28 14:41:13 https://github.com/webosose/luna-service2-security-conf/blob/master/files/sysbus/all.groups.json#L3: "Global group provides full access to all services" May 28 14:44:14 looks like it should include it ^^ May 28 14:44:29 but it's a legacy API, so... does it ? May 28 14:44:29 Well description seems to say so.... May 28 14:45:55 Let me first get a working image here LOL May 28 14:46:00 But is this a semantic same ? I don't think it's hardcoded in LS2 at all, so the API has to be included somewhere in this group May 28 14:46:07 s/same/name/ May 28 14:46:12 yep ) May 28 14:46:13 :) May 28 14:59:03 OK BB issue seems solved, still don't fully understand it but well May 28 14:59:20 Seems I at least get desired output now so that's good May 28 15:00:08 Building full image with Messaging, Tweaks & webappmanager fixes May 28 15:00:12 Let's see how it behaves May 28 15:00:15 yay, issue #1: https://github.com/webosose/qml-webos-framework/issues/1 May 28 15:00:49 I guess I'll have to point it to them on skype or they won't even notice :p May 28 15:01:07 Yes May 28 15:03:25 final 5.15 merged, next testing builds will include it May 28 15:04:52 JaMa: Nice, our ACG seems to come along nicely as well May 28 15:04:53 btw LTS is only for commercial licenses, we might need to switch to Qt6 a bit sooner May 28 15:05:18 Herrie: yes, I've killed unstable builds mostly to finish Qt upgrade in separate build before you're ready to merge whole ACG :) May 28 15:05:42 * JaMa wonders if it's time to create meta-qt6 on github already :) May 28 15:06:52 if it all (or the parts we're interested in) can build with CMake only, then it would be nice to start from scratch and leave qmake behind in meta-qt5 May 28 15:08:16 JaMa: meta-qt5/meta-qt6 ? :) May 28 15:08:41 or meta-qt6/meta-qt6 May 28 15:08:48 Tofe: OK I get FirstUse again, local account creation is OK May 28 15:09:00 in that case, better create it early, before some smart-ass does it :) May 28 15:09:00 damn, cannot even type qt6, without writing qt5 first and then fixing a typo :) May 28 15:11:13 Tofe: Seems there's still some issues at my end (can add C+DAV Google & IMAP email, but have some permission issues here and there it seems May 28 15:11:17 Let me check logs May 28 15:12:34 2020-05-28T15:09:27.576867Z [98.189332480] user.warning activitymanager [] LS_REQUIRES_SECURITY {"SERVICE":"org.webosports.service.cdav","CATEGORY":"/","METHOD":"create"} Service security groups don't allow method call. May 28 15:12:42 2020-05-28T15:10:15.256243Z [145.868713446] user.warning service.accounts [] LS_REQUIRES_SECURITY {"SERVICE":"com.palm.imap","CATEGORY":"/","METHOD":"getAccountInfo"} Service security groups don't allow method call. May 28 15:12:49 2020-05-28T15:10:34.239853Z [164.852318643] user.warning mojodb-luna [] LS_REQUIRES_SECURITY {"SERVICE":"org.webosports.app.cdav-1009","CATEGORY":"/","METHOD":"find"} Service security groups don't allow method call. May 28 15:12:55 That should be easy enough to track down May 28 15:13:02 ANyway need to run out for about 30 or so mins May 28 15:14:01 sure May 28 15:45:56 Tofe: That's the first one: https://github.com/webOS-ports/core-apps/commit/8fb5f171a6109cbb5b007155197411d631a0394b May 28 15:51:55 And another one: https://github.com/webOS-ports/org.webosports.service.contacts.carddav/commit/e13315b1a59e3dbe383194c9cd213ec886948dd1 May 28 15:58:53 And another one: https://github.com/webOS-ports/mojomail/commit/7a1f6756c70e8c7657f06fc1a9c8ff2418205f43 May 28 16:06:22 now that we know how to do it, it's quite fast May 28 16:07:59 Yup ;) May 28 16:08:04 Still have some more in logs though ;) May 28 16:16:32 https://github.com/webOS-ports/org.webosports.app.maps/commit/7c3d0a1f41c3e9c3449bc96ef924fd707136c05d May 28 16:18:54 And another one: https://github.com/webOS-ports/core-apps/commit/cabca1993891228bbfea0a4b2dd0b58c4491cb4e May 28 16:23:25 And another one: https://github.com/webOS-ports/org.webosports.app.memos/commit/8076763aad64fcb9c00f88c5dd01a2ad7b2d3eb6 May 28 16:26:48 And another one: https://github.com/webOS-ports/tweaks/commit/ad5edad4d464e4c9cfd05b7fc51aa24ff85253fe May 28 16:30:25 OK I guess that will be it for now, time for dinner etc May 28 16:44:23 :) May 28 16:44:53 If we put all this in meta-webos-ports, we're nearly at an acceptable level for merging... May 28 16:47:46 Tofe: Yeah I need to do some thorough testing clicking around etc May 28 16:53:48 Tofe: I do foresee 1 big problem with our current code: All apps need to have requiredPermissions in their appinfo.json which is feasible for our own apps May 28 16:54:16 But anything legacy Enyo or 3rd party apps would need adjustments May 28 16:54:21 Which is not ideal May 28 16:54:36 Might be good to have a think about that May 28 16:55:55 I.E OK to enforce ACG for com.palm, com.webos, org.webosports and org.webosinternals, but maybe not enforce for others? May 28 16:56:07 That's what I can think of right now May 28 16:58:45 yes, that was my worry too, earlier May 28 17:03:11 Of course: user.warn ls-hubd: [] [pmlog] ls-hubd LSHUB_NO_ROLE_FILE {"APP_ID":"net.minego.macaw"} No role file for application id: "net.minego.macaw" May 28 17:04:36 Developers are now supposed to also ship the manifest, role and perm files ? No shortcut is provided ?... May 28 17:15:44 Is ares-webos-sdk still the same old tool ?... because LG still advises to use ares-package to create an ipk out of a web app source tree May 28 17:19:53 Well you can do the requiredPermissions in appinfo.json May 28 17:20:15 But that's only for shipped apps I guess May 28 17:22:54 Herrie: but if it's not translated to ls2 permissions somehow, how will ls2 discover these permissions ? May 28 17:23:48 If it's just a matter of patching the appinfo.json, that would be quite fine May 28 17:24:20 I'm download webOS TV SDK, I didn't find any source code for that May 28 17:32:17 nope, it doesn't parse/use requiredPermissions May 28 17:36:01 https://github.com/webosose/appinstalld2/blob/master/src/installer/ServiceInstallerUtility.cpp#L379 ok, this one does it May 28 17:36:16 I just should use opkg to install apps :p May 28 17:36:20 +not May 28 17:37:34 What's the correct way of installing an app, using the command line ? May 28 17:38:07 What I understood from LG birdie sometime is that TV business line is quite far behind code wise May 28 17:38:34 EricBlade: Any thoughts? May 28 17:39:00 Appinstalld2 we don't have yet May 28 17:39:22 It requires some specific kernel bits I didn't get to that yet May 28 17:39:35 I think cryptfs or something similar May 28 17:39:35 https://www.webosose.org/docs/reference/ls2-api/com-webos-appinstallservice/ ok May 28 17:40:24 well, anyway, the installer seems to handle legacy apps. We should be fine. May 28 17:40:44 Just we don't have it yet I think May 28 17:40:53 If memory serves me right May 28 17:41:02 correct May 28 17:42:03 https://github.com/webosose/appinstalld2 though I don't see cryptfs listed in the dependencies May 28 17:43:41 https://github.com/webosose/meta-webosose/blob/master/meta-webos/recipes-webos/appinstalld2/appinstalld2.bb doesn't seem too horrible to me May 28 17:44:09 Tofe: I did have this in my notes: "https://webos-ports.org/wiki/LuneOS-webOS-OSE_Migration_Status": This was available in legacy webOS, however not in OWO. OSE has it but requires eCryptfs to be enabled for the encrypted file system. Need to verify we have https://github.com/webosose/meta-webosose/blob/master/meta-webos/recipes-kernel/linux/linux-yocto/crypto.cfg in all our kernels. May 28 17:44:10 ah, RDEPENDS on ecryptfs-utils May 28 17:44:28 I had a quick look at some point but got stuck I think May 28 17:45:09 Probably not terribly complicated but 3.4 kernels might be issue, not sure May 28 17:45:25 let me check mako, can't be worse than this one May 28 17:45:44 Yeah LOL May 28 17:45:49 Or Tenderloin but well May 28 17:48:34 mako has them all, some as modules, but it's here May 28 17:49:34 so this shouldn't be a big problem. But temporarily we could disable this ecryptfs support May 28 17:50:03 and just write to /media/cryptofs as-is May 28 17:50:11 we already provide the folder May 28 17:50:28 According to lkdd they are all 2.5/2.6+ kernel supported flags May 28 17:50:31 So 3.4 shouldn't be an issue May 28 17:50:47 wow, for once our kernels are ahead... May 28 17:52:04 Well I think they probably had it in legacy webOS kernels as well ;) May 28 17:52:13 I can give it a try, without any RDEPENDS, a bit later. But first things first: let's merge our little patches May 28 17:59:54 Rebuilding here with all the minor fixes May 28 18:00:10 I prefer that over just IPK's... Juts to make sure all is OK from start to finish May 28 18:03:40 Tofe: Also this one we need: https://github.com/webOS-ports/preware/commit/3b150174167b145aebf20f3399eae8aac64bb28f May 28 18:09:49 And this one probably: https://github.com/webOS-ports/luna-sysservice/commit/919767f5b196e47fe7e74c620149e85e84b808d0 May 28 18:13:09 right May 28 18:13:56 wait, for sysservice, it's a permission for sleepd, or sysservice ? May 28 18:14:26 Well sleepd has a set method ;) May 28 18:14:32 sysservice not May 28 18:14:37 ok, so, yes :) May 28 18:14:42 Preware had a typo, force pushed fix: https://github.com/webOS-ports/preware/commit/98501be35a5a522d33c5d1e5add7311673c754dd May 28 18:15:42 How do see the merge: do we merge your meta-webos-ports first, and then change the branches one by one when each repo is merged, or the other way around ? May 28 18:16:24 I would be in favor of the first one: we merge what we know works, and then we do the switch in one commit for all the merged repos May 28 18:17:09 In terms of work it's similar I would say ;) May 28 18:17:19 But 1st one is probably less prone for errors May 28 18:18:57 ok May 28 18:19:49 Which I'm pretty sure I would make if I have to redo it again LOL May 28 18:20:33 :p May 28 18:20:49 always good to have a working codebase as a comparison May 28 18:21:09 you already bumped luna-next-cardshell ? May 28 18:21:18 that one is already merged May 28 18:21:28 I think so, let me double check May 28 18:22:26 Nope :P May 28 18:22:55 Now I did: https://github.com/webOS-ports/meta-webos-ports/commit/8f2f4d00a63589faebdccb24430114a489c45418 May 28 18:23:47 At least that one won't cause errors if missed :P May 28 18:23:52 Just solves some warnings LOL May 28 18:25:11 Let's boot her up LOL May 28 18:25:22 Tofe: You tested on actual device or also qemu/ May 28 18:25:23 ? May 28 18:25:28 Because I've only been on qemu May 28 18:25:32 Might be some surpises on devices May 28 18:26:48 just tissot May 28 18:27:24 and almost never qemu (only your build) May 28 18:28:05 Might be good to check Testr and some sensors etc there May 28 18:28:23 I don't have any bad surprise, phone does start - there may be some little fixes there, but nothing urgent May 28 18:28:28 Browser doesn't launch for me May 28 18:28:42 oh, same here May 28 18:28:47 emails don't show up May 28 18:28:54 Probably something db8 or filecache again May 28 18:28:54 No role file for application id: "org.webosports.app.browser" May 28 18:28:59 Just doing some tests now May 28 18:29:18 Will pull logs afterwards May 28 18:29:21 so just a inherit webos_app for browser May 28 18:29:27 Yes seems so May 28 18:29:34 And add the requiredPermissions maybe as well? May 28 18:29:39 ah yes :) May 28 18:30:39 memos works now at least May 28 18:31:22 Maps too May 28 18:32:05 Preware too May 28 18:32:12 Tweaks not yet, C+DAV also still issues it seems May 28 18:32:43 Contacts needs fix too May 28 18:33:02 Calculator, PDF Viewer, File Manager as well May 28 18:33:07 But these I didn't touch yet, so expected May 28 18:33:28 And this WAM that crashes at the first LS2 error ! I have to get rid of that May 28 18:33:43 Yeah that's not good May 28 18:38:16 ah, it's a throw that isn't catched... I don't like throw/catch very much May 28 18:42:13 Then why you use it :P ? Or it was inherited ? May 28 18:42:32 it's the C++ API of LS2 May 28 18:43:20 That's one reason I don't like it: even if your program isn't written that way, a throw impose a catch on the caller May 28 18:55:32 Herrie: ok, you can bump luna-webappmanager to a9dbfcab5f52a136b4f1b19f2ce3439b76e40773 May 28 18:56:34 now the calculator shows up, contacts too, etc; though I guess they are just half-working May 28 19:03:49 Tofe: OK well that beats a crash May 28 19:04:33 What's with Browser? Got that working too or I forgot something somewhere again? May 28 19:06:33 I didn't try yet to fix it May 28 19:07:08 but as you say, requiredPermissions + inherit webos_app should do the trick May 28 19:07:15 I can sketch something May 28 19:15:53 I think I saw qml-launcher issue in log May 28 19:16:19 But if it's required permission + inherit webos_app it's easy May 28 19:17:52 yes, I already did it May 28 19:20:13 I... thought I did May 28 19:22:17 https://github.com/webOS-ports/org.webosports.app.browser/pull/75 + inherit webos_app May 28 19:22:19 ^works May 28 19:36:07 Tofe: Ah great! Will call it a day here and try to head in early :) May 28 19:37:20 yes, me too **** ENDING LOGGING AT Fri May 29 02:59:57 2020