I am aware of that. I just need to know how to do the patch index when changing from material to openwrt, i.e.
diff --git a/themes/luci-theme-openwrt/root/etc/uci-defaults/30_luci-theme-openwrt b/themes/luci-theme-openwrt/root/etc/uci-defaults/30_luci-theme-openwrt
index ???????..???????? 100755 <-- HOW TO GET THIS?
--- a/themes/luci-theme-openwrt/root/etc/uci-defaults/30_luci-theme-openwrt
+++ b/themes/luci-theme-openwrt/root/etc/uci-defaults/30_luci-theme-openwrt
@@ -3,7 +3,7 @@
if [ "$PKG_UPGRADE" != 1 ]; then
uci batch <<-EOF
set luci.themes.openwrt=/luci-static/openwrt
- set luci.main.mediaurlbase=/luci-static/openwrt
+# set luci.main.mediaurlbase=/luci-static/openwrt
commit luci
EOF
fi