aboutsummaryrefslogtreecommitdiffstats
path: root/templates/machines/porter.jinja2
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/machines/porter.jinja2
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/machines/porter.jinja2')
-rw-r--r--templates/machines/porter.jinja21
1 files changed, 1 insertions, 0 deletions
diff --git a/templates/machines/porter.jinja2 b/templates/machines/porter.jinja2
index 36dd96a..62a2255 100644
--- a/templates/machines/porter.jinja2
+++ b/templates/machines/porter.jinja2
@@ -1,5 +1,6 @@
{%- extends 'boot/generic-uboot-tftp.jinja2' %}
{%- set device_type = "renesas-porter-uboot" %}
+{%- set rootfs_type = rootfs_type|default("nbd") %}
{%- set nbdinitrd = "initramfs-netboot-image-" + yocto_machine +".ext4.gz.u-boot" %}
{%- set dtb = "uImage-r8a7791-porter.dtb" %}
{%- set dl_dir = "porter-nogfx" %}