u-root's fbnetboot stopped compiling under TinyGo after we updated this module.
The dependency path is:
netboot.RequestNetbootv4
-> client4.Client.Exchange
-> dhcpv4.NewDiscoveryForInterface
client4 is deprecated, and NewDiscoveryForInterface lives in dhcpv4.go, which is excluded by the tinygo build tag since #564.
Would it make sense to migrate RequestNetbootv4 to nclient4? That would restore the TinyGo package closure and drop netboot's remaining dependency on the deprecated raw DHCPv4 client. Happy to send a PR if that direction sounds right.
u-root's
fbnetbootstopped compiling under TinyGo after we updated this module.The dependency path is:
client4is deprecated, andNewDiscoveryForInterfacelives indhcpv4.go, which is excluded by the tinygo build tag since #564.Would it make sense to migrate
RequestNetbootv4tonclient4? That would restore the TinyGo package closure and drop netboot's remaining dependency on the deprecated raw DHCPv4 client. Happy to send a PR if that direction sounds right.