Umeaboy | Before 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 |
---|---|---|
Umeaboy | 18.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 |
Umeaboy | I 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-boot | 05:42 |
Umeaboy | It 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 |
Umeaboy | Yes, and no to those questions. | 05:49 |
Umeaboy | Is it OK to clone the afterwards? | 05:49 |
Umeaboy | them | 05:49 |
T42 | <elros34> do you have all other sources in $ANDROID_ROOT? If yes the run repo sync again | 05:53 |
Umeaboy | Here's my entire process: https://pastebin.com/raw/ZNH2eew6 | 06:00 |
Umeaboy | T42: What line did I do wrong? | 06:14 |
Umeaboy | I 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 like | 06:15 |
Umeaboy | Aparently ~/.bin is no longer in $ANDROID_ROOT when you reenter the HABUILD_SDK the next time. | 06:22 |
Umeaboy | Anyway......... 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 it | 06:27 |
T42 | <elros34> I guess it should be ~/bin anyway | 06:29 |
Umeaboy | I 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 ~/bin | 08:09 |
T42 | <edp_17> PATH=~/bin:$PATH | 08:09 |
T42 | <edp_17> curl https://storage.googleapis.com/git-repo-downloads/repo > ~/bin/repo | 08:10 |
T42 | <edp_17> chmod a+x ~/bin/repo | 08: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 |
Umeaboy | edp_17: Well, according to the PDF it is correct until someone changes it. | 08:15 |
Umeaboy | People say RTFM and even when one does read it it still ends up wrong. | 08:16 |
Umeaboy | That'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 |
Umeaboy | First 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 |
Umeaboy | If you want to find the proper instructions you look here: https://android.googlesource.com/tools/repo | 09:56 |
Umeaboy | That 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/repo | 09:58 |
Umeaboy | So the link must be updated to point to the git repo. | 10:00 |
Umeaboy | Anyway......... I've managed to sync so I got all the directories and folders now. | 11:04 |
Umeaboy | I 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/!