From 0b427702e5f32f8573620a6770cb234bc31e2415 Mon Sep 17 00:00:00 2001 From: Loys Ollivier Date: Thu, 5 Oct 2017 18:41:07 +0200 Subject: New arguments to specify build artifacts names Added new command line arguments to specifiy build artifacts names: - "--rootfs-img": for the rootfs file name - "--kernel-img": for the kernel name - "--dtb-img": for the dtb file name - "--modules-img": for the modules file name Change-Id: I665dee2b326aeaaf35148345f0501e49950ba9aa Signed-off-by: Loys Ollivier --- templates/boot/generic-uboot-tftp.jinja2 | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'templates/boot') diff --git a/templates/boot/generic-uboot-tftp.jinja2 b/templates/boot/generic-uboot-tftp.jinja2 index a7fa6ce..0f0f9e2 100644 --- a/templates/boot/generic-uboot-tftp.jinja2 +++ b/templates/boot/generic-uboot-tftp.jinja2 @@ -24,13 +24,12 @@ protocols: url: {{ kernel_url }} {%- if rootfs_type == 'nbd' %} initrd: - url: {{ nbdinitrd_url }} + url: {{ initrd_url }} allow_modify: false nbdroot: - url: {{ nbdroot_url }} - compression: {{ nbdroot_compression }} -{%- endif %} -{%- if initrd_url and rootfs_type != 'nbd' %} + url: {{ rootfs_url }} + compression: {{ rootfs_compression }} +{%- elif rootfs_type == 'ramdisk' %} ramdisk: url: {{ initrd_url }} compression: {{ initrd_compression }} -- cgit 1.2.3-korg