[rdkb][common][app][Refactor sync script]
[Description]
Refactor sync script
1. remove kernel file from logan repo
2. save sync mtk_openwrt_feeds log
[Release-log]
Change-Id: I463f3e685f379051e2ac3603eb1e077adbd14329
diff --git a/mtk_scripts/filogic-sync-openwrt-linux.sh b/mtk_scripts/filogic-sync-openwrt-linux.sh
index 78c708f..e4f0f0e 100755
--- a/mtk_scripts/filogic-sync-openwrt-linux.sh
+++ b/mtk_scripts/filogic-sync-openwrt-linux.sh
@@ -110,3 +110,8 @@
cp -rf mtk_openwrt_feeds/feed/mtk_factory_rw/files/ meta-filogic/recipes-devtools/mtk-factory-rw/
echo "sync done..........."
+
+#don't sync this kernl file,so remove it.it is download form logan repo
+rm -rf meta-filogic/recipes-kernel/linux/linux-mediatek-5.4/mediatek/files-5.4/include/uapi/
+#save sync mtk_openwrt_feeds log
+cd mtk_openwrt_feeds/ && git log --oneline -n 15 > mtk_openwrt_feeds.log
\ No newline at end of file