[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1034215: drkonqi: dh_installsystemd doesn't handle files in /usr/lib/systemd/system



Andreas Henriksson <andreas@fatal.se> (2023-04-12):
> I forgot to mention that since this is a template unit (@.service)
> maybe the severity should not be RC.
> As far as I know debhelper will not enable any instance of a template
> unit by default anyway, so the consequences that bigon warned about
> probably doesn't apply here?

Right, moving the file doesn't change anything in the binary package.

Verified with the attached patch.


Cheers,
-- 
Cyril Brulebois (kibi@debian.org)            <https://debamax.com/>
D-I release manager -- Release team member -- Freelance Consultant
diff -Nru drkonqi-5.27.2/debian/changelog drkonqi-5.27.2/debian/changelog
--- drkonqi-5.27.2/debian/changelog	2023-02-28 13:58:47.000000000 +0000
+++ drkonqi-5.27.2/debian/changelog	2023-04-25 17:43:05.000000000 +0000
@@ -1,3 +1,11 @@
+drkonqi (5.27.2-1.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Ship systemd unit under /lib/systemd/system so that it can get picked
+    up by dh_installsystemd (Closes: #1034215).
+
+ -- Cyril Brulebois <kibi@debian.org>  Tue, 25 Apr 2023 17:43:05 +0000
+
 drkonqi (5.27.2-1) unstable; urgency=medium
 
   [ Aurélien COUDERC ]
diff -Nru drkonqi-5.27.2/debian/patches/0001-fix-systemd-unit-directory.patch drkonqi-5.27.2/debian/patches/0001-fix-systemd-unit-directory.patch
--- drkonqi-5.27.2/debian/patches/0001-fix-systemd-unit-directory.patch	1970-01-01 00:00:00.000000000 +0000
+++ drkonqi-5.27.2/debian/patches/0001-fix-systemd-unit-directory.patch	2023-04-25 17:42:41.000000000 +0000
@@ -0,0 +1,15 @@
+From: Cyril Brulebois <kibi@debian.org>
+Date: Tue, 25 Apr 2023 17:38:42 +0000
+Subject: Adjust systemd unit location
+Bug-Debian: https://bugs.debian.org/1034215
+--- a/src/coredump/processor/CMakeLists.txt
++++ b/src/coredump/processor/CMakeLists.txt
+@@ -11,7 +11,7 @@ configure_file(
+ )
+ install(
+     FILES ${CMAKE_CURRENT_BINARY_DIR}/drkonqi-coredump-processor@.service
+-    DESTINATION ${KDE_INSTALL_SYSTEMDUNITDIR}/system
++    DESTINATION /lib/systemd/system
+ )
+ 
+ # https://github.com/systemd/systemd/issues/19437
diff -Nru drkonqi-5.27.2/debian/patches/series drkonqi-5.27.2/debian/patches/series
--- drkonqi-5.27.2/debian/patches/series	1970-01-01 00:00:00.000000000 +0000
+++ drkonqi-5.27.2/debian/patches/series	2023-04-25 17:42:41.000000000 +0000
@@ -0,0 +1 @@
+0001-fix-systemd-unit-directory.patch

Attachment: signature.asc
Description: PGP signature


Reply to: