diff options
author | Paul Spooren <mail@aparcar.org> | 2024-03-17 18:43:10 +0100 |
---|---|---|
committer | Paul Spooren <mail@aparcar.org> | 2024-03-22 22:14:22 +0100 |
commit | e8725a932e16eaf6ec51add8c084d959cbe32ff2 (patch) | |
tree | 1e6e0a3731bf9c4860b6d13fa08bea226f999a6f /package/kernel/linux | |
parent | 36acf88fe0d974a7de5c3be5d3303048c54ce6fb (diff) | |
download | openwrt-e8725a932e16eaf6ec51add8c084d959cbe32ff2.tar.gz openwrt-e8725a932e16eaf6ec51add8c084d959cbe32ff2.tar.bz2 openwrt-e8725a932e16eaf6ec51add8c084d959cbe32ff2.zip |
treewide: use APK compatible version schema
Different from OPKG, APK uses a deterministic version schema which chips
the version into chunks and compares them individually. This enforces a
certain schema which was previously entirely flexible.
- Releases are added at the very and end prefixed with an `r` like
`1.2.3-r3`.
- Hashes are prefixed with a `~` like `1.2.3~abc123`.
- Dates become semantic versions, like `2024.04.01`
- Extra tags are possible like `_git`, `_alpha` and more.
For full details see the APK test list:
https://gitlab.alpinelinux.org/alpine/apk-tools/-/blob/master/test/version.data
Signed-off-by: Paul Spooren <mail@aparcar.org>
Diffstat (limited to 'package/kernel/linux')
-rw-r--r-- | package/kernel/linux/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/package/kernel/linux/Makefile b/package/kernel/linux/Makefile index d53017018c..8dfb01ad66 100644 --- a/package/kernel/linux/Makefile +++ b/package/kernel/linux/Makefile @@ -52,7 +52,7 @@ define Package/kernel CATEGORY:=Kernel DEFAULT:=y TITLE:=Virtual kernel package - VERSION:=$(LINUX_VERSION)-$(LINUX_RELEASE)-$(LINUX_VERMAGIC) + VERSION:=$(LINUX_VERSION)~$(LINUX_VERMAGIC)-r$(LINUX_RELEASE) URL:=http://www.kernel.org/ PKG_FLAGS:=nonshared endef |