GithubHelp home page GithubHelp logo

Comments (7)

sgielen avatar sgielen commented on August 27, 2024

I'm not sure if we can, because we use root privileges to perform loopback mounts. I think a privileged container could perhaps work. Would you like to give it a go? I can provide support where necessary and will certainly merge a change where a working Dockerfile (with some instructions in the README) is added.

from picl-k3os-image-generator.

Ognian avatar Ognian commented on August 27, 2024

Ok I tried this out and ended with the following:

...

2020-05-13 15:39:13 (5.54 MB/s) - 'deps/rpi-firmware-nonfree-master.zip' saved [110930819]

== Making image and filesystems... ==
/dev/mapper/control: open failed: No such device
Failure to communicate with kernel device-mapper driver.
Check that device-mapper is available in the kernel.
Incompatible libdevmapper 1.02.167 (2019-11-30) and kernel driver (unknown version).
device mapper prerequisites not met

If you want I can make a pull request with the work I did until now...

from picl-k3os-image-generator.

Ognian avatar Ognian commented on August 27, 2024

I've added some debug output:
image
and the output
image

looks like parts -a /dev/loopX is failing...
any ideas on this?

from picl-k3os-image-generator.

Ognian avatar Ognian commented on August 27, 2024

Maybe this can help...
I'm running privileged have devices /dev:/dev and cap_add: CAP_MKNOD

from picl-k3os-image-generator.

Ognian avatar Ognian commented on August 27, 2024

it should work now...
added pull request #18

from picl-k3os-image-generator.

Ognian avatar Ognian commented on August 27, 2024

@sgielen have you been able to review the PR already?

from picl-k3os-image-generator.

sgielen avatar sgielen commented on August 27, 2024

Docker support landed in abd9ca3, thanks @Ognian!

from picl-k3os-image-generator.

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.