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