Neil Roza a58c0b7bc7 fix #113: get the update-ipxe target working
Delete the vendored source under `thirds_party/ipxe` and replace it with a
submodule reference to https://github.com/ipxe/ipxe.git at commit
8f1514a00450119b04b08642c55aa674bdf5a4ef a.k.a. tag `v1.20.1` a.k.a. the latest
release as of this writing.

Edit `Makefile` to change the rule body of the `update-ipxe` target:

* Discover the full path of `pixiecore/boot.ipxe`; i.e., the `EMBED` script
  given to the `ipxe` build.

* Use `$(MAKE) -C` instead of subshelled `cd`.

* Leave the four built ipxe binaries where they are built.

* Change the `go-bindata` to operate on the four files (instead of the
  directory that contains them), write to `out/ipxe/bindata.go` (instead of
  `third_party/ipxe/ipxe-bin.go`), and lose the `-prefix`.

Edit `cmd/pixiecore/main.go` use the new `ipxe` import path and reference the
binaries by the longer, un-prefixed path keys.

Add `out/ipxe/bindata.go`, the thing generated by `go-bindata`. Yeah, we
shouldn't source-control that which we can generate, but...

* `ipxe` builds are not reproducible (yet)

* building those four binaries takes a appreciable amount of time

* we can avoid a build-time dependency on `go-bindata`

Remove `third_party/Makefile` because it looks like dead code. At any rate, it
seems this patch obviates everything it may have done.
2020-06-17 09:54:17 -07:00
2018-02-05 21:09:02 -08:00
2017-01-05 15:54:43 -08:00
2016-03-05 15:18:01 -08:00
2020-01-26 13:50:20 -08:00
2020-01-26 13:50:20 -08:00
2016-03-05 15:08:13 -08:00
2019-01-22 21:26:10 -08:00
2019-11-27 20:18:57 -08:00

Netboot, packages and utilities for network booting

This repository contains Go implementations of network protocols used in booting machines over the network, as well as utilites built on top of these libraries.

This project is no longer actively developed. I'm glad if you find it useful, but don't expect any significant changes.

Programs

  • Pixiecore: Command line all-in-one tool for easy netbooting

Libraries

The canonical import path for Go packages in this repository is go.universe.tf/netboot.

  • pcap: Pure Go implementation of reading and writing pcap files.
  • dhcp4: DHCPv4 library providing the low-level bits of a DHCP client/server (packet marshaling, RFC-compliant packet transmission semantics).
  • tftp: Read-only TFTP server implementation.
  • pixiecore: Go library for Pixiecore tool functionality. Every stability warning in this repository applies double for this package.
Description
Packages and utilities for network booting
Readme Apache-2.0 28 MiB
Languages
Go 99.9%