From 404cbb7a9cf0e579b216bd40cd73992286fcb027 Mon Sep 17 00:00:00 2001 From: Robert Nelson Date: Thu, 16 Oct 2014 09:48:19 -0500 Subject: [PATCH] bug: if dtb isnt define, dont set it to blank Signed-off-by: Robert Nelson --- lib/debian-finish.sh | 2 +- lib/ubuntu-finish.sh | 2 +- mk_mmc.sh | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/debian-finish.sh b/lib/debian-finish.sh index 484f177..1dcfb7a 100644 --- a/lib/debian-finish.sh +++ b/lib/debian-finish.sh @@ -159,7 +159,7 @@ echo "cape_enable=" >> ${wfile} if [ ! "x${dtb}" = "x" ] ; then echo "dtb=${dtb}" >> ${wfile} else - echo "dtb=" >> ${wfile} + echo "#dtb=" >> ${wfile} fi if [ ! "x${optargs}" = "x" ] ; then diff --git a/lib/ubuntu-finish.sh b/lib/ubuntu-finish.sh index b413260..f3617f2 100644 --- a/lib/ubuntu-finish.sh +++ b/lib/ubuntu-finish.sh @@ -129,7 +129,7 @@ echo "cape_enable=" >> ${wfile} if [ ! "x${dtb}" = "x" ] ; then echo "dtb=${dtb}" >> ${wfile} else - echo "dtb=" >> ${wfile} + echo "#dtb=" >> ${wfile} fi if [ ! "x${optargs}" = "x" ] ; then diff --git a/mk_mmc.sh b/mk_mmc.sh index fa431ef..0522d63 100755 --- a/mk_mmc.sh +++ b/mk_mmc.sh @@ -1116,7 +1116,7 @@ populate_boot () { if [ ! "x${dtb}" = "x" ] ; then echo "dtb=${dtb}" >> ${wfile} else - echo "dtb=" >> ${wfile} + echo "#dtb=" >> ${wfile} fi mmcargs="mmcargs=run message; setenv bootargs console"