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/raspberrypi3.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/raspberrypi3.jinja2')
-rw-r--r-- | templates/machines/raspberrypi3.jinja2 | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/templates/machines/raspberrypi3.jinja2 b/templates/machines/raspberrypi3.jinja2 index ed36889..543b6c3 100644 --- a/templates/machines/raspberrypi3.jinja2 +++ b/templates/machines/raspberrypi3.jinja2 @@ -1,4 +1,5 @@ {%- extends 'boot/generic-uboot-tftp.jinja2' %} {%- set device_type = "bcm2837-rpi-3-b" %} +{%- set rootfs_type = rootfs_type|default("nbd") %} {%- set dtb = "uImage-bcm2710-rpi-3-b.dtb" %} {%- set nbdinitrd = "initramfs-netboot-image-" + yocto_machine +".ext4.gz.u-boot" %} |