summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorKevin Hilman <khilman@baylibre.com>2017-11-06 18:40:20 +0000
committerGerrit Code Review <gerrit@automotivelinux.org>2017-11-06 18:40:20 +0000
commit0855174575132875ad3188022aeddeb79e07d071 (patch)
treee6d94b56445d5eb59e337d0b1b80febf21687368 /templates
parent41c0a685d97c3118d22190b4f658cc7152d30650 (diff)
parent223394c59690707a528fa512a61db8d95f117660 (diff)
Merge "New machine, url, branch, version arguments"
Diffstat (limited to 'templates')
-rw-r--r--templates/URLs/default.cfg11
-rw-r--r--templates/base/agl-base-defaults.jinja23
-rw-r--r--templates/machines/m3ulcb.jinja21
-rw-r--r--templates/machines/porter.jinja21
4 files changed, 12 insertions, 4 deletions
diff --git a/templates/URLs/default.cfg b/templates/URLs/default.cfg
new file mode 100644
index 0000000..4c2adec
--- /dev/null
+++ b/templates/URLs/default.cfg
@@ -0,0 +1,11 @@
+[infra]
+style = AGL
+[default]
+urlbase = https://download.automotivelinux.org/AGL/release/dab/4.0.2/
+[release]
+urlbase = https://download.automotivelinux.org/AGL/release/
+[weekly]
+[daily]
+urlbase = https://download.automotivelinux.org/AGL/snapshots/
+[ci]
+urlbase = https://download.automotivelinux.org/AGL/upload/ci/
diff --git a/templates/base/agl-base-defaults.jinja2 b/templates/base/agl-base-defaults.jinja2
index 462fb86..d432b63 100644
--- a/templates/base/agl-base-defaults.jinja2
+++ b/templates/base/agl-base-defaults.jinja2
@@ -1,12 +1,11 @@
{%- macro baseurl(object) -%}
-{{ urlbase }}/{{ dl_dir }}/{{ object }}
+{{ urlbase }}/{{ object }}
{%- endmacro %}
{%- 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 dl_dir = dl_dir|default(yocto_machine) %}
{%- set image_type = image_type|default("AGL") %}
{%- set job_timeout = job_timeout|default(30) %}
{%- set kernel_defconfig = kernel_defconfig|default("defconfig+CONFIG_AGL=y") %}
diff --git a/templates/machines/m3ulcb.jinja2 b/templates/machines/m3ulcb.jinja2
index 16a3e76..41b6677 100644
--- a/templates/machines/m3ulcb.jinja2
+++ b/templates/machines/m3ulcb.jinja2
@@ -2,7 +2,6 @@
{%- set device_arch = "arm64" %}
{%- set device_mach = "renesas" %}
{%- set device_type = "r8a7796-m3ulcb" %}
-{%- set dl_dir = "m3ulcb-nogfx" %}
{%- set dtb = dtb|default("Image-r8a7796-m3ulcb.dtb") %}
{%- set kernel_image = kernel_image|default("Image") %}
{%- set rootfs_type = rootfs_type|default("nbd") %}
diff --git a/templates/machines/porter.jinja2 b/templates/machines/porter.jinja2
index 1ad6e7b..b455922 100644
--- a/templates/machines/porter.jinja2
+++ b/templates/machines/porter.jinja2
@@ -1,6 +1,5 @@
{%- extends 'boot/generic-uboot-tftp.jinja2' %}
{%- set device_type = "renesas-porter-uboot" %}
-{%- set dl_dir = "porter-nogfx" %}
{%- set dtb = dtb|default("uImage-r8a7791-porter.dtb") %}
{%- set initrd = initrd|default("initramfs-netboot-image-" + yocto_machine +".ext4.gz.u-boot") %}
{%- set rootfs_type = rootfs_type|default("nbd") %}