ARM: tegra: fix extlinux.conf search location

extlinux.conf is stored in /boot/extlinux/extlinux.conf rather than
/boot/extlinux.conf. Adjust Tegra's default boot scripts to use the
correct location. This change aligns Tegra's boot scripts with rpi_b.h
and also the location that the Fedora installer actually puts the file.

Signed-off-by: Stephen Warren <swarren@nvidia.com>
Signed-off-by: Tom Warren <twarren@nvidia.com>
This commit is contained in:
Stephen Warren 2014-06-19 10:52:58 -06:00 committed by Tom Warren
parent 99dd16c60c
commit 72638b02f4

View file

@ -101,13 +101,12 @@
\ \
"do_sysboot_boot=" \ "do_sysboot_boot=" \
"sysboot ${devtype} ${devnum}:${rootpart} any " \ "sysboot ${devtype} ${devnum}:${rootpart} any " \
"${scriptaddr} ${prefix}extlinux.conf\0" \ "${scriptaddr} ${prefix}extlinux/extlinux.conf\0" \
\ \
"sysboot_boot=" \ "sysboot_boot=" \
"if test -e ${devtype} ${devnum}:${rootpart} " \ "if test -e ${devtype} ${devnum}:${rootpart} " \
"${prefix}extlinux.conf; then " \ "${prefix}extlinux/extlinux.conf; then " \
"echo Found extlinux config " \ "echo Found ${prefix}extlinux/extlinux.conf; " \
"${prefix}extlinux.conf; " \
"run do_sysboot_boot; " \ "run do_sysboot_boot; " \
"echo SCRIPT FAILED: continuing...; " \ "echo SCRIPT FAILED: continuing...; " \
"fi\0" \ "fi\0" \