]> git.proxmox.com Git - ksm-control-daemon.git/commitdiff
debian: update comapt level to 12 and adapt dh
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Mon, 24 May 2021 08:34:42 +0000 (10:34 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Mon, 24 May 2021 09:25:52 +0000 (11:25 +0200)
Replace the obsolete `override_dh_systemd_enable` by the new, unified
`override_dh_installsystemd`

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
debian/compat
debian/control
debian/ksm-control-daemon.ksmtuned.service [new file with mode: 0644]
debian/ksmtuned.service [deleted file]
debian/rules

index ec635144f60048986bc560c5576355344005e6e7..48082f72f087ce7e6fa75b9c41d7387daecd447b 100644 (file)
@@ -1 +1 @@
-9
+12
index ebc976008f7693f060a5446a75475d80c78f9582..3ee36ed645092cfe7b6655ad98515ab45bb2e395 100644 (file)
@@ -2,9 +2,9 @@ Source: ksm-control-daemon
 Section: admin
 Priority: optional
 Maintainer: Proxmox Support Team <support@proxmox.com>
-Build-Depends: debhelper (>= 7), quilt, dh-systemd (>= 1.4)
-Standards-Version: 3.7.3
-Homepage: http://pve.proxmox.com
+Build-Depends: debhelper (>= 12), quilt
+Standards-Version: 4.5.1
+Homepage: https://pve.proxmox.com
 
 Package: ksm-control-daemon
 Architecture: all
diff --git a/debian/ksm-control-daemon.ksmtuned.service b/debian/ksm-control-daemon.ksmtuned.service
new file mode 100644 (file)
index 0000000..ffdaee1
--- /dev/null
@@ -0,0 +1,10 @@
+[Unit]
+Description=Kernel Samepage Merging (KSM) Tuning Daemon
+
+[Service]
+ExecStart=/usr/sbin/ksmtuned
+ExecReload=/bin/kill -USR1 $MAINPID
+Type=forking
+
+[Install]
+WantedBy=multi-user.target
\ No newline at end of file
diff --git a/debian/ksmtuned.service b/debian/ksmtuned.service
deleted file mode 100644 (file)
index ffdaee1..0000000
+++ /dev/null
@@ -1,10 +0,0 @@
-[Unit]
-Description=Kernel Samepage Merging (KSM) Tuning Daemon
-
-[Service]
-ExecStart=/usr/sbin/ksmtuned
-ExecReload=/bin/kill -USR1 $MAINPID
-Type=forking
-
-[Install]
-WantedBy=multi-user.target
\ No newline at end of file
index e9c0ac4e90fb86dd4a617344c47bf7b1d8929de6..895db3dc79a6187f555dc83f4b2a9d594a8a7cd9 100755 (executable)
@@ -8,7 +8,7 @@ DPKG_EXPORT_BUILDFLAGS = 1
 include /usr/share/dpkg/default.mk
 
 %:
-       dh $@  --with quilt,systemd
+       dh $@  --with quilt
 
 
 destdir := $(CURDIR)/debian/ksm-control-daemon
@@ -22,5 +22,5 @@ override_dh_auto_install:
        install -D -m 0644 $(CURDIR)/debian/defaults $(destdir)/etc/default/ksmtuned
        install -D -m 0644 $(CURDIR)/ksmtuned.conf $(destdir)/etc/ksmtuned.conf
 
-override_dh_systemd_enable:
-       dh_systemd_enable --name ksmtuned
+override_dh_installsystemd:
+       dh_installsystemd --name ksmtuned