Giter Club home page Giter Club logo

Comments (6)

LukeMondy avatar LukeMondy commented on August 18, 2024 1

Ah, right, I see the issue - you're right, it should not be added in this case.

The makefile is mistakenly assuming that the stack group has been added - but this will only have occurred when using the camkes image.

I'll put up a fix soon.

from sel4-camkes-l4v-dockerfiles.

LukeMondy avatar LukeMondy commented on August 18, 2024

It is so that the haskell dependencies for the capDL loader (I believe) can be cached for building camkes apps.

Removing it should still work, but it means that the first time a camkes app is built, it has to go and fetch everything from stack.

Is it causing an issue for you?

from sel4-camkes-l4v-dockerfiles.

Jesse-Millwood avatar Jesse-Millwood commented on August 18, 2024

I was helping someone get going with seL4test and we were running into problems because there wasn't a stack group on the host machine.

from sel4-camkes-l4v-dockerfiles.

LukeMondy avatar LukeMondy commented on August 18, 2024

That's a bit odd - the host machine groups shouldn't cause an issue, because the --group-add should only be acting in the container.
Do you have any logs that show the issue?

from sel4-camkes-l4v-dockerfiles.

Jesse-Millwood avatar Jesse-Millwood commented on August 18, 2024

When I build with make -C ${DOCKER_PATH} user_sel4-riscv USER_IMG=jesse-sel4-riscv HOST_DIR=$(pwd) I get this:

Successfully tagged jesse-sel4-riscv:latest
docker run \
	-it \
	--hostname in-container \
	--rm \
	-u 1000:1000  \
	--group-add stack \
	--group-add sudo \
	-v /home/jesse/Code/gitrepos/sel4test:/host:z \
	-v jesse-home:/home/jesse \
	-v /etc/localtime:/etc/localtime:ro \
	jesse-sel4-riscv bash
docker: Error response from daemon: Unable to find group stack.
Makefile:138: recipe for target 'user_run' failed
make: *** [user_run] Error 125
make: Leaving directory '/home/jesse/Code/gitrepos/seL4-CAmkES-L4v-dockerfiles'

When I remove that line it's fine.

from sel4-camkes-l4v-dockerfiles.

LukeMondy avatar LukeMondy commented on August 18, 2024

This should be fixed up via 76e0b7e
Sorry for the delays, and let us know if there are still issues.

from sel4-camkes-l4v-dockerfiles.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.