[PATCH 2/2] base-files: replace PKG_RELEASE with findrev
Paul Spooren
mail at aparcar.org
Fri Jan 1 19:22:13 EST 2021
The newly added `findrev` function does automatic versioning based on
Git commits of the package. Replace tedious to bump and merge conflict
causing `PKG_RELEASE` and replace it with `findrev`.
CC: Adrian Schmutzler <freifunk at adrianschmutzler.de>
Signed-off-by: Paul Spooren <mail at aparcar.org>
---
package/base-files/Makefile | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/package/base-files/Makefile b/package/base-files/Makefile
index da3976424f..8342dd2f20 100644
--- a/package/base-files/Makefile
+++ b/package/base-files/Makefile
@@ -12,7 +12,6 @@ include $(INCLUDE_DIR)/version.mk
include $(INCLUDE_DIR)/feeds.mk
PKG_NAME:=base-files
-PKG_RELEASE:=244
PKG_FLAGS:=nonshared
PKG_FILE_DEPENDS:=$(PLATFORM_DIR)/ $(GENERIC_PLATFORM_DIR)/base-files/
@@ -40,7 +39,7 @@ define Package/base-files
DEPENDS:=+netifd +libc +jsonfilter +SIGNED_PACKAGES:usign +SIGNED_PACKAGES:openwrt-keyring +NAND_SUPPORT:ubi-utils +fstools +fwtool
TITLE:=Base filesystem for OpenWrt
URL:=http://openwrt.org/
- VERSION:=$(PKG_RELEASE)-$(REVISION)
+ VERSION:=$(call findrev)
endef
define Package/base-files/conffiles
--
2.29.2
More information about the openwrt-devel
mailing list