T42 | <RealDanct12> @abhishek_0 [@simonschmeisser Thaodan man idk how our innoc …], unfortunately every telegram groups are under their radar | 02:17 |
---|---|---|
szopin | hey guise what's the best host-os? | 15:53 |
szopin | I know ubuntu has issues with ssl? I know from own experience fedora has issues with selinux with installing things like imagemagick into ubuntu chroot | 15:54 |
szopin | is there recommended host? | 15:54 |
szopin | wait... as the fix for fedora was neither obvious (assumed it was in chroot but nope you need to run this in totally non platform or ubu shell and it wasn't in the logs: | 16:03 |
szopin | #!/bin/shmount -o remount,ro /sys/fs/selinuxdpkg -i $1mount -o remount,rw /sys/fs/selinux | 16:03 |
szopin | that supposed to be three lines | 16:03 |
szopin | now it's in the logs at least | 16:04 |
vknecht | was just "sudo mount -o remount,ro /sys/fs/selinux" for me on fedora | 16:04 |
szopin | wish there was a like a REAL DOC that also includes the patches i'm about to need to apply to avoid missing some tool (but who knows if all are needed or maybe just some it's all bit of messy) | 16:06 |
vknecht | (on the host, not in pfsdk not in target/ubuchroot) | 16:06 |
vknecht | *nor in target | 16:06 |
szopin | yeah, that was weird I assumed my ubu-chroot was broken | 16:06 |
szopin | but it's just weird fedora selinux kek | 16:07 |
szopin | is there an easy way to fixup-mountpoints or there is no sed that translates adb to required thingie and needs manual? | 16:08 |
szopin | there's like 30 :D | 16:08 |
szopin | there's gotta be a way to ls them in a sed fiendly form? | 16:20 |
szopin | just a quick question, all fixmountpoints are not starting /dev/block/mmcblk0p41 | 16:29 |
szopin | but raher 'block/...../ | 16:29 |
szopin | anyone has experience with that? | 16:29 |
szopin | can I just cut /de/' or any suggestions? | 16:30 |
szopin | does this look good? -e 's block/DEBIAN_KDE mmcblk0p41 ' \ | 16:43 |
T42 | <elros34> nobody will tell you without seeing your fstab but DEBIAN_KDE looks strange | 16:49 |
szopin | n i just meant changing | 16:54 |
szopin | scp2 -> /dev/block/mmcblk0p19sec1 -> /dev/block/mmcblk0p13seccfg -> /dev/block/mmcblk0p11spmfw -> /dev/block/mmcblk0p17 | 16:54 |
szopin | into -e 's block/md1dsp mmcblk0p16 ' \ -e 's block/md1img mmcblk0p15 ' \ -e 's block/metadata mmcblk0p8 ' \ -e 's block/nvcfg mmcblk0p6 ' \ -e 's block/nvdata mmcblk0p7 ' \ | 16:55 |
szopin | like there should be a script that pulls adb shell and seds it into fixmountpoints, but already halfway there | 16:55 |
szopin | so maybe just leave it for the next explorer | 16:55 |
szopin | there's gotta be a way to ls it in a way that is copy pastable | 16:56 |
szopin | and these devices have absurd amount of mountpoints | 16:57 |
szopin | 47 at least on cosmo | 16:57 |
T42 | <NotKit> szopin, just ignore this | 16:58 |
szopin | ? | 16:58 |
szopin | I did last time but hybris-hal building fails at around 6% with no error | 16:59 |
szopin | just failed | 16:59 |
T42 | <NotKit> it's enough to have userdata (pointing to Linux partition for Cosmo) and for rest of mountpoints, to sed block into disk/by-partlabel | 16:59 |
T42 | <NotKit> -e 's block/bootdevice/by-name disk/by-partlabel ' \ to be precise | 17:00 |
szopin | hmm now I'm not sure as adb shell just shows (instead of /bootdevice/by-name disk/by-partlabel ) | 17:01 |
szopin | lrwxrwxrwx 1 root root 21 2020-11-14 00:25 DEBIAN_KDE -> /dev/block/mmcblk0p41lrwxrwxrwx 1 root root 21 2020-11-14 00:25 EMPTY_RECOVERY_BOOT_2 -> /dev/block/mmcblk0p38 | 17:01 |
szopin | but I did try to skip that step last time and it failed miserably | 17:02 |
szopin | @NotKit do you have a fix_mountpoints file to share by any chance? | 17:02 |
szopin | I'm halfway there but if it's not crucial then my fedora setup is fcked up elsewhere | 17:03 |
szopin | I already figured out ubuntu chroot is an issue with fedora selinux, but I guess more is to come | 17:03 |
T42 | <NotKit> I will send in Telegram group | 17:04 |
szopin | with 3.4 building on CI it's just about getting kernel to uptodate, sfos is still on April | 17:05 |
szopin | and there were fixes for suspend and esc and so many things since then | 17:05 |
szopin | btw have you tried to build on android kernel? I wonder if sensors would work then | 17:05 |
szopin | the linux kernel is weird as it has sim/4g ca[pability but it aslso lacks BT and sensors | 17:06 |
szopin | @NotKit Thanks! | 17:06 |
szopin | I wonder if the lid-close that codi uses will work with updated kernel | 17:07 |
szopin | Oh btw, is there a good doc on DBUS SFOS uses for things like silent setup, no wifi, no mobile etc? | 17:08 |
szopin | I did manage to find some dbus calls in /usr/share but it's all a bit random | 17:08 |
szopin | amazing | 17:15 |
Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!