From 4f81d5b0829ebe354ec0faa1e99464b0c1bcb981 Mon Sep 17 00:00:00 2001 From: coolsnowwolf Date: Mon, 3 Feb 2020 12:33:12 +0800 Subject: [PATCH] Revert "OpenWrt v19.07.1: adjust config defaults" This reverts commit b7007324c0a1024e4c032759295e83602888cd46. --- include/version.mk | 4 ++-- package/base-files/image-config.in | 4 ++-- version | 1 - version.date | 1 - 4 files changed, 4 insertions(+), 6 deletions(-) delete mode 100644 version delete mode 100644 version.date diff --git a/include/version.mk b/include/version.mk index 0b038cca0..32483c101 100644 --- a/include/version.mk +++ b/include/version.mk @@ -26,13 +26,13 @@ PKG_CONFIG_DEPENDS += \ sanitize = $(call tolower,$(subst _,-,$(subst $(space),-,$(1)))) VERSION_NUMBER:=$(call qstrip,$(CONFIG_VERSION_NUMBER)) -VERSION_NUMBER:=$(if $(VERSION_NUMBER),$(VERSION_NUMBER),19.07.1) +VERSION_NUMBER:=$(if $(VERSION_NUMBER),$(VERSION_NUMBER),SNAPSHOT) 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),http://downloads.openwrt.org/releases/19.07.1) +VERSION_REPO:=$(if $(VERSION_REPO),$(VERSION_REPO),http://downloads.openwrt.org/snapshots) VERSION_DIST:=$(call qstrip,$(CONFIG_VERSION_DIST)) VERSION_DIST:=$(if $(VERSION_DIST),$(VERSION_DIST),OpenWrt) diff --git a/package/base-files/image-config.in b/package/base-files/image-config.in index 2da4e0906..3432db525 100644 --- a/package/base-files/image-config.in +++ b/package/base-files/image-config.in @@ -183,7 +183,7 @@ if VERSIONOPT config VERSION_REPO string prompt "Release repository" - default "http://downloads.openwrt.org/releases/19.07.1" + default "http://downloads.openwrt.org/snapshots" help This is the repository address embedded in the image, it defaults to the trunk snapshot repo; the url may contain the following placeholders: @@ -259,7 +259,7 @@ if VERSIONOPT config VERSION_CODE_FILENAMES bool prompt "Revision code in filenames" - default n + default y help Enable this to include the revision identifier or the configured version code into the firmware image, SDK- and Image Builder archive diff --git a/version b/version deleted file mode 100644 index 1af64ca79..000000000 --- a/version +++ /dev/null @@ -1 +0,0 @@ -r10911-c155900f66 \ No newline at end of file diff --git a/version.date b/version.date deleted file mode 100644 index 116c91dc7..000000000 --- a/version.date +++ /dev/null @@ -1 +0,0 @@ -1580313935 \ No newline at end of file