include/version: use ImmortalWrt's release repo
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
This commit is contained in:
parent
a688c92423
commit
2c16ee6a6d
@ -29,7 +29,7 @@ VERSION_CODE:=$(call qstrip,$(CONFIG_VERSION_CODE))
|
||||
VERSION_CODE:=$(if $(VERSION_CODE),$(VERSION_CODE),$(REVISION))
|
||||
|
||||
VERSION_REPO:=$(call qstrip,$(CONFIG_VERSION_REPO))
|
||||
VERSION_REPO:=$(if $(VERSION_REPO),$(VERSION_REPO),https://downloads.openwrt.org/releases/21.02-SNAPSHOT)
|
||||
VERSION_REPO:=$(if $(VERSION_REPO),$(VERSION_REPO),https://downloads.immortalwrt.org/releases/21.02-SNAPSHOT)
|
||||
|
||||
VERSION_DIST:=$(call qstrip,$(CONFIG_VERSION_DIST))
|
||||
VERSION_DIST:=$(if $(VERSION_DIST),$(VERSION_DIST),ImmortalWrt)
|
||||
|
@ -183,7 +183,7 @@ if VERSIONOPT
|
||||
config VERSION_REPO
|
||||
string
|
||||
prompt "Release repository"
|
||||
default "https://downloads.openwrt.org/releases/21.02-SNAPSHOT"
|
||||
default "https://downloads.immortalwrt.org/releases/21.02-SNAPSHOT"
|
||||
help
|
||||
This is the repository address embedded in the image, it defaults
|
||||
to the trunk snapshot repo; the url may contain the following placeholders:
|
||||
|
@ -12,6 +12,6 @@ uci -q batch <<-EOF
|
||||
EOF
|
||||
uci commit system
|
||||
|
||||
sed -i 's,downloads.openwrt.org,mirrors.tencent.com/lede,g' /etc/opkg/distfeeds.conf
|
||||
sed -i 's,downloads.immortalwrt.org,mirrors.vsean.net/openwrt,g' /etc/opkg/distfeeds.conf
|
||||
|
||||
exit 0
|
||||
|
@ -32,7 +32,7 @@ SUBTARGET=${SUBTARGET:-$CONFIG_SUBTARGET}
|
||||
ARCH=${ARCH:-$CONFIG_ARCH}
|
||||
PACKAGES=${PACKAGES:-$CONFIG_PACKAGES}
|
||||
BIN_DIR=${CONFIG_BIN_DIR:-./bin}
|
||||
BASE_URL="${BASE_URL:-https://downloads.openwrt.org/snapshots}"
|
||||
BASE_URL="${BASE_URL:-https://downloads.immortalwrt.org/snapshots}"
|
||||
CHECK_INSTALLED="${CHECK_INSTALLED:-y}"
|
||||
|
||||
TARGET_URL="$BASE_URL/targets/$TARGET/$SUBTARGET/packages/Packages.gz"
|
||||
|
Loading…
x
Reference in New Issue
Block a user