summaryrefslogtreecommitdiffstats
path: root/meta-netboot/recipes-support/nbd/nbd_%.bbappend
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-27 13:42:41 +0000
commitba955969ae31ca58ad87bb37edcf5d8aea69bb6a (patch)
treea38a5ad56cc01b563138fb109e96119c43ddac1c /meta-netboot/recipes-support/nbd/nbd_%.bbappend
parente258841dbf2fa941a652f6d05f8870bbe4a77838 (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: I13dcd1c783811fd662e9f5090b3c49849e91e011 Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
Diffstat (limited to 'meta-netboot/recipes-support/nbd/nbd_%.bbappend')
-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"