diff options
author | Jerome Brunet <jbrunet@baylibre.com> | 2017-09-13 09:08:50 +0200 |
---|---|---|
committer | Jerome Brunet <jbrunet@baylibre.com> | 2017-09-19 15:28:11 +0200 |
commit | 36d0e4617c16c193a8a9932f1b09cfe97f9f767e (patch) | |
tree | 83932c45c6fe9eff0bdf83af29d9f92b56479628 /templates | |
parent | 7f48c21aa46ec30d1742ad6fe457c769812e0d4d (diff) |
rootfs_type: remove nfs
NFS is untested and not used at the moment.
Remove it for now to avoid unnecessary issues
Change-Id: Ide7f0663f3c31cde14dcda3c6e6694e22165bf49
Signed-off-by: Jerome Brunet <jbrunet@baylibre.com>
Diffstat (limited to 'templates')
-rw-r--r-- | templates/base/agl-base-defaults.jinja2 | 4 | ||||
-rw-r--r-- | templates/boot/generic-uboot-tftp.jinja2 | 6 |
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 |