Comments (9)
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.
Thank you for your feedback! Let me take a look at this and come back at you.
from docker-lineageos.
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.
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.
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.
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.
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.
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.
Do you feel like opening a PR with that mako device file?
Cheers :)
from docker-lineageos.
Related Issues (8)
- Jack error + environment variables problems HOT 12
- Unable to build on OSX HOT 2
- repo version should be updated HOT 15
- error: could not lock config file /home/lineageos/.gitconfig: Permission denied
- Clarity: Obtaining "Blobs" for Older Verisons?
- local manifest HOT 5
- H990 - segmentation fault while building kernel HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from docker-lineageos.