mirror of
				https://github.com/Ysurac/openmptcprouter.git
				synced 2025-03-09 15:40:20 +00:00 
			
		
		
		
	Update OpenWrt
This commit is contained in:
		
							parent
							
								
									9ca8f2dda5
								
							
						
					
					
						commit
						0496b08b89
					
				
					 2 changed files with 5 additions and 5 deletions
				
			
		
							
								
								
									
										8
									
								
								build.sh
									
										
									
									
									
								
							
							
						
						
									
										8
									
								
								build.sh
									
										
									
									
									
								
							|  | @ -22,7 +22,6 @@ _get_repo() ( | |||
| OMR_DIST=${OMR_DIST:-openmptcprouter} | ||||
| OMR_HOST=${OMR_HOST:-$(curl -sS ifconfig.co)} | ||||
| OMR_PORT=${OMR_PORT:-8000} | ||||
| OMR_REPO=${OMR_REPO:-http://$OMR_HOST:$OMR_PORT/release/$OMR_KERNEL} | ||||
| OMR_KEEPBIN=${OMR_KEEPBIN:-no} | ||||
| OMR_IMG=${OMR_IMG:-yes} | ||||
| #OMR_UEFI=${OMR_UEFI:-yes} | ||||
|  | @ -33,6 +32,7 @@ OMR_TARGET_CONFIG="config-$OMR_TARGET" | |||
| OMR_KERNEL=${OMR_KERNEL:-5.4} | ||||
| #OMR_RELEASE=${OMR_RELEASE:-$(git describe --tags `git rev-list --tags --max-count=1` | sed 's/^\([0-9.]*\).*/\1/')} | ||||
| OMR_RELEASE=${OMR_RELEASE:-$(git tag --sort=committerdate | tail -1)} | ||||
| OMR_REPO=${OMR_REPO:-http://$OMR_HOST:$OMR_PORT/release/$OMR_RELEASE} | ||||
| 
 | ||||
| OMR_FEED_URL="${OMR_FEED_URL:-https://github.com/ysurac/openmptcprouter-feeds}" | ||||
| OMR_FEED_SRC="${OMR_FEED_SRC:-develop}" | ||||
|  | @ -64,9 +64,9 @@ fi | |||
| 
 | ||||
| #_get_repo source https://github.com/ysurac/openmptcprouter-source "master" | ||||
| if [ "$OMR_OPENWRT" = "default" ]; then | ||||
| 	_get_repo "$OMR_TARGET/source" https://github.com/openwrt/openwrt "635f111148c3f7ccb0ecc92863a3b1a142f6ebeb" | ||||
| 	_get_repo feeds/packages https://github.com/openwrt/packages "c7dca50f110d5458ceff21a2274eddae2aae119b" | ||||
| 	_get_repo feeds/luci https://github.com/openwrt/luci "558525783cf33a986efa33d23f5283b33a6c936e" | ||||
| 	_get_repo "$OMR_TARGET/source" https://github.com/openwrt/openwrt "b123ffdf6ebaa3108524bb50d306d6ae73ff7405" | ||||
| 	_get_repo feeds/packages https://github.com/openwrt/packages "477a881f14e0b0772002dbd2ee2d2c89139fc149" | ||||
| 	_get_repo feeds/luci https://github.com/openwrt/luci "051c828aeb754a70cf9a3c710985992c29b35b7b" | ||||
| elif [ "$OMR_OPENWRT" = "master" ]; then | ||||
| 	_get_repo "$OMR_TARGET/source" https://github.com/openwrt/openwrt "master" | ||||
| 	_get_repo feeds/packages https://github.com/openwrt/packages "master" | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue