From aa6f8a953153367b0a773e5336f0f559faf70172 Mon Sep 17 00:00:00 2001 From: Robert Nelson Date: Tue, 29 Jul 2014 12:03:35 -0500 Subject: [PATCH] mk_mmc.sh: if either of these conditions add u-boot-tools Signed-off-by: Robert Nelson --- mk_mmc.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mk_mmc.sh b/mk_mmc.sh index ff2eb6e..b9544d2 100755 --- a/mk_mmc.sh +++ b/mk_mmc.sh @@ -711,7 +711,7 @@ initrd_preseed_settings () { #repos.rcn-ee.net: add linux-image-${uname -r} sed -i -e 's:ntpdate:ntpdate linux-image-'$uname_r':g' ${TEMPDIR}/initrd-tree/preseed.cfg - if [ ! "x${conf_bootloader_in_flash}" = "xenable" ] ; then + if [ ! "x${uboot_CONFIG_CMD_BOOTZ}" = "xenable" ] || [ ! "x${uboot_CONFIG_SUPPORT_RAW_INITRD}" = "xenable" ] ; then sed -i -e 's:ntpdate:ntpdate u-boot-tools:g' ${TEMPDIR}/initrd-tree/preseed.cfg fi