Skip to content
Snippets Groups Projects
Verified Commit 5d3ce1e3 authored by Karel Koci's avatar Karel Koci :metal:
Browse files

patches/openwrt: fix problem with invalid kernel dependency

parent eb4008d8
1 merge request!123Turris OS 5.0 (HBK)
......@@ -9,10 +9,11 @@ and bump release number if it did.
Signed-off-by: Michal Hrusecky <michal.hrusecky@nic.cz>
---
config/Config-build.in | 16 ++++++++++++++++
include/kernel.mk | 2 +-
include/package-defaults.mk | 4 ++++
include/package-ipkg.mk | 26 +++++++++++++++++++++++++-
rules.mk | 1 +
4 files changed, 46 insertions(+), 1 deletion(-)
5 files changed, 47 insertions(+), 2 deletions(-)
diff --git a/config/Config-build.in b/config/Config-build.in
index 5132497..c48fcd9 100644
......@@ -41,6 +42,19 @@ index 5132497..c48fcd9 100644
comment "Hardening build options"
config PKG_CHECK_FORMAT_SECURITY
diff --git a/include/kernel.mk b/include/kernel.mk
index 975cf45..68084fa 100644
--- a/include/kernel.mk
+++ b/include/kernel.mk
@@ -208,7 +208,7 @@ define KernelPackage
SECTION:=kernel
CATEGORY:=Kernel modules
DESCRIPTION:=$(DESCRIPTION)
- EXTRA_DEPENDS:=kernel (=$(LINUX_VERSION)-$(LINUX_RELEASE)-$(LINUX_VERMAGIC))
+ EXTRA_DEPENDS:=kernel (=$(LINUX_VERSION)-$(LINUX_RELEASE)-$(LINUX_VERMAGIC).0)
VERSION:=$(LINUX_VERSION)$(if $(PKG_VERSION),+$(PKG_VERSION))-$(if $(PKG_RELEASE),$(PKG_RELEASE),$(LINUX_RELEASE))
PKGFLAGS:=$(PKGFLAGS)
$(call KernelPackage/$(1))
diff --git a/include/package-defaults.mk b/include/package-defaults.mk
index 31e331b..19b5e6f 100644
--- a/include/package-defaults.mk
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment