diff options
| author | Alistair Francis <alistair.francis@wdc.com> | 2019-08-30 08:41:05 -0700 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-09-03 09:55:50 +0100 |
| commit | b8c25750029cbc560bcaa00717a6895216b9cb81 (patch) | |
| tree | 756ae325516ef7d79b78699107ee4c82cf5d56dd | |
| parent | b8ce258f15d793a29dd19d81a662e2ecefd8d202 (diff) | |
| download | poky-b8c25750029cbc560bcaa00717a6895216b9cb81.tar.gz | |
qemuriscv: Generate a wic rootFS with a larger filesystem
This allows us to generate a rootFS with a large filesystem for use with
QEMU.
(From OE-Core rev: e06439200e44999c1e2f88d7d6c651da13698ca7)
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
| -rw-r--r-- | meta/conf/machine/include/riscv/qemuriscv.inc | 4 | ||||
| -rw-r--r-- | scripts/lib/wic/canned-wks/qemuriscv.wks | 3 |
2 files changed, 6 insertions, 1 deletions
diff --git a/meta/conf/machine/include/riscv/qemuriscv.inc b/meta/conf/machine/include/riscv/qemuriscv.inc index 952779e98e..df35f2808f 100644 --- a/meta/conf/machine/include/riscv/qemuriscv.inc +++ b/meta/conf/machine/include/riscv/qemuriscv.inc | |||
| @@ -11,7 +11,9 @@ KEEPUIMAGE = "no" | |||
| 11 | 11 | ||
| 12 | SERIAL_CONSOLES ?= "115200;ttyS0 115200;hvc0" | 12 | SERIAL_CONSOLES ?= "115200;ttyS0 115200;hvc0" |
| 13 | 13 | ||
| 14 | IMAGE_FSTYPES_append = " ext4" | 14 | IMAGE_FSTYPES += "ext4 wic.qcow2" |
| 15 | |||
| 16 | WKS_FILE ?= "qemuriscv.wks" | ||
| 15 | 17 | ||
| 16 | MACHINE_EXTRA_RRECOMMENDS += " kernel-modules" | 18 | MACHINE_EXTRA_RRECOMMENDS += " kernel-modules" |
| 17 | 19 | ||
diff --git a/scripts/lib/wic/canned-wks/qemuriscv.wks b/scripts/lib/wic/canned-wks/qemuriscv.wks new file mode 100644 index 0000000000..12c68b7069 --- /dev/null +++ b/scripts/lib/wic/canned-wks/qemuriscv.wks | |||
| @@ -0,0 +1,3 @@ | |||
| 1 | # short-description: Create qcow2 image for RISC-V QEMU machines | ||
| 2 | |||
| 3 | part / --source rootfs --fstype=ext4 --label root --align 4096 --size 5G | ||
