-
Notifications
You must be signed in to change notification settings - Fork 28
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
Missing move, check on lock #205
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
In the README, we describe a cool hack - using a Docker image as a rootfs, enabling the cpu namespace to provide a whole distro:
https://github.com/u-root/cpu#cpu-and-docker
One essential feature of a distro is to install the software it offers.
That can be handled via commands when creating a Docker image.
However, in the cross architecture case, the host providing the environment would typically not be able to run the package manager made for the foreign architecture.
A solution would be to install a specific package using the machine to cpu into. That could be accepted to happen at container runtime, even though it'd be ephemeral. Now that raises another problem: package managers typically extract to some temporary directory, lock their database, move the files from the temporary directory and then commit to the darabase to finally unlock it. The 9p protocol used here, though, does not offer moving files, and locking needs some investigation.
hugelgupf/p9#52 should have fixed the lock
Note: I may have been using a somewhat older
cpu
binary.I need to recheck again with a current build of the
cpu
command.The text was updated successfully, but these errors were encountered: