[elbe-devel] [PATCH v2 2/2] elbepack: makofiles: debianize: install

viraj at linutronix.de viraj at linutronix.de
Mon Nov 15 23:11:26 CET 2021


From: Viraj Shah <viraj.shah at linutronix.de>

Upstream debian do not package the scripts files, so remove it from
install target. And these script files are build for host architeture,
so they shouldn't be packaged.

Signed-off-by: Viraj Shah <viraj.shah at linutronix.de>
---
 elbepack/makofiles/debianize/kernel/rules.mako | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/elbepack/makofiles/debianize/kernel/rules.mako b/elbepack/makofiles/debianize/kernel/rules.mako
index 221a5fc6c..b91813312 100755
--- a/elbepack/makofiles/debianize/kernel/rules.mako
+++ b/elbepack/makofiles/debianize/kernel/rules.mako
@@ -106,6 +106,9 @@ override_dh_auto_install:
 	ln -sf "/usr/src/linux-headers-$(REL)" "$(TMP_DIR)/lib/modules/$(REL)/build"
 	rm -f "$(DEB_DIR)/hdrsrcfiles" "$(DEB_DIR)/hdrobjfiles"
 
+override_dh_install:
+	dh_install -X/scripts/
+
 override_dh_auto_test:
 
 %%:
-- 
2.30.2



More information about the elbe-devel mailing list