Saturday, 2026-07-18

T42<elros34> if fpr some reason you choose to build lvm image then command is wrong. Look at build_packages.sh script00:50
sharksmal asked me to build an lvm image00:51
sharksOkay, 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
sharksOkay 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 place01:17
sharksnot 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=code01:29
sharksYep, I believe it's all the stuff in the `boot` directory, I just don't know where I'm supposed to get it from01:30
T42<elros34> what do you mean it's first search result, its in submodule01:31
sharksWell then that exists in my source tree at $ANDROID_ROOT/hybris/droid-configs/droid-configs-device/sparse/boot/flash.sh01:33
sharksSo 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 salt01:35
sharksTo 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 asked01:37
sharksYou 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 confusion01:37
T42<elros34> search for flash-on-windows.bat  in mer-hybris repo01:39
T42<elros34> you can see it's in sparse01:40
sharksYep, just spotted that01:40
sharksOkay, thanks elros, I'll add the boot directory to sparse and see if that helps.01:40
*** n2klb_ is now known as n2klb01:57
sharksNope, that didn't fix it02:02
sharksScrew 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
malyou should just remove the flash file stuff from the pack kickstart https://github.com/mlehtima/droid-config-fp5/blob/master/kickstart/pack/fp5/hybris#L10902:16
malif that was the issue02:16
maland you can define the size of the root partition, I use 10 GB on fairphones02:17
sharksSorry, I had to step out for half an hour02:43
sharksI 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 end02:44
maldid you rebuild config packages first with build_packages.sh -c?02:52
malI mean if you do the change I mentioned02:53
sharksUmm02:53
sharksno because I just changed the *.ks file I'm feeding into `mic`02:54
sharksMaybe 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
sharksNevermind, mic failed again so I'm doing something wrong.02:57
sharksI 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 first02:58
sharksMaybe I can run them manually in the output directory02:59
maldid you setup boot-img package already?03:15
sharksThis one? https://build.sailfishos.org/package/show/nemo:devel:hw:sony:murray/droid-hal-img-boot-sony-xqcc7203:16
malyes03:17
sharksAnd 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 repo03:17
sharksOkay, 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 telnet03:24

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