| T42 | <elros34> if fpr some reason you choose to build lvm image then command is wrong. Look at build_packages.sh script | 00:50 |
|---|---|---|
| sharks | mal asked me to build an lvm image | 00:51 |
| sharks | Okay, thanks @elros34, I think I've spotted what you meant. There are two possible mic commands and the one for an lvm image is `mic create loop`, not `mic create fs` | 00:58 |
| sharks | Okay that got me further but I'm still doing something wrong, "cannot access flash.*': No such file or directory" | 01:13 |
| T42 | <elros34> search for flash.* in droid repos for some lvm based device. Maybe it expect flashing script in some place | 01:17 |
| sharks | not in mer-hybris/droid-config-sony-murray, but maybe I can extract them from the official 10 IV zip from Jolla's website. Just don't know where to put them - are they supposed to be in droid-config somewhere? | 01:20 |
| T42 | <elros34> https://github.com/search?q=org%3Amer-hybris%20flash.sh&type=code | 01:29 |
| sharks | Yep, I believe it's all the stuff in the `boot` directory, I just don't know where I'm supposed to get it from | 01:30 |
| T42 | <elros34> what do you mean it's first search result, its in submodule | 01:31 |
| sharks | Well then that exists in my source tree at $ANDROID_ROOT/hybris/droid-configs/droid-configs-device/sparse/boot/flash.sh | 01:33 |
| sharks | So why can't `mic` find it? What's it want me to do that I haven't done? | 01:34 |
| T42 | <elros34> second search entry shows it's supposed to be in out-of-image-files.files (https://github.com/mer-hybris/droid-config-sony-seine/blob/e47c164db8cdf08f69bae34f0145204265fbe5c8/out-of-image-files.files#L3). I ahve never se reason to try lvm build so take it with grain of salt | 01:35 |
| sharks | To be honest I'm not sure why an LVM build is a good idea either, you'll just end up with the problem everyone had when upgrading to 5.1 that there wasn't enough space on the partition, but anyway I was asked to do it by those smarter than me so I am trying to do as I was asked | 01:37 |
| sharks | You are right I don't have the out-of-image-files.files, but that lists eg. flash-on-windows.bat which doesn't exist in my sources locally, only adding to my confusion | 01:37 |
| T42 | <elros34> search for flash-on-windows.bat in mer-hybris repo | 01:39 |
| T42 | <elros34> you can see it's in sparse | 01:40 |
| sharks | Yep, just spotted that | 01:40 |
| sharks | Okay, thanks elros, I'll add the boot directory to sparse and see if that helps. | 01:40 |
| *** n2klb_ is now known as n2klb | 01:57 | |
| sharks | Nope, that didn't fix it | 02:02 |
| sharks | Screw it, until someone who knows more about LVM images can tell me what I'm doing wrong, I'll just comment out the bits about the flash files in the .ks file. | 02:04 |
| mal | you should just remove the flash file stuff from the pack kickstart https://github.com/mlehtima/droid-config-fp5/blob/master/kickstart/pack/fp5/hybris#L109 | 02:16 |
| mal | if that was the issue | 02:16 |
| mal | and you can define the size of the root partition, I use 10 GB on fairphones | 02:17 |
| sharks | Sorry, I had to step out for half an hour | 02:43 |
| sharks | I have removed the flash file stuff from the kickstart, I'll rerun the mic command and see if I can get an image to pop out the other end | 02:44 |
| mal | did you rebuild config packages first with build_packages.sh -c? | 02:52 |
| mal | I mean if you do the change I mentioned | 02:53 |
| sharks | Umm | 02:53 |
| sharks | no because I just changed the *.ks file I'm feeding into `mic` | 02:54 |
| sharks | Maybe that's the wrong thing to do but I don't even know if this LVM image is going to successfully go together and boot yet. If it works I'll go back and update droid-configs - but then if I trigger services on OBS, it should rebuild that, right? I don't have to run `build_packages.sh -c` locally anymore? | 02:55 |
| sharks | Nevermind, mic failed again so I'm doing something wrong. | 02:57 |
| sharks | I wish there was a way to just test these last 15 lines of the *.ks script without having to wait for mic to organise all the packages and build the rootfs and everything first | 02:58 |
| sharks | Maybe I can run them manually in the output directory | 02:59 |
| mal | did you setup boot-img package already? | 03:15 |
| sharks | This one? https://build.sailfishos.org/package/show/nemo:devel:hw:sony:murray/droid-hal-img-boot-sony-xqcc72 | 03:16 |
| mal | yes | 03:17 |
| sharks | And I also ran build-packages -b /path/to/droid-hal-img-boot-sony-xqcc72 though as I say my understanding is that this *.ks file is supposed to pull packages from OBS not from local repo | 03:17 |
| sharks | Okay, removing the line `chmod 755 flash.*` and removing "flash.*" from the FILES variable gave me an image. But I'm not getting gui anymore, can only telnet | 03:24 |
Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!