This patch is to create boot tarball for the lthor flashing. With this,
we can easily test the rpi4 kernel in the local environment.
Change-Id: I33413d641a18122612d23f3f110b7eed0997c2ea
Signed-off-by: Junghoon Kim <jhoon20.kim@samsung.com>
sudo umount tmp/lib/modules
rm -rf tmp tmp_modules
sudo umount tmp/lib/modules
rm -rf tmp tmp_modules
+
+# Create boot tarball for the lthor flashing
+DATE=`date +%Y%m%d`
+BOOT_TARBALL=tizen-local-${DATE}-boot-armv7l-rpi4.tar
+
+tar cf ${BOOT_TARBALL} boot.img modules.img
+if [ "$?" != "0" ]; then
+ echo "Failed to create boot tarball"
+ exit 1
+fi
+
+echo ${BOOT_TARBALL}