GithubHelp home page GithubHelp logo

Comments (9)

brainstorm avatar brainstorm commented on July 16, 2024 1

Did I mention it worked like a charm (on AWS) and I love this little container/work you put together? Thanks again! ;)

from docker-lineageos.

jfloff avatar jfloff commented on July 16, 2024

Thank you for your feedback! Let me take a look at this and come back at you.

from docker-lineageos.

brainstorm avatar brainstorm commented on July 16, 2024

Thanks for your reply but please, disregard this issue! ;)

I just re-sync'd via repo sync, the problem was that not everything was properly cloned by repo and therefore the android/ folder was empty (everything still under .repo). Now everything seems to be there and the build seems to be proceeding:

$ ls
Android.bp       bionic           cache            developers       frameworks       libnativehelper  pdk              system           vendor
Makefile         bootable         compatibility    development      hardware         lineage          platform_testing test
android          bootstrap.bash   cts              device           kernel           lineage-sdk      prebuilts        toolchain
art              build            dalvik           external         libcore          packages         sdk              tools

$ du -hs .
 62G	.

So that's a check/feature that could be implemented: if there's nothing there, try to re-sync until repo decides that everything has been cloned/sync'd properly?

I'm convinced that my poor Australian internet connection caused this :/

from docker-lineageos.

brainstorm avatar brainstorm commented on July 16, 2024

More info here about how repo goes from .repo to the above file listing here: https://stackoverflow.com/questions/6149725/how-does-the-android-repo-manifest-repository-work/11870480#11870480

from docker-lineageos.

jfloff avatar jfloff commented on July 16, 2024

Nice find! But does the android folder is always created?

If yes, then I guess we could do a quick check if the android is empty, and while its empty we would keep doing repo sync (https://github.com/jfloff/docker-lineageos/blob/master/lineageos#L120).

What do you think? Feeling like opening a PR? ;)

from docker-lineageos.

brainstorm avatar brainstorm commented on July 16, 2024

I might have a look at it later on, along with some sort of early detection of filesystem case-sentitiveness. I cannot use it as-is locally since my mac came preinstalled with case-insensitive filesystem, gaaah:

$ docker run --rm --privileged -v "$(pwd)/android":/home/lineageos --env-file device-config/mako.env -ti jfloff/lineageos lineageos build
(...)
10:57:56 ************************************************************
10:57:56 You are building on a case-insensitive filesystem.
10:57:56 Please move your source tree to a case-sensitive filesystem.
10:57:56 ************************************************************
10:57:56 Case-insensitive filesystems not supported
#### failed to build some targets (7 seconds) ####

So after hours of downloads and 62GB of disk usage I cannot proceed because further because of that :/ I will just deploy it on a linux box, cloud or elsewhere.

Other than that, I really like your project, much more useful than the [official/upstream manual LineageOS docker builder], IMHO.

from docker-lineageos.

jfloff avatar jfloff commented on July 16, 2024

I feel you ... I just had that on a friend's computer as well! It sucks that the default fs is now case-sensitive.

If you have time, both of those changes would be awesome to add!

from docker-lineageos.

brainstorm avatar brainstorm commented on July 16, 2024

You know what? Not worth it to run on my Mac anyways, with a 40-core spot instance on AWS I get the job done fast and without headaches. Closing yet worth having it here for other people to see the underlying issue :)

from docker-lineageos.

jfloff avatar jfloff commented on July 16, 2024

Do you feel like opening a PR with that mako device file?

Cheers :)

from docker-lineageos.

Related Issues (8)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.