Giter Site home page Giter Site logo

make update-ipxe error about netboot HOT 5 CLOSED

realtime-neil avatar realtime-neil commented on July 1, 2024
make update-ipxe error

from netboot.

Comments (5)

danderson avatar danderson commented on July 1, 2024

Sounds like ipxe's build is broken? Other than twiddling one piece of config we don't alter it from upstream.

from netboot.

realtime-neil avatar realtime-neil commented on July 1, 2024

I've had better luck building ipxe from source checkouts. Would you be okay with pixiecore using a later release of ipxe? How about a submodule of the same?

I understand the importance of the EMBED script and the go-bindata-generated golang source. I'm confident I can keep the existing semantics while changing the Makefile to play with a submodule instead of vendored sources --- if you're okay with that.

from netboot.

danderson avatar danderson commented on July 1, 2024

My current experience with submodules at Tailscale leads me to think that I'm not a huge fan, but I won't turn down a PR that fixes the build for containing submodules.

Later release of ipxe should be fine and mostly desirable (isn't that what the update script does? I've forgotten :( ). The main catch is that every time ipxe updates, there's a chance it won't interact correctly with the rest of the boot sequence, but there's no way to find that out other than make the change and see what happens.

from netboot.

realtime-neil avatar realtime-neil commented on July 1, 2024

Okay, understood; I'll see if I can get a submodule to work.

The update-ipxe target in the Makefile probably used to do exactly that --- that is, when the git commands weren't commented out. In its current form, it's just rebuilding the same (vendored?) ipxe source every time. It's too bad ipxe doesn't (yet) have reproducible builds, but that's a problem for another day.

What I could do is delete the vendored ipxe source for an ipxe submodule pinned to the latest stable release. The path to third_party/ipxe/ipxe-bin.go would have to move elsewhere (anywhere outside of the submodule) but that would be the only golang-visible change.

from netboot.

danderson avatar danderson commented on July 1, 2024

Doh. Can you tell it's been a while since I've poked at this code :).

What you propose SGTM.

from netboot.

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.