"5.1" hbl Packages list asks for kernel.0 version when none exists
Running ./generate_medkit -t mox from a checkout at: commit 24d9b4c2 (HEAD -> hbl, origin/hbl)
pulls down: https://repo.turris.cz/hbl/mox/packages/core/Packages
and complains:
ERROR: inconsistent: Package kmod-cfg80211 requires package kernel that is not available.
which I've seen this before. This is because of the .0 on line 221 of include/kernel.mk:
define Package/kmod-$(1)
TITLE:=$(TITLE)
SECTION:=kernel
CATEGORY:=Kernel modules
DESCRIPTION:=$(DESCRIPTION)
VERSION:=$(LINUX_VERSION)$(if $(PKG_VERSION),+$(PKG_VERSION))-$(if $(PKG_RELEASE),$(PKG_RELEASE),$(LINUX_RELEASE))-$(LINUX_VERMAGIC)
EXTRA_DEPENDS:=kernel (=$(LINUX_VERSION)-$(LINUX_RELEASE)-$(LINUX_VERMAGIC).0)
somewhere the kernel was intended to have a trailing .0 on it, which it does not. This is not in openwrt upstream. Removing the .0 here fixes the package dependancy problem, but then I have to build all the packages, which as reported and acknowledged, regularly does not complete. (Yes, I finally have a minimal .config, but it may too minimal)
If one examines the above URL for the Packages file in an editor one sees:
Package: kernel
Version: 4.14.180-1-b05c242413ba31ef0a03c70a9c2877a9.11
Depends: libc
...
Package: kmod-cfg80211
Version: 4.14.180+4.19.120-1-1-b05c242413ba31ef0a03c70a9c2877a9.11
Depends: kernel (=4.14.180-1-b05c242413ba31ef0a03c70a9c2877a9.0), iw, wireless-regdb