!UUYziobKGGxpovWyAN:nixos.org

Robotnix

266 Members
Build Android (AOSP) using Nix | https://github.com/danielfullmer/robotnix84 Servers

Load older messages


SenderMessageTime
4 Sep 2021
@danielrf:matrix.orgdanielrf Maybe then try: docker run -it forklineageos -v "/home/1TB-HDD/Android/lineage:/srv/src" "cd LINEAGE_18_1; repo manifest -r -o miatoll.xml" 20:05:40
@danielrf:matrix.orgdanielrfwe want to run this command from the top of the checked out source20:05:52
@kranzes:matrix.orgkranzesnothing20:06:13
@danielrf:matrix.orgdanielrf docker run -it forklineageos -v "/home/1TB-HDD/Android/lineage:/srv/src" bash 20:06:35
@danielrf:matrix.orgdanielrfand try running the commands interactively?20:06:39
@kranzes:matrix.orgkranzesIt does not put me inside a docker shell20:07:01
@kranzes:matrix.orgkranzesit drops me back to my normal shell20:07:07
@kranzes:matrix.orgkranzes * it drops me back to my normal zsh shell20:07:13
@danielrf:matrix.orgdanielrf(not a docker expert here, so I'm probably doing it wrong)20:07:16
@kranzes:matrix.orgkranzesI'm not big into docker either20:07:27
@danielrf:matrix.orgdanielrf Another thing to try is just to use repo via nix-shell -p gitRepo 20:07:46
@danielrf:matrix.orgdanielrf then enter that directory outside of docker and run the same repo manifest command 20:08:00
@kranzes:matrix.orgkranzesI figured it out20:09:30
@kranzes:matrix.orgkranzesmaybe20:09:46
@kranzes:matrix.orgkranzes Permission denied: '/home/1TB-HDD/Android/lineage/LINEAGE_18_1/.repo/manifests.git/.repo_config.json' 20:09:53
@kranzes:matrix.orgkranzesso im running it now with sudo20:09:58
@kranzes:matrix.orgkranzesits taking some time20:10:02
@kranzes:matrix.orgkranzesimage.png
Download image.png
20:10:08
@kranzes:matrix.orgkranzesWhat does this command even do?20:10:37
@kranzes:matrix.orgkranzeswhy does it take ages20:10:40
@danielrf:matrix.orgdanielrfNot too surprising it takes a little while on an HDD20:10:41
@kranzes:matrix.orgkranzeshaha20:10:49
@kranzes:matrix.orgkranzesmy nvme is full20:10:54
@kranzes:matrix.orgkranzesand it only has like 250gb20:11:01
@danielrf:matrix.orgdanielrfIt creates a manifest xml file including all your subrepos (IIRC also local_manifests) and includes the git revision of each checked out subrepo20:11:23
@kranzes:matrix.orgkranzes Saved manifest to /home/kranzes/miatoll.xml 👀 20:11:44
@kranzes:matrix.orgkranzesDownload miatoll.xml20:12:37
@danielrf:matrix.orgdanielrfWith this file I can at least ensure we're not missing any repos that your docker build is including20:12:39
@kranzes:matrix.orgkranzesHow would you use that with robotnix?20:13:11
@danielrf:matrix.orgdanielrfI'm about to find out :)20:14:07

Show newer messages


Back to Room ListRoom Version: 6