diff options
author | Xiangyu Chen <xiangyu.chen@windriver.com> | 2023-01-17 10:05:02 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2023-01-26 22:22:53 +0000 |
commit | 45f278ed23f117a38e0706d1898e61cafcc86e96 (patch) | |
tree | 2c37ddfe0b152ab50f4e596b5869987ebd98cf83 /meta/classes-recipe | |
parent | 3061fd5cef9b0ff5e42e41f48078e1098863b3d0 (diff) | |
download | poky-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')
-rw-r--r-- | meta/classes-recipe/qemuboot.bbclass | 3 |
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" | |||
103 | QB_CMDLINE_IP_TAP ?= "ip=192.168.7.@CLIENT@::192.168.7.@GATEWAY@:255.255.255.0::eth0:off:8.8.8.8" | 105 | QB_CMDLINE_IP_TAP ?= "ip=192.168.7.@CLIENT@::192.168.7.@GATEWAY@:255.255.255.0::eth0:off:8.8.8.8" |
104 | QB_ROOTFS_EXTRA_OPT ?= "" | 106 | QB_ROOTFS_EXTRA_OPT ?= "" |
105 | QB_GRAPHICS ?= "" | 107 | QB_GRAPHICS ?= "" |
108 | QB_NFSROOTFS_EXTRA_OPT ?= "" | ||
106 | 109 | ||
107 | # This should be kept align with ROOT_VM | 110 | # This should be kept align with ROOT_VM |
108 | QB_DRIVE_TYPE ?= "/dev/sd" | 111 | QB_DRIVE_TYPE ?= "/dev/sd" |