T42 | <b100dian> mal: I think that if you build hybris-hal without droidmedia, the latter target isn't evaluated anymore, when you actually make droidmedia. I even touched the hybris-boot Android.mk and it didn't build anything (nothing to do). | 00:42 |
---|---|---|
T42 | <b100dian> Getting the targets and listing them in the make command works. Just saying that reports of people not being able to run —gg _may_ be because of something like this. | 00:42 |
mal | not quite sure what you mean | 00:43 |
T42 | <b100dian> Well for the last week I've been just making `hybris-hal` or `hybris-recovery` specifically. Now I started to create the repos for hal, config, and version and went through -d -c -m -g -v build and —gg failed. I went to make droidmedia but "nothing to do" says ninja | 00:47 |
T42 | <b100dian> the droidmedia target is in hybris boot right? droidmedia: $(shell external/droidmedia/detect_build_targets.sh $(PORT_ARCH) $(TARGET_ARCH)) | 00:48 |
T42 | <b100dian> Maybe that is not evaluated.. all the time | 00:49 |
mal | maybe I need to test that, you are sure the environment was properly setup i.e. PORT_ARCH for example | 00:49 |
T42 | <b100dian> Yes, I needn't change that. Not sure about TARGET_ARCH, that looks like coming from the Android mk files | 00:51 |
mal | it's from android build | 00:51 |
mal | but just in case check in the build env "echo $PORT_ARCH" | 00:51 |
T42 | <b100dian> Yes, it is aarch64 | 00:52 |
T42 | <k1gen> I have the same situation with -g that b100dian described | 06:03 |
T42 | <elros34> but why do you even build droidmedia again? You build it once and forget for the next release | 07:47 |
T42 | <k1gen> I don't even know what droidmedia is ¯\_(ツ)_/¯ | 07:51 |
T42 | <elros34> so why do you keeps building it then | 07:52 |
T42 | <elros34> what excatly error you have when running build_packages.sh -g? | 07:54 |
T42 | <k1gen> I'm not home, I'll send exact error when I come back | 08:01 |
*** Danct12 is now known as Guest8635 | 10:11 | |
*** amccarthy is now known as Guest8636 | 10:27 | |
*** amccarthy_ is now known as amccarthy | 10:27 | |
T42 | <k1gen> @elros34 http://ix.io/4rCx | 16:39 |
T42 | <k1gen> mal: I tried to build https://github.com/mlehtima/parse-android-dynparts.git, I have an error: https://vomitb.in/raw/JCk6KvEJuM | 16:45 |
T42 | <k1gen> mal: also, should I define in makefstab_skip_entries only partitions from BoardConfig's AB_OTA_PARTITIONS or BOARD_GOOGLE_DYNAMIC_PARTITIONS_PARTITION_LIST? | 16:53 |
mal | dynamic ones, probably the list I mentioned yesterday | 17:29 |
mal | not sure about that build error | 17:30 |
T42 | <k1gen> @elros34 any clues why parse-android-dynparts doesn't build? | 17:49 |
T42 | <k1gen> here's more log: http://ix.io/4rCR | 17:56 |
T42 | <k1gen> sorry, forgot to recurse submodules. it built fine with -b hybris/mw/parse-android-dynparts with manual cloning instead of --mw=https://github.com/mlehtima/parse-android-dynparts.git | 17:59 |
T42 | <k1gen> mal: is it safe to copy contents of your systemd mount units for dynparts my device has? | 18:26 |
T42 | <k1gen> stuff like What=/dev/mapper/dynpart-system_ext_a, shouldn't it be unique? if yes - where do I get it? | 18:29 |
T42 | <k1gen> also, do I have to add in _a in systemd mount units? | 18:35 |
piggz | mal: do you know where repomd-pattern-builder is? https://build.sailfishos.org/project/show/nemo:devel:hw:pine:dontbeevil:pinephonepro# | 19:04 |
T42 | <k1gen> mal: what does sda10 represent in your dmsetup.sh? | 19:23 |
piggz | mal: found issue | 19:38 |
T42 | <b100dian> mal: yesterday droidmedia build was PBKAC, I am building Android bits on host shell and didn't have PORT_ARCH there, and of course I tested in PlatformSDK$ when you asked. | 20:00 |
T42 | <k1gen> damn, I guess mal is really needed in this chat when he's offline :D | 20:02 |
T42 | <parmjotsinghrobot> 5 in 7 of the last messages have mal in them | 20:03 |
T42 | <b100dian> he'll pick it up later. I had a 'follow-up' :) | 20:04 |
T42 | <b100dian> @k1gen still have problems with droidmedia? | 20:04 |
T42 | <k1gen> @b100dian yeah, here's log of rpm/dhd/helpers/build_packages.sh -g: http://ix.io/4rCx | 20:07 |
T42 | <b100dian> Unfortunately is not the problem I "had". The 'More than one file on a line' seem to reference droid config files :scratches-head: | 20:11 |
T42 | <elros34> its issue related to wrong droid-hal-device submodule | 20:13 |
T42 | <k1gen> I think in dmsetup.sh there should be dmsetup create --concise "$(/usr/bin/parse-android-dynparts /dev/<my android super partition block device, defined in fixup-mountpoints>)". am I right? | 20:13 |
T42 | <k1gen> @elros34 there's no *hal* in this log, that's why I asked. how do I fix it then? | 20:15 |
T42 | <elros34> revert what you did before rebuilding droidmedia.. but seriously just search in channel logs its, really there or follow recommended revisions from hadk-hot. I assume you already had correct version previously | 20:16 |
T42 | <k1gen> "revert what you did before rebuilding droidmedia" that was literally a week ago | 20:18 |
T42 | <k1gen> also, I already use droidmedia-0.20220929.0, recommended in hadk-hot | 20:19 |
T42 | <k1gen> oh, you mean dhd. how do I revert repo, already populated with my device configs to 960d6af? | 20:21 |
T42 | <elros34> git checkout | 20:23 |
T42 | <k1gen> and no local changes will be deleted? | 20:25 |
T42 | <elros34> you do not make local changes in submodules | 20:26 |
T42 | <elros34> at least you shouldnt | 20:26 |
T42 | <k1gen> well I deleted kf5bluezqt-bluez4 from helpers/build_packages.sh | 20:28 |
T42 | <elros34> minor change, you can always git stash and git stash pop | 20:33 |
T42 | <k1gen> I reverted dhd & dhc to versions recommended in hadk-hot, same error: http://ix.io/4rDn | 20:33 |
T42 | <elros34> yeah some droidmedia leftovers, make sure you remove anything droidmedia related from mw/ or maybe some other places too | 20:35 |
T42 | <elros34> anyway there is still no point building droidmedia again your previousl rpms were removed | 20:37 |
T42 | <k1gen> droidmedia built successfully after rm -rf hybris/mw/droidmedia-localbuild | 20:37 |
T42 | <k1gen> I know I shouldn't reply because of irc, but I want to come back to dynparts. also, thanks for helping with droidmedia (re @k1gen: I think in dmsetup.s...) | 20:38 |
T42 | <elros34> whole instruction is for dynamic partitions so yes its about that block device | 20:40 |
T42 | <k1gen> ok, and what should I rebuild to get these changes to my device? | 20:41 |
T42 | <k1gen> build_packages.sh -d -g? | 20:41 |
T42 | <elros34> think what do you change? | 20:41 |
T42 | <k1gen> *-i instead of -g | 20:41 |
T42 | <elros34> which package do you modify? then rebuild that one | 20:42 |
T42 | <k1gen> -c to rebuild droid-configs, then -i to pack rootfs, right? | 20:43 |
mal | @k1gen that sda10 is the super partition | 20:44 |
T42 | <k1gen> got this already, thanks :) | 20:45 |
mal | ok, good | 20:45 |
T42 | <k1gen> glad you're back online | 20:45 |
mal | do you have some open questions? | 20:46 |
T42 | <k1gen> do I have to add in _a in systemd mount units? | 20:51 |
mal | what do you mean? to name of service or somewhere inside? | 20:52 |
T42 | <k1gen> for example What=/dev/mapper/dynpart-system_ext_a in system_ext.mount | 20:52 |
T42 | <k1gen> also, why is system.mount differents than others? Type=none and Options=bind instead of fstab mount args | 20:53 |
mal | you can see what you need if you run the command from dmsetup.sh manually i.e. dmsetup create --concise "$(/usr/bin/parse-android-dynparts /dev/sda10)" and then check what appears in /dev/mapper/ | 20:53 |
mal | those mount services should be the same in most cases unless you need to remove the _a, run the command (with correct device node of course) and then check what appears in /dev/mapper/ | 20:54 |
mal | those Type=none Options=bind will be the same always | 20:55 |
T42 | <k1gen> ok, got it. what's the best way to use new rootfs? | 20:57 |
T42 | <k1gen> delete /data/.stowaways/sailfisos, then create it, unpack tar.gz? | 20:57 |
mal | that is one way, but for testing you can just copy the file manually without rebuilding rootfs | 20:58 |
mal | of course remember to add any working changes to droid-configs regularly so you won't forget things | 20:58 |
T42 | <k1gen> alright | 20:59 |
T42 | <k1gen> is there any way to turn off the display over ssh? | 21:02 |
mal | depends on how far the boot is | 21:07 |
T42 | <k1gen> well you have my latest journalctl :) | 21:08 |
T42 | <k1gen> http://ix.io/4rwR | 21:08 |
mal | I think you should now figure out those mounts and then we can look into other issues | 21:16 |
T42 | <k1gen> yeah, I agree | 21:17 |
T42 | <k1gen> mal: new journal: http://ix.io/4rDK | 21:51 |
T42 | <k1gen> also, there's no parse-android-dynparts on device somehow | 21:52 |
T42 | <k1gen> can I copy the binary to device over ssh? where is it on the host? | 21:56 |
kcroot | Hello All | 21:59 |
kcroot | can someone have sfos image for Nexus 5X ? | 22:00 |
mal | @k1gen you can copy the rpm from $ANDROID_ROOT/droid-local-repo/$DEVICE and then install it on device using rpm -i filename.rpm | 22:05 |
T42 | <k1gen> thanks, I'll write back | 22:06 |
T42 | <k1gen> did you read the journalctl output? | 22:06 |
T42 | <k1gen> here's output after dmsetup create --concise "$(/usr/bin/parse-android-dynparts /dev/sda14)": https://vomitb.in/raw/pTARU9kmap | 22:10 |
mal | ok, so you don't have odm there so either it doesn't exist at all or it's normal partition, in any case from my example skip the odm from mount services and from the droid-hal spec skip line | 22:12 |
T42 | <k1gen> already. odm didn't exist even in lineage-18.1 | 22:12 |
T42 | <k1gen> so, are we done with dynparts? | 22:13 |
T42 | <k1gen> mal: ? | 22:26 |
T42 | <k1gen> there's only control in /dev/mapper until I manually run dmsetup create --concise "$(/usr/bin/parse-android-dynparts /dev/sda14)", weird | 22:35 |
T42 | <k1gen> goodnight, I'll come back in the morning :) | 22:42 |
T42 | <b100dian> @DennisSwe I think you can harvest info from https://gitlab.com/sailfishos-porters-ci/bullhead-ci/-/pipelines Seems old and probably unmaintained. | 22:43 |
mal | @k1gen some devices don't have odm, it's fine, the dmsetup is run by the script I linked yesterday | 22:49 |
mal | @k1gen are you sure you enabled the dmsetup.service and have also the dmsetup.sh in correct place (with executable bit set just in case) | 22:51 |
T42 | <k1gen> mal: will you be online in ~8-9 hours? I can't check it now, but thanks for suggesting | 22:52 |
Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!