Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Docker image: add DOCKER_MOUNT_OPTS config variable Fedora uses some stringent SELinux configuration that fails to pass through shared directories to a container. To fix this, we need to ask Docker to properly adjust the directory's permissions before passing it through. http://www.projectatomic.io/blog/2015/06/using-volumes-with-docker-can-cause-problems-with-selinux/ Add a config variable to our docker run command and extend the Fedora example in the README. Signed-off-by: Bjoern Doebel <[email protected]> * Docker: run build commands as regular user Docker by default executes things as the root user, leading to permissions problems further down the road. (i.e., if I build boot.iso in docker, the resulting file is owned by root and a later `make boot` fails on my Linux system.) Fix this by creating a user within our docker image that has the appropriate user ID and group ID of the outside user. Thus, resulting files have proper ownership and make boot succeeds. Signed-off-by: Bjoern Doebel <[email protected]> * Make: Fix dependency for the boot target Depending on the `all` target, caused a chain of `make boot` -> `make boot.iso` to always execute. However, we only want to regenerate the ISO if the kernel.bin has changed. Hence, make the ISO_FILE target explicitly depend on the kernel.bin file instead. Signed-off-by: Bjoern Doebel <[email protected]>
- Loading branch information