GithubHelp home page GithubHelp logo

Comments (6)

runborg avatar runborg commented on July 21, 2024

@kaplan-michael i think this comes from your PR

from vyos-pi-builder.

kaplan-michael avatar kaplan-michael commented on July 21, 2024

@runborg @jkuettner same as the previous issue, it should probably be --platform linux/arm64 and looking at it, it should probably be done using docker buildx buildx docs

TBH, you can omit this step and use the already build image in registry(what make iso-registry uses)

Also to note, there is some issues with the new build system(it needs some tweeks I have fairly ready, but don't have the time now to submit them(hopefully I'll have a bit of time over the weekend)

from vyos-pi-builder.

mowoe avatar mowoe commented on July 21, 2024

Im not really familiar with podman, but i dont see what the -v argument should do. -v is a docker run flag and i dont see a reason why it should be used in a docker build command. I would say the whole -v /usr/bin/qemu-aarch64-static:/usr/bin/qemu-aarch64-static can be omitted to be honest.

from vyos-pi-builder.

kaplan-michael avatar kaplan-michael commented on July 21, 2024

in podman, you can mount it the same for build as for run. with regards to docker, it should be removed everywhere(I thought I did that 🤦 ) I'll go over it and clean it up when I'm updating the script to use new vyos buildchain.

from vyos-pi-builder.

mowoe avatar mowoe commented on July 21, 2024

I see, but why do you need to mount the qemu binary in the container? By specifying --platform the commands get executed via qemu anyway if i see it correctly?

from vyos-pi-builder.

kaplan-michael avatar kaplan-michael commented on July 21, 2024

on docker yes, on podman it used to be specified with --arch flag and then you needed to mount it. once podman added --platform it shouldn't be needed either. the arch flag just sets the arch and doesn't do anything else(hence it was mounted)

from vyos-pi-builder.

Related Issues (15)

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.