When DTB support was added for armhf it required a backports kernel
for use with Wheezy and therefore DTBs were only collected for that
special case. However as we move forward to newer kernels it should
be possible to run using the proper kernel (e.g. Jessie should work
for armhf). Therefore we will need the DTBs for those kernels too.
Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
Acked-by: Ian Jackson <ian.jackson@eu.citrix.com>
---
v3: Improved commit message
if -e "$ho->{Tftp}{Path}/$d_i/$kp-dtbs";
}
+ $xopts{dtbs} = "/$d_i/dtbs"
+ if !$xopts{dtbs} && -e "$ho->{Tftp}{Path}/$d_i/dtbs";
+
file_simple_write_contents("$initrd_overlay.cpio", sub {
contents_make_cpio($_[0], 'newc', "$initrd_overlay.d");
});