From 968f972234fb8ee6f2dfb3379ef4a1b2df9ae4fa Mon Sep 17 00:00:00 2001 From: Robert Nelson Date: Fri, 25 Jul 2014 19:40:55 -0500 Subject: [PATCH] mk_mmc.sh: factor out, as all call neuter_flash_kernel Signed-off-by: Robert Nelson --- mk_mmc.sh | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/mk_mmc.sh b/mk_mmc.sh index 5bd910c..40ca3f5 100755 --- a/mk_mmc.sh +++ b/mk_mmc.sh @@ -950,17 +950,12 @@ initrd_preseed_settings () { cd ${TEMPDIR}/initrd-tree/ cp -v "${DIR}/lib/${deb_distribution}-finish.sh" ${TEMPDIR}/initrd-tree/usr/bin/finish-install.sh - - case "${DIST}" in - trusty|utopic|wheezy|jessie) - neuter_flash_kernel - ;; - esac - if [ "x${conf_smart_uboot}" = "xenable" ] ; then sed -i -e 's:smart_DISABLED:enable:g' ${TEMPDIR}/initrd-tree/usr/bin/finish-install.sh fi + neuter_flash_kernel + finish_installing_device setup_parition_recipe cp -v "${DIR}/lib/shared/zz-uenv_txt" ${TEMPDIR}/initrd-tree/zz-uenv_txt