aboutsummaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/base/agl-base-defaults.jinja24
-rw-r--r--templates/boot/generic-uboot-tftp.jinja26
2 files changed, 1 insertions, 9 deletions
diff --git a/templates/base/agl-base-defaults.jinja2 b/templates/base/agl-base-defaults.jinja2
index 92ef06e..c8b18b4 100644
--- a/templates/base/agl-base-defaults.jinja2
+++ b/templates/base/agl-base-defaults.jinja2
@@ -26,10 +26,6 @@
{%- set nbdroot_compression = nbdroot_compression|default(nbdroot|get_extension) %}
{%- set nbdinitrd = nbdinitrd|default("initramfs-netboot-image-" + yocto_machine +".ext4.gz") %}
{%- set nbdinitrd_url = nbdinitrd_url|default(baseurl(nbdinitrd)) %}
-{%- elif rootfs_type == 'nfs' %}
-{%- set nfsrootfs = nfsrootfs|default("nfsrootfs-" + yocto_machine + ".tar.gz") %}
-{%- set nfsrootfs_url = nfsrootfs_url|default(baseurl(nfsrootfs)) %}
-{%- set nfsroot_compression = nfsroot_compression|default(nfsrootfs|get_extension) %}
{%- elif rootfs_type == 'ramdisk' %}
{%- set initrd = initrd|default("initramfs-boot-image-" + yocto_machine +".gz") %}
{%- set initrd_compression = initrd_compression|default(initrd|get_extension) %}
diff --git a/templates/boot/generic-uboot-tftp.jinja2 b/templates/boot/generic-uboot-tftp.jinja2
index cbdda7a..a7fa6ce 100644
--- a/templates/boot/generic-uboot-tftp.jinja2
+++ b/templates/boot/generic-uboot-tftp.jinja2
@@ -22,11 +22,7 @@ protocols:
{{ super() }}
kernel:
url: {{ kernel_url }}
-{%- if rootfs_type == 'nfs' %}
- nfsrootfs:
- url: {{ nfsrootfs_url }}
- compression: {{ nfsroot_compression }}
-{%- elif rootfs_type == 'nbd' %}
+{%- if rootfs_type == 'nbd' %}
initrd:
url: {{ nbdinitrd_url }}
allow_modify: false