2016-07-22 15:10:13 SylvieLorxu kido: You commented to create a new supported-language recipe in the build script. That means we need a new git repository for that, right? Just double-checking 2016-07-22 15:11:04 SylvieLorxu It's probably cleanest at least, otherwise we'll just have more random files in the build system as opposed to one simple location to store that all 2016-07-22 15:11:05 @kido mhhh, you could also use local file:// but this is an ugly solution 2016-07-22 15:11:33 @kido yep, it's a really bad habit to put files in the meta layers if they are not patches or similar 2016-07-22 15:13:09 SylvieLorxu Okay, I'll make a new repository for that on my own account, if all is fine we can just move it to AsteroidOS. I'm unsure about the license though. We did kinda take two of the config files from Sailfish but I very much doubt something as simple as 2016-07-22 15:13:12 SylvieLorxu https://github.com/TheLastProject/meta-asteroid/blob/21115093f06bb21ac8939761817e2cc0dbe3d383/recipes-asteroid/asteroid-launcher/asteroid-launcher/jolla-supported-languages/fr_FR.conf is compyrightable 2016-07-22 15:13:20 @kido https://github.com/AsteroidOS/supported-languages/ 2016-07-22 15:13:21 SylvieLorxu Just not sure what license to set for that recipe/repo then 2016-07-22 15:13:44 SylvieLorxu Oh sure I'll fork that and send a pull request, just as easy :) 2016-07-22 15:13:49 SylvieLorxu Oh 2016-07-22 15:13:54 SylvieLorxu You can't fork an empty repository 2016-07-22 15:13:55 SylvieLorxu lol 2016-07-22 15:14:22 SylvieLorxu And the Pull Request functionality is broken on empty repositories too 2016-07-22 15:14:28 SylvieLorxu Oh okay, got a mail :D 2016-07-22 15:14:49 @kido good question, I suppose that public domain should be ok? 2016-07-22 15:15:50 SylvieLorxu Public domain isn't recognised in all countries, I personally would lean more towards going CC0 as that has a clause to explicitly put things into the public domain when the public domain doesn't exist somewhere 2016-07-22 15:16:13 SylvieLorxu Even though I can't imagine this not being "fair use" in any country 2016-07-22 15:16:19 @kido ok 2016-07-22 15:51:47 SylvieLorxu Okay, I cleaned up https://github.com/AsteroidOS/meta-asteroid/pull/6 a lot, it looks much better now indeed. Didn't test it yet, because there is one obvious issue left anyway: removing the "chown 1000:1000 ${D}/var/lib/environment/ceres/locale.conf # ceres:ceres" line prevents asteroid-settings from being able to write to that file and thus unable to set the translation and I have no clue whatsoever on 2016-07-22 15:51:49 SylvieLorxu how to properly give only asteroid-settings write access to it 2016-07-22 15:52:17 SylvieLorxu Thanks for all the pointers and help so far, I feel I'm learning a lot about AsteroidOS here :) 2016-07-22 15:55:50 SylvieLorxu Naaaaah, I totally didn't copy and paste a build recipe :P 2016-07-22 15:55:53 SylvieLorxu (Dammit, lol) 2016-07-22 15:55:58 @kido sure, it's ok 2016-07-22 15:59:45 @kido SylvieLorxu: http://www.openembedded.org/wiki/Category_talk:FAQ#1._chown_error_during_do_install_process 2016-07-22 16:00:47 @kido and I'm glad you learn new things, there is no other way to discover this than trying to add new features :) 2016-07-22 16:01:23 @kido and once you get the feel of OE you discover it is an *extremely* valuable tool 2016-07-22 16:01:52 @kido and after having tried to code my own embedded build system... I can tell you that OE is freaking fantastic :) 2016-07-22 16:02:31 SylvieLorxu Right now the build system makes me really upset, haha 2016-07-22 16:02:55 SylvieLorxu But with your help I am discovering it has some nice parts 2016-07-22 16:03:00 @kido if you have a specific question just ask, but you will end up understanding how it works 2016-07-22 16:08:30 SylvieLorxu Well, I could do that chown in a fakeroot without trouble, which would work, but it does mean that any app could write to it 2016-07-22 16:08:35 SylvieLorxu Which will work for now 2016-07-22 16:08:42 SylvieLorxu But it does introduce a slight security risk 2016-07-22 16:09:08 SylvieLorxu Preferably we want to have the file as root but just only allow asteroid-settings write access, but how to do that is beyond my knowledge 2016-07-22 16:09:25 @kido mhhh, I don't think it's really critical for now 2016-07-22 16:09:44 SylvieLorxu I'll just use the chown for now and put a # FIXME comment above it 2016-07-22 16:09:49 SylvieLorxu So we can easily find it back later 2016-07-22 16:13:16 @kido I think that android creates a new user for every app and isolates the capabilities of each app/user 2016-07-22 16:14:23 SylvieLorxu That is something that does require testing. It also makes me wonder how we can be sure that asteroid-settings will run under 1000 (ceres) and other apps won't :P 2016-07-22 16:15:34 @kido else, ubuntu touch uses this thing called apparmor and which does process isolation from the kernel 2016-07-22 16:16:22 @kido but migrating asteroid to apparmor would be a huge task and not on top of my list of priority either 2016-07-22 16:20:02 SylvieLorxu Okay, the pull request should be fine now. I'll report back in about 4 hours if the build goes fine :P 2016-07-22 16:21:51 @kido why do you rebuild everything? 2016-07-22 16:22:26 @kido just use bitbake -c cleanall asteroid-settings or whatever recipe has changed and then bitbake asteroid-image will rebuild asteroid-settings and everything that depends on it 2016-07-22 16:23:06 SylvieLorxu I don't always do that, but last time I kept changing files to the point that bitbake claimed asteroid didn't exist and I had to start a clean build. I'm also just worried that I may not test sufficiently well if I don't do a clean build especially because I'm still pretty new to it 2016-07-22 16:24:55 @kido well, you shouldn't be afraid :) 2016-07-22 16:25:39 @kido and in case you *really* want to make a clean build, at least keep your build/downloads/ it will avoid you the pain of re-downloading everything 2016-07-22 16:25:57 @kido just rm tmp-glibc and the sstate cache 2016-07-22 16:26:09 @kido but that's usualy never needed 2016-07-22 20:48:55 SylvieLorxu Hmm, I just finished building, but it seems like recipes-asteroid/supported-language/supported-language_git.bb 2016-07-22 20:49:21 SylvieLorxu Hmm, I just finished building, but it seems like recipes-asteroid/supported-language/supported-language_git.bb didn't get executed. Yet, seeing https://github.com/AsteroidOS/meta-asteroid/blob/master/conf/layer.conf, I'm pretty sure it should be? 2016-07-22 21:01:04 SylvieLorxu supported-languages shows up in "bitbake-layers show-recipes" though 2016-07-22 21:05:44 SylvieLorxu Oh, "bitbake -c cleanall supported-languages" solved that I think 2016-07-22 21:07:55 SylvieLorxu Nope, that didn't fix it 2016-07-22 21:08:50 SylvieLorxu And I don't want to try a million times and keep pushing builds to this device over and over and over >.< 2016-07-22 21:25:51 @kido SylvieLorxu: Does any recipe depends on supported-languages ? 2016-07-22 21:26:27 @kido if no ones depends (and rdepends) on supported-languages it will never get compiled and installed :) 2016-07-22 21:26:32 SylvieLorxu Oh. 2016-07-22 21:26:35 SylvieLorxu Well that explains it 2016-07-22 21:27:01 SylvieLorxu Which package do you think should depend on it? asteroid-launcher perhaps? asteroid-settings in broken without but language support is a "global" thing 2016-07-22 21:28:40 SylvieLorxu Well, "broken" is a big word, There are no languages to select then 2016-07-22 21:36:16 SylvieLorxu asteroid-launcher seems sanest to me, it's basically the user-visible core on the system and language support is very much a thing visible for the end user 2016-07-22 21:36:26 SylvieLorxu But I'll wait to hear from you :) 2016-07-22 22:22:24 SylvieLorxu Actually nvm just did it anyway :P 2016-07-22 22:33:07 SylvieLorxu It works, muahahaha :D 2016-07-22 22:33:17 SylvieLorxu Still, stupid warnings 2016-07-22 22:33:19 SylvieLorxu BUT IT WORKS 2016-07-22 22:35:27 SylvieLorxu https://lut.im/Id1Gx0l9UK/yoIzVGW7sXBKpp6b.jpg :) 2016-07-22 22:35:54 SylvieLorxu Still needs more translations and probably the build system does need some small changes still 2016-07-22 22:36:01 SylvieLorxu But at least it works in its current state