diff options
author | Jerome Brunet <jbrunet@baylibre.com> | 2017-09-07 10:41:02 +0200 |
---|---|---|
committer | Kevin Hilman <khilman@baylibre.com> | 2017-09-07 12:06:11 -0700 |
commit | b516553ebf08c2aec03b840d618fafd548656706 (patch) | |
tree | 7e807339356d97773b70521c370173295fb47a38 /templates/machines/qemux86-64.jinja2 | |
parent | 05146fa425d94a77ba35b43ac3b0a5c633163d4e (diff) |
rootfs_type: add default rootfs type for each device
Add a default rootfs type for each device. the type can still be
overridden from the command line. The 'boot' parameter is no longer
required with this change
Change-Id: I666287d83652bcd81d9619eee75bf9be292d936a
Signed-off-by: Jerome Brunet <jbrunet@baylibre.com>
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
Diffstat (limited to 'templates/machines/qemux86-64.jinja2')
-rw-r--r-- | templates/machines/qemux86-64.jinja2 | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/templates/machines/qemux86-64.jinja2 b/templates/machines/qemux86-64.jinja2 index d76106c..7361c0d 100644 --- a/templates/machines/qemux86-64.jinja2 +++ b/templates/machines/qemux86-64.jinja2 @@ -1,5 +1,6 @@ {%- extends 'boot/generic-qemu-tmpfs.jinja2' %} {%- set device_type = "qemu" %} +{%- set rootfs_type = rootfs_type|default("ramdisk") %} {%- set kernel_image = "bzImage" %} {%- set qemu_cmdline = "console=ttyS0,115200 root=/dev/hda debug verbose" %} {%- set qemu_args = "-cpu qemu64,+ssse3,+sse4.1,+sse4.2,+popcnt -m 1048 -soundhw hda" %} |