!UUYziobKGGxpovWyAN:nixos.org

Robotnix

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

Load older messages


SenderMessageTime
4 Sep 2021
@kranzes:matrix.orgkranzesI couldn't figure it out but that's probably because i dont know what robotnix does in depth enough to know what it does different than normal building through docker or something like that13:31:40
@danielrf:matrix.orgdanielrf kranzes: well I was initially hoping that I could extract and compare both images to see if I noticed anything obviously wrong 19:46:48
@danielrf:matrix.orgdanielrfbut there's nothing obvious at least19:46:59
@danielrf:matrix.orgdanielrfThe comparison isn't exactly great since the two images were built from slightly different source trees19:47:25
@danielrf:matrix.orgdanielrfSo one next thing to try would be to a build where we are using the exact same revisions for all repos19:49:49
@danielrf:matrix.orgdanielrf You can generate a manifest file with these revisions pinned by running repo manifest -r -o miatoll.xml at the root of your source tree (inside your docker image?) 19:50:38
@danielrf:matrix.orgdanielrf That manifest file would be useful to set the repo .json file used in robotnix to have exactly the same revisions 19:51:07
@danielrf:matrix.orgdanielrf * So one next thing to try would be to try a build where we are using the exact same revisions for all repos19:51:51
@kranzes:matrix.orgkranzesI dont quite get what you mean19:52:30
@kranzes:matrix.orgkranzesWhat should i be doing? Right now i just started building in the docker image a new build for my device with a working setup wizard so i can actually use it19:53:24
@kranzes:matrix.orgkranzesIt takes me like 3:20h to build the rom19:53:41
@danielrf:matrix.orgdanielrfI'd like you to try to generate that pinned manifest file and share with me19:53:57
@kranzes:matrix.orgkranzes how do i get it? sorry19:54:09
@danielrf:matrix.orgdanielrf hmm, lets try: docker run -it forklineageos -v "/home/1TB-HDD/Android/lineage:/srv/src" repo manifest -r -o miatoll.xml 19:59:28
@kranzes:matrix.orgkranzeswhere would that drop the manifest?20:00:06
@kranzes:matrix.orgkranzesmiatoll.xml20:00:09
@danielrf:matrix.orgdanielrfshould be at /home/1TB-HDD/Android/lineage20:00:20
@danielrf:matrix.orgdanielrfif I'm reading the Dockerfile correctly20:00:25
@kranzes:matrix.orgkranzes
In reply to @danielrf:matrix.org
should be at /home/1TB-HDD/Android/lineage
its not there
20:00:33
@danielrf:matrix.orgdanielrfDid you get any other output from that command?20:01:11
@kranzes:matrix.orgkranzesnope20:01:18
@kranzes:matrix.orgkranzesit ran for like 2 seconds20:01:22
@kranzes:matrix.orgkranzesbut didnt throw any output back20:01:26
@danielrf:matrix.orgdanielrf Hmm, it should say Saved manifest to miatoll.xml 20:01:55
@kranzes:matrix.orgkranzes
[kranzes@pongo /home/1TB-HDD/Android/lineage]$ docker run -it forklineageos -v "/home/1TB-HDD/Android/lineage:/srv/src" repo manifest -r -o miatoll.xml
[kranzes@pongo /home/1TB-HDD/Android/lineage]$ ...?
20:02:25
@kranzes:matrix.orgkranzesNo output20:02:38
@danielrf:matrix.orgdanielrfJust to verify, what are some of the files/directories under /home/1TB-HDD/Android/lineage ?20:03:01
@kranzes:matrix.orgkranzes
[kranzes@pongo /home/1TB-HDD/Android]$ tree lineage -L 2
lineage
└── LINEAGE_18_1
    ├── android
    ├── Android.bp -> build/soong/root.bp
    ├── art
    ├── bionic
    ├── bootable
    ├── bootstrap.bash -> build/soong/bootstrap.bash
    ├── build
    ├── compatibility
    ├── cts
    ├── dalvik
    ├── developers
    ├── development
    ├── device
    ├── external
    ├── frameworks
    ├── hardware
    ├── kernel
    ├── libcore
    ├── libnativehelper
    ├── lineage
    ├── lineage-sdk
    ├── Makefile
    ├── out
    ├── packages
    ├── pdk
    ├── platform_testing
    ├── prebuilts
    ├── sdk
    ├── system
    ├── test
    ├── toolchain
    ├── tools
    ├── user-keys -> /srv/keys
    └── vendor

31 directories, 4 files
20:03:59
@kranzes:matrix.orgkranzesthere is also .repo inside there20:04:38
@kranzes:matrix.orgkranzeswith the manifests?20:04:42

Show newer messages


Back to Room ListRoom Version: 6