summaryrefslogtreecommitdiffstats
path: root/meta-netboot/recipes-support
diff options
context:
space:
mode:
authorRonan Le Martret <ronan.lemartret@iot.bzh>2019-06-18 14:40:30 +0200
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>2019-06-21 11:30:38 +0000
commit576cd930a78ab554cf3d805e65b9cf13d1d77ade (patch)
treed09cfd330fbd60e2a3cf1ac7830429cec29e4e8a /meta-netboot/recipes-support
parentfc5919cbee54d9fad1ed83a5858a9370c375fb05 (diff)
Add support for nbd protocol v3
Add a new cmdline argument using option 'nbd.v3' that could be parsed by the initrd script used for netboot. Bug-AGL: SPEC-1423 Change-Id: I1cd189c343672631feda5bcee2e393eb46b9d000 Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
Diffstat (limited to 'meta-netboot/recipes-support')
-rw-r--r--meta-netboot/recipes-support/nbd/nbd_%.bbappend6
1 files changed, 6 insertions, 0 deletions
diff --git a/meta-netboot/recipes-support/nbd/nbd_%.bbappend b/meta-netboot/recipes-support/nbd/nbd_%.bbappend
new file mode 100644
index 000000000..fb11ef9c2
--- /dev/null
+++ b/meta-netboot/recipes-support/nbd/nbd_%.bbappend
@@ -0,0 +1,6 @@
+
+do_install_append() {
+ mv ${D}/${sbindir}/${BPN}-client ${D}/${sbindir}/${BPN}3-client
+}
+
+FILES_${PN}-client = "${sbindir}/${BPN}3-client"