From b516553ebf08c2aec03b840d618fafd548656706 Mon Sep 17 00:00:00 2001 From: Jerome Brunet Date: Thu, 7 Sep 2017 10:41:02 +0200 Subject: 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 Signed-off-by: Kevin Hilman --- templates/machines/qemux86-64.jinja2 | 1 + 1 file changed, 1 insertion(+) (limited to 'templates/machines/qemux86-64.jinja2') 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" %} -- cgit 1.2.3-korg