From b0c12c6f43b7396768d9efd6460146e674a76918 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Luis=20Guzm=C3=A1n?= <ark@switnet.org>
Date: Thu, 22 Jun 2023 20:50:00 +0000
Subject: [PATCH] linux-hwe-5.19: fix kernel-wedge rebuild using source
 package.

---
 helpers/make-linux-hwe-5.19 | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/helpers/make-linux-hwe-5.19 b/helpers/make-linux-hwe-5.19
index bd50c51f..9794be7b 100644
--- a/helpers/make-linux-hwe-5.19
+++ b/helpers/make-linux-hwe-5.19
@@ -134,7 +134,8 @@ done
 sed '/include.*2-binary-arch.mk/a\\n# Rules for building the udebs ($(DEBIAN)-installer)\ninclude $(DROOT)/rules.d/5-udebs.mk' -i debian/rules
 sed 's/+= binary-debs/+= binary-udebs/' -i debian/rules.d/2-binary-arch.mk
 sed '/Build-Depends:/a\ kernel-wedge <!stage1>,' -i 	debian/control \
-							debian.master/control.stub.in
+							debian.master/control.stub.in \
+							debian.hwe-$HWEKR/control.stub.in
 
 # Wipe dkms-versions
 # lists zfs / v4l2loopback versions
-- 
GitLab