aboutsummaryrefslogtreecommitdiffstats
path: root/templates/base
diff options
context:
space:
mode:
authorLoys Ollivier <lollivier@baylibre.com>2017-09-22 10:51:48 +0200
committerLoys Ollivier <lollivier@baylibre.com>2017-09-26 08:02:35 +0200
commitf6c3c2ac82de2948d8c02d4321b3f841a4676617 (patch)
tree30ea8ace17aec0b751fbb78a2c6873cf7a5d9fdc /templates/base
parent7a534f7dfac2d4367172e4dd1bd5d36e1525bbc5 (diff)
Sort machine and metadata definition fields
Sort the machine fields, metadata fields. Easier to go through them and search for fields. Change-Id: I657717fda116d78c5733bd1be4000645a3694713 Signed-off-by: Loys Ollivier <lollivier@baylibre.com>
Diffstat (limited to 'templates/base')
-rw-r--r--templates/base/agl-base-defaults.jinja224
1 files changed, 12 insertions, 12 deletions
diff --git a/templates/base/agl-base-defaults.jinja2 b/templates/base/agl-base-defaults.jinja2
index 9ae5c6d..7f75a76 100644
--- a/templates/base/agl-base-defaults.jinja2
+++ b/templates/base/agl-base-defaults.jinja2
@@ -1,38 +1,38 @@
{%- macro baseurl(object) -%}
{{ urlbase }}/{{ dl_dir }}/{{ object }}
{%- endmacro %}
-{%- set dl_dir = dl_dir|default(yocto_machine) %}
-{%- set boot_timeout = boot_timeout|default(10) %}
-{%- set job_timeout = job_timeout|default(30) %}
{%- set action_timeout = action_timeout|default(15) %}
+{%- set boot_timeout = boot_timeout|default(10) %}
{%- set connection_timeout = connection_timeout|default(5) %}
{%- set deploy_timeout = deploy_timeout|default(15) %}
{%- 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") %}
+{%- set dl_dir = dl_dir|default(yocto_machine) %}
{%- set image_type = image_type|default("AGL") %}
-{%- set kernel_defconfig_base = kernel_defconfig_base|default("defconfig") %}
+{%- set job_timeout = job_timeout|default(30) %}
{%- set kernel_defconfig = kernel_defconfig|default("defconfig+CONFIG_AGL=y") %}
+{%- set kernel_defconfig_base = kernel_defconfig_base|default("defconfig") %}
+{%- set kernel_image = kernel_image|default('uImage') %}
{%- set kernel_tree = kernel_tree|default("AGL-kernel-tree") %}
+{%- set kernel_url = kernel_url|default(baseurl(kernel_image)) %}
{%- set kernel_version = kernel_version|default("AGL-kernel-version") %}
+{%- set rootfs_type = rootfs_type|default("ramdisk") %}
{%- set vcs_branch = vcs_branch|default("agl-branch") %}
{%- set vcs_url = vcs_url|default(baseurl()) %}
{%- if dtb %}
{%- set dtb_url = dtb_url|default(baseurl(dtb)) %}
{%- endif %}
{%- if modules %}
-{%- set modules_url = modules_url|default(baseurl(modules)) %}
{%- set modules_compression = modules_compression|default(modules|get_extension) %}
+{%- set modules_url = modules_url|default(baseurl(modules)) %}
{%- endif %}
{%- if rootfs_type == 'nbd' %}
-{%- set deploy_to = "nbd" %}
{%- set boot_commands = "nbd" %}
-{%- set nbdroot = rfs_image|default("core-image-minimal-" + yocto_machine + ".ext4.xz") %}
-{%- set nbdroot_url = nbdroot_url|default(baseurl(nbdroot)) %}
-{%- set nbdroot_compression = nbdroot_compression|default(nbdroot|get_extension) %}
+{%- set deploy_to = "nbd" %}
{%- set nbdinitrd = nbdinitrd|default("initramfs-netboot-image-" + yocto_machine +".ext4.gz") %}
{%- set nbdinitrd_url = nbdinitrd_url|default(baseurl(nbdinitrd)) %}
+{%- set nbdroot = rfs_image|default("core-image-minimal-" + yocto_machine + ".ext4.xz") %}
+{%- set nbdroot_compression = nbdroot_compression|default(nbdroot|get_extension) %}
+{%- set nbdroot_url = nbdroot_url|default(baseurl(nbdroot)) %}
{%- elif rootfs_type == 'ramdisk' %}
{%- set initrd = rfs_image|default("initramfs-boot-image-" + yocto_machine + ".gz") %}
{%- set initrd_compression = initrd_compression|default(initrd|get_extension) %}