| T42 | <the_hiktor> mal: can you tell me if im doing it right ? if yes what are those nonexistent files ? | 08:55 |
|---|---|---|
| T42 | <the_hiktor> https://paste.opensuse.org/pastes/a0517854450f | 08:55 |
| mal | what are you trying to do? | 11:05 |
| T42 | <the_hiktor> droid-hal-init fails to start | 12:33 |
| T42 | <the_hiktor> Tried masking it | 12:33 |
| T42 | <the_hiktor> Then strace | 12:33 |
| T42 | <the_hiktor> Idk if I'm doing it right | 12:34 |
| T42 | <the_hiktor> It was bootlooping so I enabled selinux | 12:34 |
| mal | that is not how you run it manually | 12:39 |
| FireFly | you'll probably want to see what the droid-hal-init.service unit runs and run that with strace.. currently you'd be getting an strace of what systmectl is doing, which isn't too interesting | 12:46 |
| T42 | <the_hiktor> this ? https://paste.opensuse.org/pastes/9989b1e7c333 | 13:21 |
| mal | no, you should run in terminal the commands that are run in /usr/bin/droid/droid-hal-startup.sh except the last one which then should be "strace -f -s2048 /sbin/droid-hal-init &> dhi.log" and then all the output goes to that dhi.log file and then you can check it | 13:29 |
| T42 | <the_hiktor> this is what i see. https://paste.opensuse.org/pastes/fa2e8fea0335 | 13:45 |
| mal | are the partitions correct mounted, meaning /system and others | 13:49 |
| T42 | <the_hiktor> https://paste.opensuse.org/pastes/dc18f289edbb | 13:50 |
| mal | so no | 13:50 |
| mal | I thought you fixed the mounts already? | 13:52 |
| T42 | <the_hiktor> me too | 13:52 |
| mal | did you do a new image build? maybe you forgot something from droid-configs repos | 13:52 |
| mal | *repo | 13:52 |
| T42 | <the_hiktor> no checked configs many times | 13:53 |
| T42 | <the_hiktor> i suspected that nothing mounts but dont know what to do | 13:53 |
| T42 | <the_hiktor> dmsetup.sh runs at boot | 13:54 |
| T42 | <the_hiktor> symlinks are fine | 13:54 |
| T42 | <the_hiktor> idk what else | 13:54 |
| T42 | <the_hiktor> it was bootlooping before so i enabled selinux | 13:54 |
| T42 | <the_hiktor> if that helps | 13:55 |
| mal | this https://github.com/GloboPatro/droid-config-surya/tree/master is missing all the changes from sparse folder so can't check if everything is ok | 13:59 |
| T42 | <the_hiktor> yeah i didnt push my changes | 13:59 |
| mal | did you copy the selinux files as instructed? | 13:59 |
| mal | and not symlink | 13:59 |
| T42 | <the_hiktor> no | 14:00 |
| mal | you need to do that | 14:00 |
| T42 | <elros34> also start using journalctl instead random strace https://sailfishos.wiki/books/hardware/page/hadk-hot#bkmrk-2022.07.31%3A-generati | 14:00 |
| mal | https://github.com/mer-hybris/hadk-faq#hybris-17-1 this mentions the selinux config changes | 14:00 |
| mal | there are two symlinks in the subfolders of sparse/etc/selinux folder which need to be copied from android side, from /vendor | 14:02 |
| T42 | <the_hiktor> those ? "vendor_hwservice_contexts" "vndservice_contexts" | 14:06 |
| mal | yes | 14:07 |
| mal | note that when copying make sure the filename of the copies if the symlink name i.e. copy file /vendor/etc/selinux/vendor_file_contexts to sparse/etc/selinux/minimum/contexts/files/file_contexts in config repo | 14:09 |
| mal | @the_hiktor if patterns in your github are up to date then you are missing the "Requires: parse-android-dynparts" from there | 14:24 |
| mal | here is an example what is needed in your patterns https://github.com/VerdandiTeam/droid-config-miami/blob/master/patterns/patterns-sailfish-device-adaptation-miami.inc#L24 | 14:24 |
| T42 | <the_hiktor> 🤦🏼♂️ i think i have to rest sometime soon | 14:31 |
| T42 | <the_hiktor> yea thats one missing | 14:32 |
| T42 | <the_hiktor> should i copy selinux files or test first ? | 14:32 |
| mal | you can copy if it's clear that the files are correct and find the target files | 14:33 |
| T42 | <the_hiktor> patterns was missing that line | 14:34 |
| Mister_Magister | mal using MY sources as an example? What a turn tables :D | 14:41 |
| mal | Mister_Magister: I don't use dynamic partitions on my ports | 14:45 |
| Mister_Magister | you gotta appreciate the comedy :D | 14:45 |
| T42 | <elros34> mal: eee you do. its even in hadk-hot as example:) | 15:02 |
| mal | you mean the old fp3 changes? | 15:29 |
| T42 | <elros34> fp4 https://github.com/mlehtima/droid-config-fp4/blob/devel/sparse/usr/lib/systemd/system/vendor.mount | 15:31 |
| mal | some ancient devel branch | 15:31 |
| mal | which I used until I moved to packaged droid-system before the first release | 15:32 |
| T42 | <elros34> right I didn't even notice | 15:32 |
| *** xmn_ is now known as xmn | 17:14 | |
Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!