Saturday, 2020-11-14

T42<RealDanct12> @abhishek_0 [@simonschmeisser Thaodan man idk how our innoc …], unfortunately every telegram groups are under their radar02:17
szopinhey guise what's the best host-os?15:53
szopinI know ubuntu has issues with ssl? I know from own experience fedora has issues with selinux with installing things like imagemagick into ubuntu chroot15:54
szopinis there recommended host?15:54
szopinwait... 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/selinux16:03
szopinthat supposed to be three lines16:03
szopinnow it's in the logs at least16:04
vknechtwas just "sudo mount -o remount,ro /sys/fs/selinux" for me on fedora16:04
szopinwish 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 target16:06
szopinyeah, that was weird I assumed my ubu-chroot was broken16:06
szopinbut it's just weird fedora selinux kek16:07
szopinis there an easy way to fixup-mountpoints or there is no sed that translates adb to required thingie and needs manual?16:08
szopinthere's like 30 :D16:08
szopinthere's gotta be a way to ls them in a sed fiendly form?16:20
szopinjust a quick question, all fixmountpoints are not starting /dev/block/mmcblk0p4116:29
szopinbut raher 'block/...../16:29
szopinanyone has experience with that?16:29
szopincan I just cut /de/' or any suggestions?16:30
szopindoes 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 strange16:49
szopinn i just meant changing16:54
szopinscp2 -> /dev/block/mmcblk0p19sec1 -> /dev/block/mmcblk0p13seccfg -> /dev/block/mmcblk0p11spmfw -> /dev/block/mmcblk0p1716:54
szopininto             -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
szopinlike there should be a script that pulls adb shell and seds it into fixmountpoints, but already halfway there16:55
szopinso maybe just leave it for the next explorer16:55
szopinthere's gotta be a way to ls it in a way that is copy pastable16:56
szopinand these devices have absurd amount of mountpoints16:57
szopin47 at least on cosmo16:57
T42<NotKit> szopin, just ignore this16:58
szopinI did last time but hybris-hal building fails at around 6% with no error16:59
szopinjust failed16: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-partlabel16:59
T42<NotKit> -e 's block/bootdevice/by-name disk/by-partlabel ' \ to be precise17:00
szopinhmm now I'm not sure as adb shell just shows (instead of /bootdevice/by-name disk/by-partlabel )17:01
szopinlrwxrwxrwx 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/mmcblk0p3817:01
szopinbut I did try to skip that step last time and it failed miserably17:02
szopin@NotKit do you have a fix_mountpoints file to share by any chance?17:02
szopinI'm halfway there but if it's not crucial then my fedora setup is fcked up elsewhere17:03
szopinI already figured out ubuntu chroot is an issue with fedora selinux, but I guess more is to come17:03
T42<NotKit> I will send in Telegram group17:04
szopinwith 3.4 building on CI it's just about getting kernel to uptodate, sfos is still on April17:05
szopinand there were fixes for suspend and esc and so many things since then17:05
szopinbtw have you tried to build on android kernel? I wonder if sensors would work then17:05
szopinthe linux kernel is weird as it has sim/4g ca[pability but it aslso lacks BT and sensors17:06
szopin@NotKit Thanks!17:06
szopinI wonder if the lid-close that codi uses will work with updated kernel17:07
szopinOh btw, is there a good doc on DBUS SFOS uses for things like silent setup, no wifi, no mobile etc?17:08
szopinI did manage to find some dbus calls in /usr/share but it's all a bit random17:08

Generated by 2.17.1 by Marius Gedminas - find it at!