aboutsummaryrefslogtreecommitdiffstats
path: root/templates/base
diff options
context:
space:
mode:
authorJerome Brunet <jbrunet@baylibre.com>2017-09-07 10:41:02 +0200
committerKevin Hilman <khilman@baylibre.com>2017-09-07 12:06:11 -0700
commitb516553ebf08c2aec03b840d618fafd548656706 (patch)
tree7e807339356d97773b70521c370173295fb47a38 /templates/base
parent05146fa425d94a77ba35b43ac3b0a5c633163d4e (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/base')
-rw-r--r--templates/base/agl-base-defaults.jinja21
1 files changed, 1 insertions, 0 deletions
diff --git a/templates/base/agl-base-defaults.jinja2 b/templates/base/agl-base-defaults.jinja2
index ff70116..92ef06e 100644
--- a/templates/base/agl-base-defaults.jinja2
+++ b/templates/base/agl-base-defaults.jinja2
@@ -10,6 +10,7 @@
{%- set device_type = device_type|default(yocto_machine+"-uboot") %}
{%- set kernel_image = kernel_image|default('uImage') %}
{%- set kernel_url = kernel_url|default(baseurl(kernel_image)) %}
+{%- set rootfs_type = rootfs_type|default("ramdisk") %}
{%- if dtb %}
{%- set dtb_url = dtb_url|default(baseurl(dtb)) %}
{%- endif %}