mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-10 00:04:06 -09:00
Actually DTB_LIST accepts only file and not files with relative path preprended. This leads to have vfat without .dtb files and so Linux doesn't start. Let's fix this by including slash in sed command as done for mxc as well as basename in front of $dt.dtb to remove possible useless folders present in the dts path. Let's also add set -e at the top of the script to make it more verbose on error and modify this section according to spellcheck as done for mxc. This commit align this "mxs/post-image.sh" with its "imx/post-image.sh" counterpart which was improved for arm64 in commit [1]. [1]4755bf2bd4Signed-off-by: Giulio Benetti <giulio.benetti@benettiengineering.com> [Julien: - change space indentation to tabs for consistency - add note in commit log about imx/post-image.sh ] Signed-off-by: Julien Olivain <ju.o@free.fr> (cherry picked from commit50297207a8) Signed-off-by: Thomas Perale <thomas.perale@mind.be>