| Summary: | allow to build nbd-server with NBD package | ||
|---|---|---|---|
| Product: | buildroot | Reporter: | Vincent Palatin <vincent.palatin_buildroot> |
| Component: | Other | Assignee: | unassigned |
| Status: | RESOLVED FIXED | ||
| Severity: | enhancement | CC: | buildroot |
| Priority: | P3 | ||
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Linux | ||
| Host: | Target: | ||
| Build: | |||
| Attachments: | nbd-server binary build | ||
Thanks, committed to git with minor kconfig tweaks (6aac003ab) |
Created attachment 681 [details] nbd-server binary build At the moment, the NBD package can only build the "nbd-client" binary. The attached patch adds the ability to build "nbd-server" binary (ie the userspace daemon used to serve block to a remote client) it can activate client, server or both. It includes 2 patches for nbd-server source code : - remove SUSv3 deprecated function "index()" - fix read function usage when -EAGAIN occurs (same fix as in nbd-server debian package) I have tested this on an ARM target.