Coder Social home page Coder Social logo

Comments (8)

majst01 avatar majst01 commented on July 20, 2024

Why do you want to use another base image for the csi-driver-lvm ? Can you please elaborate.

from csi-driver-lvm.

liulanze avatar liulanze commented on July 20, 2024

Why do you want to use another base image for the csi-driver-lvm ? Can you please elaborate.

For some reason I need to leverage a certain distro os for csi-driver-lvm, and by that os they use tdnf as package manager.

from csi-driver-lvm.

majst01 avatar majst01 commented on July 20, 2024

Why do you want to use another base image for the csi-driver-lvm ? Can you please elaborate.

For some reason I need to leverage a certain distro os for csi-driver-lvm, and by that os they use tdnf as package manager.

As we do not plan to test with different base distro's, i am afraid you must figure out by yourself what packages are required in you distro to bring the same binaries.

You can check in the source code what executables are executed with exec.Command and check.

from csi-driver-lvm.

Gerrit91 avatar Gerrit91 commented on July 20, 2024

Mh... looks to me a bit like the packages are not really needed. Would be nice if you can tell us whether it worked out for you or not. You can test basic functionality with Kind as done in CI by running the test target in the Makefile. (create to loop volumes for testing before, e.g. with for i in 100 101; do fallocate -l 1G loop${i}.img ; sudo losetup /dev/loop${i} loop${i}.img; done)

from csi-driver-lvm.

majst01 avatar majst01 commented on July 20, 2024

From what i can see at least e2fsprogs-extra is required for resize2fs

from csi-driver-lvm.

liulanze avatar liulanze commented on July 20, 2024

Thanks @majst01 @Gerrit91 for the message, I will test with properly. In the meantime, I found there is a go module difference in Makefile between release v0.4.1 and v0.5.0, that go mod tidy is required for provisioner and lvmplugin to be built. Could you please elaborate why we need this tidy module? Because I thought vendor module would be enough in most cases. Thanks!

from csi-driver-lvm.

majst01 avatar majst01 commented on July 20, 2024

Hi @liulanze go.mod and go.sum are updated regularly, if someone missed to run go mod tidy, the build would not succeed. Makefile is not involved and we do not use vendor directory at all in none of our projects.

from csi-driver-lvm.

Gerrit91 avatar Gerrit91 commented on July 20, 2024

This has become stale, please re-open if necessary.

from csi-driver-lvm.

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.