-
Notifications
You must be signed in to change notification settings - Fork 53
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Compiling on Mac M1 #2090
Comments
Hmm, in this step it should only try to extract the filesystem from the image and put in a local directory.. are you running rootless docker by any chance? |
Running : and then in the container : gives the correct result (of course inside the container). So, the problème is obviously the right to write on host build directory, but adding I even try |
Surprisingly :
|
Hmm, can you chmod the toto file? |
Yes :
Looking at
|
Removing |
That's interesting! Wonder what is special about that dir 🤔 |
Not sure if this can be helpful, but I encountered a similar issue with an image that had a go package in it (installed via go install as a normal user). The My solution for my specific use case was to use |
We progress ! The But why not with other directories ??? And .... putting back to It could be added in the Dockerfile I think, but only for Mac ? Thanks !!! |
|
Image boot normally and everything sound good :
|
The only cleanest way I found working :
|
Great job debugging this! I would be hesitant adding this directly to the examples right now, but if you want to put up a PR with the findings to the troubleshooting guide I would be happy to merge it! |
BTW I had also to remove the I'll try to make a troubleshooting guide ASAP. |
Hi,
I'am trying to compile on my Mac Book Pro M1 and have issues :
elemental-toolkit version:
Git cloned lastly. Last commit 54664f8
Describe the bug
make ARCH=arm64 build build-os
run fine, but
make ARCH=arm64 build-rpi-disk
I suspect this is due to the lake of loop device on mac.
BR,
The text was updated successfully, but these errors were encountered: