T42 | <edp_17> @elros34 : Massive help to you (again). 😄 Now all lost functionality is back and everything works on my latest 3.3 build. However I need to manually install the .rpms for the bluetooth. I don't understand why those packages were not included into the build. | 06:24 |
---|---|---|
T42 | <edp_17> How can I automatically include packages (programs) into the build? (I have installed sfos where the storeman was installed by default and I'd like to do the same.) Is it enough if I install them in the sdk (sb2 -t $VENDOR-$DEVICE-$PORT_ARCH -m sdk-install -R zypper install <package name>)? | 06:25 |
r0kk3rz | that just installs them to the sb2 target | 07:41 |
r0kk3rz | you need to add them to your device patterns | 07:41 |
r0kk3rz | dont include storeman though | 07:41 |
T42 | <adampigg> @r0kk3rz [dont include storeman though], why? | 09:16 |
r0kk3rz | because its bloat you dont need | 09:19 |
piggz | not always true .... pinephone needs storeman included because of gecko faults, so needs a convenient way to installa browser | 09:20 |
piggz | I also advocate bundling galaxy-attack-hd :D | 09:20 |
T42 | <edp_17> @r0kk3rz [you need to add them to your device patterns], How? Can you let me know an example, please? @adampigg: As you have added storeman into your pp image, you may let me know the correct way? 😁 Thanks both. | 09:29 |
r0kk3rz | you know the pattern files? | 09:32 |
T42 | <adampigg> https://gitlab.com/sailfishos-porters-ci/dont_be_evil-ci/-/blob/master/pinephone-1.1/Jolla-@RELEASE@-pinephone-1.1-@ARCH@.ks#L131 | 09:33 |
T42 | <edp_17> rokk3rz: Yes, I know that and I defined some packages already but I don't know how to include a package from the local repo. | 09:34 |
r0kk3rz | you dont | 09:35 |
T42 | <edp_17> @adampigg: Thanks. This example is pulling in the package from openrepos. I'd like to include some packages from the droid-local-repo. | 09:35 |
r0kk3rz | you build the packages on obs | 09:35 |
T42 | <edp_17> r0kk3rz: Perhaps, you are right. For this port I didn't build packages on obs (yet) | 09:36 |
r0kk3rz | thats ok, your ks will already have your local repo then | 09:38 |
r0kk3rz | so just add a line to the pattern | 09:38 |
T42 | <edp_17> r0kk3rz: I just did. I'll build a new image and will see whether they are there. | 09:39 |
T42 | <edp_17> I'd like to install automatically this package: https://build.merproject.org/package/binaries/home:elros34:sailfish-devel/mousetracker?repository=sailfishos_3.3.0.16 | 09:41 |
mal | r0kk3rz: I think better than patterns might be add the apps to .ks manually? | 09:45 |
mal | of course bluetooth stuff should go to patterns but any apps in my opinion should not be in patterns | 09:45 |
r0kk3rz | sure | 09:47 |
r0kk3rz | or dont install apps | 09:47 |
r0kk3rz | putting apps in patterns is hilariously bad idea | 09:48 |
piggz | sure...on PP its temporary until gecko is fixed | 09:49 |
T42 | <edp_17> Okay, with pattern I can add the bluetooth stuff and the way Adam showed me I can install storeman. How can I install pachmanager and mousetracker where I only have the .rpm files? | 09:49 |
piggz | why dont you just leave that to users? it is bad practice, on only tmeporary due to PP limitations that I do it, you shouldnt have such limitations | 09:50 |
T42 | <edp_17> What I'd like to achive here is to get the S-pen working on a build right out of the box. Without the need to install any packages or other black magic. 😄 | 09:51 |
piggz | you can add repos that are on openrepos to your kickstart, and install from there | 09:51 |
T42 | <edp_17> And that s-pen requires pachmanager and mousetracker installed. | 09:51 |
r0kk3rz | sounds like a hack | 09:53 |
T42 | <edp_17> Yeah. 😄 (And this only requires for this port.) | 09:57 |
T42 | <elros34> @edp_17 add this repo same as you have glibc repo added: http://repo.merproject.org/obs/home:/elros34:/sailfishapps/sailfishos_3.3.0.16/. It have mousetracker, storeman and patchamanger 2. | 10:05 |
T42 | <edp_17> @elros34: Cool! Thanks! I wanted to ask you to upload your mousetracker into openrepos there I could install it from there, but this way is better! | 10:11 |
T42 | <edp_17> I have added my bits into 'Jolla-@RELEASE@-@DEVICE-@ARCH@.ks' file to install some packages from openrepos and after I've done a 'rpm/dhd/helpers/build_packages.sh -c' they are not there anymore. | 13:44 |
T42 | <edp_17> Will the 'rpm/dhd/helpers/build_packages.sh -i' also remove them? | 13:45 |
mal | 'rpm/dhd/helpers/build_packages.sh -i' will regenerate the .ks file | 14:08 |
T42 | <edp_17> Thanks mal. If that regenerates, how can I add that permanently? I only know this way to build an image that I can install on the device. | 14:09 |
T42 | <Anton %lastname%> Anyone knows anything about porting sensors? From what I got yesterday, sensorfwd seems to be unable to find magnetometer, and I don't think there is one in my device. Is there any way to disable it? | 14:40 |
T42 | <edp_17> @elros34 : I have added your repo into sparse/usr/share/ssu/features.d and built a new image but it didn't install on the device. What am I doing wrong? Here you can check what I added: https://github.com/edp17/droid-config-treltexx | 15:03 |
T42 | <edp_17> Thank you. | 15:04 |
mal | Anton which device is that? sensors can be disabled in sensorfw configuration and also in hw-settings.txt | 15:16 |
T42 | <maffeen> https://del.dog/emecymejib.txt | 15:27 |
T42 | <maffeen> Trying to port Sailfish OS to A3. | 15:27 |
T42 | <elros34> @edp_17 don't add those documentation.list and tmp/* files. They are created during build so it's pointless. You have added repo with many packages (including mousetracker) but you don't pull that package nor via patterns nor in ks image. Also if you don't want this repo to pullute your system then add it only to ks file instead ssu/f | 15:30 |
T42 | eatures.d. Then us mic manually according to HADK instead build_packages.sh -i | 15:30 |
T42 | <MrBam> can anyone share link to ubuntu-trusty-android-rootfs ? i cant reach https://releases.sailfishos.org/ubu/ | 16:16 |
T42 | <Anton %lastname%> @mal My device is moto g7 (river), which neither has hall sensor (lid), nor compass, so there shouldn't be any reason for magnetometer to exist? | 16:32 |
T42 | <elros34> I Ia m right on my mote I have magnetometer but no compass but it has very little use | 16:34 |
T42 | <elros34> @MrBam this one? https://releases.sailfishos.org/ubu/ubuntu-trusty-20180613-android-rootfs.tar.bz2 | 16:36 |
T42 | <elros34> Works fine for me. Also it's not required unless you port for some old device | 16:38 |
mal | Anton what does test_sensors tell on the device? | 16:40 |
T42 | <Anton %lastname%> @mal crashes with assertion hwmod != NULL | 16:42 |
mal | are sensors working at all on the device? or do you use the binder backend of sensorfw? | 16:44 |
T42 | <Anton %lastname%> Sensors probably don't work, I think I should be using binder backend, as it's hybris-16 | 16:45 |
T42 | <MrBam> @elros34 [Works fine for me. Also it's not required unle …], than i will use a vpn, couse i cant rich it | 16:47 |
T42 | <Anton %lastname%> Perhaps the output of sensorfwd will be of some use: https://pastebin.com/Q8Hs4TZT. Let's suppose my hw-settings.ini is like the example for the exception of Ecompass and hall which are 0 | 17:02 |
T42 | <Anton %lastname%> Oh, and logcat seems bothered by SMGR service timeout among other things. My guess is that it waits for sensorfwd to start | 17:05 |
mal | do you have correct version of the binder plugin for sensorfw? | 17:08 |
mal | I assume you use 3.3.0 sfos, which needs 0.11.9 version | 17:09 |
T42 | <Anton %lastname%> Well, it's 0.11.8, could that be the problem? | 17:10 |
T42 | <elros34> 0.11.8 should be ok on 3.3.0.x | 17:12 |
T42 | <Anton %lastname%> I think I found something. sensors-qt5 is 0.11.8, but hybris-libsensorfw-qt5-binder is 0.12.1 | 17:13 |
T42 | <elros34> so it's not correct, you need to downgrade it | 17:14 |
mal | yeah, binder plugin is too new | 17:20 |
mal | 0.11.9 is the last version that works on 3.3.0 | 17:21 |
T42 | <edp_17> @elros34: I think I understand now. I thought that was enough to install the package if I add that file. But basically that only defines a repo where a package can be pulled in. Therefore the package name still must be defined in the pattern. Am I right? | 18:28 |
T42 | <elros34> yes, mic must know what you want to install in your image | 18:30 |
T42 | <edp_17> Okay, thanks for confirming. Based on that logic if I upload the .rpm files somewhere to the web, can I use that location as a repo (the same way like glibc) and install packages from there? | 18:31 |
T42 | <edp_17> This way I can put the packages I need together and install from that repo. | 18:32 |
T42 | <edp_17> If the .rpm files are enough to be there and nothing else is required. | 18:33 |
T42 | <elros34> no it can't be 'somewhere on the web' it must be repository like in droid-local-repo, openrepos, obs | 18:37 |
T42 | <elros34> but you don't use obs so it doesn't matter, just download rpms to local repo and let mic pull it from there | 18:39 |
T42 | <edp_17> I see. Thanks. So, there is something else that makes a location to a repo from a collection of rmps. | 18:43 |
coderus | https://wiki.merproject.org/wiki/Adaptations/libhybris down? | 20:30 |
r0kk3rz | seems like | 21:59 |
lbt | it's back now | 22:16 |
r0kk3rz | thanks lbt | 22:17 |
r0kk3rz | any news about possible closure dates for obs? | 22:17 |
lbt | no. nothing planned yet | 22:18 |
r0kk3rz | ok cool | 22:18 |
lbt | There will be a decent interval post announcement - probably 2-3 months | 22:18 |
r0kk3rz | alright, i'll keep an eye out for that | 22:19 |
r0kk3rz | thanks | 22:19 |
Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!