File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -39,6 +39,7 @@ echo " "
3939echo " scripts (Directory)"
4040echo " functions.sh"
4141echo " fetch_packages.sh"
42+ echo " data (Directory"
4243echo " configs (Directory)"
4344echo " feeds.conf.default <-- Can use the default version if you want"
4445echo " wrtmulti.config <-- This is needed regardless unless you change the name"
@@ -56,6 +57,11 @@ if [ ! -f "$FILE" ]; then
5657 echo " $FILE does not exist."
5758 exit
5859fi
60+ FILE=data
61+ if [ ! -d " $FILE " ]; then
62+ echo " $FILE does not exist."
63+ exit
64+ fi
5965FILE=feeds.conf.default
6066if [ ! -f " $FILE " ]; then
6167 echo " $FILE does not exist."
@@ -107,6 +113,21 @@ CCACHE_SETUP
107113# DEFAULT_THEME_CHANGE
108114REMOVE_LANGUAGES
109115
116+
117+ APPLY_PR_PATCHES_MANUAL () {
118+ echo " This is WORKING Here:"
119+ file=data/PR_patches.txt
120+ while read -r line; do
121+ if [ " $line " = " " ]; then continue
122+ fi
123+ cd " $GITHUB_WORKSPACE " /openwrt && wget https://patch-diff.githubusercontent.com/raw/openwrt/openwrt/pull/" $line " .patch
124+ echo " Applying $line .patch"
125+ git am " $line " .patch || error_return " Patch Failed, Aborting Patch"
126+ done < " $file "
127+ }
128+
129+ APPLY_PR_PATCHES_MANUAL
130+
110131echo " Make Menuconfig"
111132make menuconfig
112133
You can’t perform that action at this time.
0 commit comments