  fi
  
  if itest.s "x" != "x${disable_msi}" ; then
-@@ -174,7 +192,21 @@ if itest.s "x" != "x${show_env}" ; then
+@@ -164,7 +186,21 @@ if itest.s "x" != "x${show_env}" ; then
  	printenv
  fi
  

 if load ${devtype} ${devnum}:${distro_bootpart} ${a_script} uEnv.txt ; then
     env import -t ${a_script} ${filesize}
 fi
@@ -124,12 +137,17 @@ fi
 if itest.s "x" == "x${bpart}" ; then
 	bpart=2
 fi

From 032cffe255b1a56b453d3f6299bdce4f1a7fbddf Mon Sep 17 00:00:00 2001
From: Alexandru Costache <alexandru@balena.io>
Date: Wed, 13 May 2020 11:07:37 +0200
Subject: [PATCH] bootscript-yocto.txt: Allow flashing, integrate balenaOS
