diff options
| author | Nick Hainke <vincent@systemli.org> | 2023-04-26 11:40:36 +0200 |
|---|---|---|
| committer | Nick Hainke <vincent@systemli.org> | 2023-04-27 17:14:16 +0200 |
| commit | 3e96c851a7871f38c52c7be0e0f693b045fe0758 (patch) | |
| tree | 750673be0e0cea9cc423b877329cc8513cb3e9d9 /alfred | |
| parent | a26e3441d8ad7de74c58a181901137b986e2fb21 (diff) | |
treewide: remove AUTORELEASE
OpenWrt/packages removed AUTORELEASE treewide. Remove it also in the
routing feed.
This is just copied from [0] with modification to the sed cmd because it
was not working for the routing feed:
The following temporary change was made to the core:
diff --git a/rules.mk b/rules.mk
index 57d7995d4fa8..f16367de87a8 100644
--- a/rules.mk
+++ b/rules.mk
@@ -429,7 +429,7 @@ endef
abi_version_str = $(subst -,,$(subst _,,$(subst .,,$(1))))
COMMITCOUNT = $(if $(DUMP),0,$(call commitcount))
-AUTORELEASE = $(if $(DUMP),0,$(call commitcount,1))
+AUTORELEASE = $(if $(DUMP),0,$(shell sed -i "s/\$$(AUTORELEASE)/$(call commitcount,1)/" $(CURDIR)/Makefile))
all:
FORCE: ;
And this command used to fix affected packages:
for i in $(cd feeds/routing; git grep -l PKG_RELEASE:=.*AUTORELEASE | \
sed 's/\/Makefile$//';);
do
make package/$i/download
done
[0] - https://github.com/openwrt/packages/commit/0c10c224be81f9221dabfab449855ab6718d2a0c
Signed-off-by: Nick Hainke <vincent@systemli.org>
Diffstat (limited to 'alfred')
| -rw-r--r-- | alfred/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/alfred/Makefile b/alfred/Makefile index c5fceab..f163908 100644 --- a/alfred/Makefile +++ b/alfred/Makefile @@ -4,7 +4,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=alfred PKG_VERSION:=2023.0 -PKG_RELEASE:=$(AUTORELEASE) +PKG_RELEASE:=1 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=https://downloads.open-mesh.org/batman/releases/batman-adv-$(PKG_VERSION) |
