Thursday, 2021-03-18

T42<MrBam> hi, any suggestion how to create folder at creating of new user?12:17
T42<lackingcheesepuffs> @elros34 [@lackingcheesepuffs do not install that patter …], I updated them but still the same result12:17
T42<elros34> check what kind of repos you have in ks file12:28
T42<zinstack625> @MrBam what kind of folder? If it is a user home, it should be created with useradd -m parameter automatically12:33
T42<MrBam> its folder for fingerprint, its like https://os-git.omprussia.ru/sailfishos/user-managerd/-/commit/c7c89fe560bc4d9c8a634c104624a6502d94deeb12:36
T42<MrBam> its cant be hardcoded because folder name must be user id12:37
T42<zinstack625> Sparse isn't an option, perhaps run a script in /etc/profile12:43
T42<elros34> @MrBam maybe oneshot script can be used12:43
T42<MrBam> thx @elros34 its must be easiest way13:09
T42<lackingcheesepuffs> @elros34 [check what kind of repos you have in ks file], https://paste.ubuntu.com/p/TN7nWJwRws/14:51
T42<lackingcheesepuffs> I got these14:51
T42<lackingcheesepuffs> Full ks file14:51
T42<lackingcheesepuffs> https://paste.ubuntu.com/p/NwFMdtHx6y/14:51
malmissing the adaptation repo14:53
malhave you updated dhd submodule?14:53
T42<lackingcheesepuffs> @mal [have you updated dhd submodule?], yes14:54
T42<lackingcheesepuffs> @mal [missing the adaptation repo], Can I know the url of adaptation repo?14:55
T42<lackingcheesepuffs> or how do I add it14:59
malit should be added automatically if you have proper submodule and also proper configs15:00
malyou should have latest dhd submodule and in droid-configs spec "%define community_adaptation 1"15:00
malplease check the dhd submodule15:01
maldhd submodule should point to commit 1f8a77e8eb826a96156b82ce7b748abc6e1a7ee515:01
T42<lackingcheesepuffs> @mal [dhd submodule should point to commit 1f8a77e8e …], https://github.com/SailfishOS-MI-A2/droid-hal-jasmine_sprout15:02
T42<lackingcheesepuffs> it is pointing15:02
T42<zinstack625> Is the telegram reply still awful there on the irc side?15:03
mal@lackingcheesepuff is that aarch64 build?15:03
T42<lackingcheesepuffs> @mal [@lackingcheesepuff is that aarch64 build?], yes15:04
maldid you check the droid-configs spec already?15:07
T42<lackingcheesepuffs> droid-configs builds fine with armv7hl and also has latest dhd15:08
malwhat?15:08
T42<elros34> just run bash -x rpm/dhd/helpers/build_packages.sh --mic and you will see whether this is executed: https://github.com/mer-hybris/droid-hal-device/commit/4a2e645847a0ab0c269c4247dcbcc97a8c36c4e115:09
T42<lackingcheesepuffs> @elros34 [just run bash -x rpm/dhd/helpers/build_package …], seem like it didn't15:16
T42<lackingcheesepuffs> https://paste.ubuntu.com/p/2nP3SCVHPW/15:16
T42<elros34> so what git log returns in dhd submodule?15:18
T42<lackingcheesepuffs> @elros34 [so what git log returns in dhd submodule?], shouko@shouko-VirtualBox:~/hadk/hybris/droid-hal-version-jasmine_sprout/droid-hal-version$ git log15:22
T42<lackingcheesepuffs> commit 8f869d7aa4e7d541f14c63afed71589d45939197 (grafted, HEAD -> master, m/hybris-16.0, github/master)15:22
T42<lackingcheesepuffs> Author: Simonas Leleiva <simonas.leleiva@meramo.co.uk>15:22
T42<lackingcheesepuffs> Date:   Wed Dec 2 18:51:16 2020 +000015:22
T42<lackingcheesepuffs>     Merge pull request #18 from sledges/meta-packages15:22
T42<lackingcheesepuffs>     patterns: ensure old devices also get meta-packages15:22
T42<zinstack625> That makes your dhd old15:24
T42<elros34> wrong directory15:25
T42<lackingcheesepuffs> oh wait15:26
T42<elros34> you don't need to paste it anyway just update submodule because that is probably your issue15:26
T42<zinstack625> I did "cd rpm/dhd; git fetch github; git switch master; git pull; cd -"15:27
T42<zinstack625> Oh, and I commented out lines for gst-droid, makes the build process a tiny bit cleaner15:28
T42<lackingcheesepuffs> @elros34 [you don't need to paste it anyway just update …], It is updated :/15:31
T42<lackingcheesepuffs> https://paste.ubuntu.com/p/7z6vWgTVCc/15:31
T42<lackingcheesepuffs> https://github.com/SailfishOS-MI-A2/droid-hal-jasmine_sprout/commit/41566d00e7f90b2df088003f82dd699df739f1ca15:32
T42<lackingcheesepuffs> I can try deleting the dir and cloning again15:32
T42<lackingcheesepuffs> bruh that did the trick?!15:37
T42<lackingcheesepuffs> build is progressing now15:37
T42<lackingcheesepuffs> Thanks for the help, I hope it builds and boots15:39
T42<lackingcheesepuffs> didn't boot oof16:28
T42<lackingcheesepuffs> I think I am missing some changes required to boot aarch64 builds?16:32
malwhich android base?16:44
T42<lackingcheesepuffs> hybris-16.016:46
T42<lackingcheesepuffs> * journal: 'systemd: Failed to create /user.slice/user-100000.slice/user@100000.service/init.scope control group: Permission denied16:51
T42<lackingcheesepuffs> systemd: Failed to allocate manager object: Permission denied16:51
T42<lackingcheesepuffs> systemd: Failed to create cgroup /user.slice/user-100000.slice/user@100000.service/*: Permission denied'16:51
T42<lackingcheesepuffs> Apply "Remove /dev/cg2_bpf cgroup device" patch: https://github.com/mer-hybris/hybris-patches/commit/54008fe9fc67c13eff6d3d48f78bb268af7883be.16:51
T42<lackingcheesepuffs> is this required for aarch64?16:51
T42<elros34> if you have that kind of errors then then yes16:55
T42<lackingcheesepuffs> well the device isn't booting, how do I proceed to debug?16:56
T42<elros34> usual way, check host dmesg and telnet to device16:57
T42<MrBam> @elros34 [@MrBam maybe oneshot script can be used], i need system:system access right, if i use /etc/oneshot.d/newuser/ its user:user, and chown is denied17:10
mal@lackingcheesepuffs in addition to that cgroup thing, did you do the changes mentioned in faq?17:22
T42<ankaos> hı. `hybris/hybris-boot/Android.mk:75: *** There should be a one and only one device entry for HYBRIS_DATA_PART.` how fix this problem?17:43
T42<elros34> you have duplicated entries for /data and maybe also for /boot in fstab17:47
T42<mintphin> i haven't solved my issue sadly, ddg nor google have been helpful https://paste.ubuntu.com/p/tRb3jFfgdc/17:48
T42<mintphin> wait sorry17:48
T42<mintphin> wrong pastebin17:48
T42<mintphin> https://paste.ubuntu.com/p/5SmhMSZwVY/17:48
T42<mintphin> this is the issue17:48
T42<mintphin> this is the kernel https://github.com/HarukeyUA/android_kernel_xiaomi_laurel_sprout/tree/lineage-17.117:50
T42<ankaos> @elros34 [you have duplicated entries for /data and mayb …], interesting. ı dont see O.o17:50
T42<ankaos> I solved it another way.17:51
T42<ankaos> I'm compiling to my 3rd device.17:51
T42<elros34> @ankaos if you would show more lines then it would be clear what is the issue. I still think there is something wrong in your fstab17:53
T42<ankaos> elros: https://paste.ubuntu.com/p/rgc8xhs6kD/17:54
T42<elros34> you can clearly see double entires: /dev/block/bootdevice/by-name/BOOT /dev/block/platform/155a0000.ufs/by-name/BOOT17:55
T42<ankaos> The source of the problem is one fstab for normal system. there is one fstab for derecovery.17:58
T42<elros34> so you need to remove /boot and /data  entries from recovery fstab or maybe even whole file18:00
T42<ankaos> I deleted that file.18:00
T42<ankaos> I'm afraid of this device.18:01
T42<elros34> make sure you are not missing some partitions after you have removing recovery fstab18:03
T42<ankaos> There is a kernel problem. I will take care of it too.18:10
T42<ankaos> Fwd from ankaos: hı. how fix this problem? https://paste.ubuntu.com/p/tTMrXznrnM/19:11

Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!