summaryrefslogtreecommitdiffstats
path: root/meta/classes-recipe/qemuboot.bbclass
diff options
context:
space:
mode:
authorXiangyu Chen <xiangyu.chen@windriver.com>2023-01-17 10:05:02 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2023-01-26 22:22:53 +0000
commit45f278ed23f117a38e0706d1898e61cafcc86e96 (patch)
tree2c37ddfe0b152ab50f4e596b5869987ebd98cf83 /meta/classes-recipe/qemuboot.bbclass
parent3061fd5cef9b0ff5e42e41f48078e1098863b3d0 (diff)
downloadpoky-45f278ed23f117a38e0706d1898e61cafcc86e96.tar.gz
qemuboot.bbclass: add QB_NFSROOTFS_EXTRA_OPT for nfs rootfs extra option
This extra options to be appended to the nfs rootfs options in kernel boot arg. (From OE-Core rev: a255a7f350b558445f4f6c29f60e77c33883b08a) Signed-off-by: Xiangyu Chen <xiangyu.chen@windriver.com> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes-recipe/qemuboot.bbclass')
-rw-r--r--meta/classes-recipe/qemuboot.bbclass3
1 files changed, 3 insertions, 0 deletions
diff --git a/meta/classes-recipe/qemuboot.bbclass b/meta/classes-recipe/qemuboot.bbclass
index 5a0e50ccfc..444871438d 100644
--- a/meta/classes-recipe/qemuboot.bbclass
+++ b/meta/classes-recipe/qemuboot.bbclass
@@ -86,6 +86,8 @@
86# without the need to specify a dedicated qemu configuration 86# without the need to specify a dedicated qemu configuration
87# 87#
88# QB_GRAPHICS: QEMU video card type (e.g. "-vga std") 88# QB_GRAPHICS: QEMU video card type (e.g. "-vga std")
89# QB_NFSROOTFS_EXTRA_OPT: extra options to be appended to the nfs rootfs options in kernel boot arg, e.g.,
90# "wsize=4096,rsize=4096"
89# 91#
90# Usage: 92# Usage:
91# IMAGE_CLASSES += "qemuboot" 93# IMAGE_CLASSES += "qemuboot"
@@ -103,6 +105,7 @@ QB_CMDLINE_IP_SLIRP ?= "ip=dhcp"
103QB_CMDLINE_IP_TAP ?= "ip=192.168.7.@CLIENT@::192.168.7.@GATEWAY@:255.255.255.0::eth0:off:8.8.8.8" 105QB_CMDLINE_IP_TAP ?= "ip=192.168.7.@CLIENT@::192.168.7.@GATEWAY@:255.255.255.0::eth0:off:8.8.8.8"
104QB_ROOTFS_EXTRA_OPT ?= "" 106QB_ROOTFS_EXTRA_OPT ?= ""
105QB_GRAPHICS ?= "" 107QB_GRAPHICS ?= ""
108QB_NFSROOTFS_EXTRA_OPT ?= ""
106 109
107# This should be kept align with ROOT_VM 110# This should be kept align with ROOT_VM
108QB_DRIVE_TYPE ?= "/dev/sd" 111QB_DRIVE_TYPE ?= "/dev/sd"