budrz | Hi I'm trying to build Sailfish OS for Google Pixel 3a XL and I'm stuck on section 7.2.1 of the porting guide | 01:30 |
---|---|---|
budrz | Here is the log file when running rpm/dhd/helpers/build_packages.sh --droid-hal: https://gitlab.com/budrzproj/sailfish-log-files/-/blob/main/build-packages-dhd-helpers.log | 01:31 |
budrz | I did run make hybris-boot and make hybris-recovery | 01:32 |
budrz | so I'm not sure why the file is missing | 01:33 |
budrz | should I run make bonito as described here? | 01:34 |
budrz | https://github.com/mer-hybris/hybris-boot | 01:34 |
mal | usually make hybris-hal should be enough, are you sure it built successfully all the way to the end | 01:55 |
mal | make hybris-boot only builds the kernel not everything needed for droid-hal packaging, make hybris-hal builds everything needed | 01:56 |
budrz | let me check | 01:58 |
budrz | here is the kernel build log file: https://gitlab.com/budrzproj/sailfish-log-files/-/blob/main/kernel-build.log | 02:12 |
budrz | there are a couple depmod: WARNING's | 02:13 |
mal | "Skipping build of hybris-updater-scr" | 02:15 |
mal | ipt since HYBRIS_BOOT_PART is not specified | 02:15 |
budrz | I see | 02:18 |
mal | so migth be it can't find a suitable fstab file in device repos, can you check your device repo if it has some fstab file | 02:20 |
budrz | let me check | 02:21 |
mal | https://github.com/LineageOS/android_device_google_bonito/blob/lineage-18.1/fstab.hardware but that doesn't have any boot partition | 02:22 |
budrz | hmm, that's odd | 02:23 |
mal | maybe add one there | 02:23 |
mal | a bit like the userdata there | 02:24 |
mal | but it seems you have also super partition in use which will require some extra things later but not now | 02:24 |
budrz | I see that there's a boot_a and a boot_b on my device instead of a single boot. is that what you mean by super partition? | 02:32 |
mal | no | 02:37 |
mal | super partition mean how those system, vendor and some other partitions are listed in fstab | 02:37 |
budrz | ok | 02:40 |
mal | if you add the boot partition it should be something like this: /dev/block/bootdevice/by-name/boot /boot emmc defaults defaults | 02:40 |
mal | if you add that and run make hybris-hal it should fix things | 02:41 |
mal | you can see if it worked by searching for the error message I mentioned earlier from the build log | 02:42 |
mal | I need to get some sleep now | 02:43 |
budrz | ok I will try it. thanks for your help | 02:44 |
budrz | I also need some sleep | 02:44 |
T42 | <hasajacy> any fix? (re @Marcel: It’s bootlooping and...) | 15:20 |
voidanix[m] | https://paste.opensuse.org/15862496 anybody seen this before? | 17:49 |
voidanix[m] | not sure if mic is failing at e2fsck or at dumpe2fs in the ks file | 17:50 |
mal | are you really building image like that and not the community style image? | 17:52 |
mal | meaning that are you building image with flashable images | 17:52 |
voidanix[m] | yep i am building the sfos X way as this is a sony anyways | 17:53 |
T42 | <elros34> how about adding set -x at beginning of script | 18:22 |
voidanix[m] | will try | 18:32 |
voidanix[m] | no luck with the `set -x` | 18:49 |
voidanix[m] | i wonder if `Warning[10/01 18:46:56] : Can't get url from repo for droid-flashing-tools` has something to do with this all | 18:49 |
T42 | <elros34> no luck: no output or no useful output? | 18:50 |
voidanix[m] | same error as before | 18:52 |
T42 | <elros34> set -x should print additional information, are you sure set -x i in your ks file? | 18:53 |
T42 | <elros34> is in* | 18:53 |
T42 | <elros34> btw do you build 4.4.0.72? Do you have all these repos available? | 18:54 |
voidanix[m] | hmm, strange that it didn't do anything | 18:55 |
voidanix[m] | yes this is 4.4.0.72, targets, toolchain and sdk are updated | 18:55 |
T42 | <elros34> but is set -x really there in ks file? How did you add that? Also I am asking about repos defined in ks file not sdk/toolchain as these are quite irrelevant | 18:56 |
voidanix[m] | i added it at the top of `hybris/droid-configs/kickstart/pack/j8210/hybris` which contains the actual "script" | 19:01 |
voidanix[m] | there is also a `Jolla-@RELEASE@-j8210-@ARCH@.ks` in $ANDROID_ROOT, so i added it in the %pack part | 19:02 |
T42 | <elros34> did you build droid-config after that change? | 19:02 |
voidanix[m] | yep | 19:03 |
Thaodan | voidanix[m]: that's because the package isn't hw-common right now. | 19:08 |
Thaodan | It's not an issue unless you want to flash on windows. | 19:08 |
voidanix[m] | oh i see | 19:11 |
voidanix[m] | btw @elros34, this is the 4th time i run mic and it only now picks up the `set -x` wtf | 19:12 |
voidanix[m] | or at least i think it does: `losetup: /dev/loop12: failed to set up loop device: No such file or directory` | 19:12 |
Thaodan | That sounds like an issue on your host. | 19:13 |
voidanix[m] | interesting that there's only loop0 up until loop7 | 19:15 |
T42 | <elros34> doesn't looks like it do. Maybe there are some leftovers from your previous attempts, that is why you have new error: failed to set up loop device | 19:17 |
voidanix[m] | guess i'll reboot then | 19:19 |
Thaodan | voidanix[m]: check if some logical volumes are stuck | 19:23 |
Thaodan | lvs | 19:23 |
Thaodan | if so do vgchange -a n sailfish | 19:23 |
Thaodan | then the loop devices should be released | 19:24 |
voidanix[m] | will try that next time, retrying to run mic rn | 19:26 |
Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!