-
Notifications
You must be signed in to change notification settings - Fork 23
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
Bind mount does not provide the required permissions for the installer #29
Comments
Hi! I'm facing this same issue. Can you better explain how to solve this issue please? |
I will try to write up what I did, but unfortunately I worked with a download (as recommended in the README) not a git clone, so it's going to take a while to figure out what I changed. I ended up running the installer in graphical mode, but that also required fixing things because bind mounting the UNIX domain socket didn't work and I needed to use TCP. For the Arty A7, the shipped version of xvcd didn't work either, but I have managed to patch that to make it work. |
Hi, I have the same problem. Can you please write how you fixed it? |
@DaryaGolovko If you take a look at my fork, I solved this issue by extracting and taking ownership of the files in an internal docker directory before moving them to the mountpoint |
That solved my problem as well !! |
Awesome, I created a PR with my changes |
OMG, it works. Be blessed !!! |
doesnt worK: errors: 2)ProcessBuilder.start() or Runtime.exec() in a java application Generating App icon |
It says you don't have enough disk space @mohay3069 |
Generating App icon |
is this it? is this it:{ |
Isn't all data not within a bind mount lost anyway? How could you do an install to a directory in the container that is not a bind mount and have it be permanent? |
No, a bind mount is a host directory that is mounted into the container. The scripts install into that directory. It is not ephemeral. |
Exactly, so you still need to install into the bind mound for the installation to be non-volatile. |
I pulled @NelsonDane 's for but I still ge the same error... I already set the settings in docker to include both the /tmp and git repo folders... I get: Drag and drop the installation binary into this terminal window and press Enter:
path-to-bin/FPGAs_AdaptiveSoCs_Unified_2023.2_1013_2256_Lin64.bin
Launching Docker container and installation script
docker: Error response from daemon: invalid mount config for type "bind": bind source path does not exist: /tmp/.X11-unix.
See 'docker run --help'.
Generating App icon
./install.sh:73: no matches found: Xilinx/Vivado/*/doc/images/vivado_logo.png
Warning: not a valid file - skipping
Warning: not a valid file - skipping
Warning: not a valid file - skipping
Warning: not a valid file - skipping
Warning: not a valid file - skipping
Warning: not a valid file - skipping
Warning: not a valid file - skipping
Warning: not a valid file - skipping
Warning: not a valid file - skipping
icon.iconset:Failed to generate ICNS.
mv: rename icon.icns to Launch_Vivado.app/Contents/Resources/icon.icns: No such file or directory |
The installer needs to be able to chown files in the working directory. This is not possible with a bind mount from the host. Copying files into the container in the first step of docker.sh avoids this problem.
The text was updated successfully, but these errors were encountered: