[pve-devel] [PATCH kernel-meta 1/3] build: remove dead code

Fabian Grünbichler f.gruenbichler at proxmox.com
Mon Dec 15 10:35:12 CET 2025


these are leftover from when this was built during the kernel build..

Signed-off-by: Fabian Grünbichler <f.gruenbichler at proxmox.com>
---
 Makefile     | 1 -
 debian/rules | 5 -----
 2 files changed, 6 deletions(-)

diff --git a/Makefile b/Makefile
index cbdacbc..eb0cfb0 100644
--- a/Makefile
+++ b/Makefile
@@ -18,7 +18,6 @@ $(BUILD_DIR): debian
 	rm -rf $@ $@.tmp
 	mkdir $@.tmp
 	cp -a debian $@.tmp/
-	cd $@.tmp; debian/rules debian/control
 	echo "git clone git://git.proxmox.com/git/pve-kernel-meta.git\\ngit checkout $(GITVERSION)" > $@.tmp/debian/SOURCE
 	mv $@.tmp $@
 
diff --git a/debian/rules b/debian/rules
index 3dd1bc8..cb304a5 100755
--- a/debian/rules
+++ b/debian/rules
@@ -4,11 +4,6 @@
 # Uncomment this to turn on verbose mode.
 #export DH_VERBOSE=1
 
-debian/control: $(wildcard debian/*.in)
-	sed -e 's/@KERNEL_ABI@/${KERNEL_ABI}/g' < debian/postrm.in > debian/pve-kernel-${KERNEL_VER}.postrm
-	sed -e 's/@KERNEL_ABI@/${KERNEL_ABI}/g' -e 's/@KERNEL_VER@/${KERNEL_VER}/g' < debian/postinst.in > debian/pve-kernel-${KERNEL_VER}.postinst
-	sed -e 's/@KERNEL_ABI@/${KERNEL_ABI}/g' -e 's/@KERNEL_VER@/${KERNEL_VER}/g' < debian/control.in > debian/control
-
 %:
 	dh $@
 
-- 
2.47.3





More information about the pve-devel mailing list