Thursday, 2024-10-24

UmeaboyBefore finding the mountpoints I see no instructions regarding when hybris-boot is supposed to be in the hadk directory. "Time to sync the whole source code, this might take a while: Do not use –fetch-submodules parameter on hybris-04:43
Umeaboy18.1 or newer Android bases.". I'm about to port using lineage-20 as base so what am I doing wrong? I DIDN'T use --fetch-submodules just like the HADK pdf told me.04:43
UmeaboyI checked the HADK FAQ and there's no mentioning of that issue there.04:44
T42<elros34> what issue? If you finished repo sync then you should have hybris/hybris-boot05:42
UmeaboyIt finished, but I still don't see it.05:43
T42<elros34> did you use correct branch hybris-20.0?05:44
T42<elros34> do you even have hybris/ directory?05:44
UmeaboyYes, and no to those questions.05:49
UmeaboyIs it OK to clone the afterwards?05:49
Umeaboythem05:49
T42<elros34> do you have all other sources in $ANDROID_ROOT? If yes the run repo sync again05:53
UmeaboyHere's my entire process: https://pastebin.com/raw/ZNH2eew606:00
UmeaboyT42: What line did I do wrong?06:14
UmeaboyI read everything at least twice in the PDF.06:15
T42<elros34> so did you finish second repo sync? how 'ls .repo' 'ls $ANDROID_ROOT' looks like06:15
UmeaboyAparently ~/.bin is no longer in $ANDROID_ROOT when you reenter the HABUILD_SDK the next time.06:22
UmeaboyAnyway......... Fetching the stuff once again.06:23
T42<elros34> ~/.bin is your /home/<username>/.bin so yes it's not in $ANDROID_ROOT but still you should be able to use it06:27
T42<elros34> I guess it should be ~/bin anyway06:29
UmeaboyI feel it would be good to include repo in the Ubuntu Chroot as standard. Would that be feasible for upcoming releases?07:24
T42<edp_17> I think the content of web page that instructs how to download repo has changed over time. I think the proper instruction should be added into the HADK.08:09
T42<edp_17> This is what's in my notes from 3 years ago:08:09
T42<edp_17> install repo (in HABUILD)08:09
T42<edp_17> mkdir ~/bin08:09
T42<edp_17> PATH=~/bin:$PATH08:09
T42<edp_17> curl https://storage.googleapis.com/git-repo-downloads/repo > ~/bin/repo08:10
T42<edp_17> chmod a+x ~/bin/repo08:10
T42<edp_17> This will create a bin folder in $HOME of the host and downloads the repo object into it.08:10
T42<edp_17> I think the ~/.bin that use used in your environment Umeaboy is not correct.08:11
Umeaboyedp_17: Well, according to the PDF it is correct until someone changes it.08:15
UmeaboyPeople say RTFM and even when one does read it it still ends up wrong.08:16
UmeaboyThat's confusing to me.08:16
T42<edp_17> Can you please show me where in the PDF you see ~/.bin ?08:18
T42<edp_17> I was checking hadk 4.5.0.19.pdf and https://source.android.com/docs/setup/download#installing-repo page but none of them mentions that.08:18
T42<edp_17> Or, maybe I've never seen the issue because I always used --fetch-submodules as I am only building with hybris-17.1 or older android bases.08:24
UmeaboyFirst of all, the link for installing the repo binary points to the wrong page so the users can't really find how to add it to $PATH.09:55
UmeaboyIf you want to find the proper instructions you look here: https://android.googlesource.com/tools/repo09:56
UmeaboyThat clearly tells you mkdir -p ~/.bin && PATH="${HOME}/.bin:${PATH}" && curl https://storage.googleapis.com/git-repo-downloads/repo > ~/.bin/repo && chmod a+rx ~/.bin/repo09:58
UmeaboySo the link must be updated to point to the git repo.10:00
UmeaboyAnyway......... I've managed to sync so I got all the directories and folders now.11:04
UmeaboyI made a little ugly version of the local fixup-mountpoints as I have begun a project called Sailing Galaxians for those that only use Samsung Galaxy based devices so I removed all the other devices.12:26

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