From 5531fbdd39ca9aa29dadd94d80f10bd0010bc984acd7f57efca30f104c5ce339 Mon Sep 17 00:00:00 2001 From: Thorsten Kukuk Date: Thu, 8 Oct 2020 11:38:28 +0000 Subject: [PATCH] Accepting request 839811 from home:favogt:combustion I noticed that the default.target.wants/issue-generator.path was only present after the first boot, but not in the initial snapshot. This seems to fix that. - Handle the .path unit in scriptlets as well OBS-URL: https://build.opensuse.org/request/show/839811 OBS-URL: https://build.opensuse.org/package/show/Base:System/issue-generator?expand=0&rev=32 --- issue-generator.changes | 5 +++++ issue-generator.spec | 8 ++++---- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/issue-generator.changes b/issue-generator.changes index e4acf97..e309bd1 100644 --- a/issue-generator.changes +++ b/issue-generator.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Oct 6 11:40:21 UTC 2020 - Fabian Vogt + +- Handle the .path unit in scriptlets as well + ------------------------------------------------------------------- Tue Jul 7 09:30:43 UTC 2020 - Thorsten Kukuk diff --git a/issue-generator.spec b/issue-generator.spec index 58923ca..b4579a7 100644 --- a/issue-generator.spec +++ b/issue-generator.spec @@ -51,18 +51,18 @@ install -m 644 udev/sysconfig.issue-generator %{buildroot}%{_fillupdir}/ %fdupes %{buildroot}%{_mandir} %pre -%service_add_pre issue-generator.service issue-add-ssh-keys.service +%service_add_pre issue-generator.service issue-generator.path issue-add-ssh-keys.service %post %tmpfiles_create issue-generator.conf %{fillup_only -n issue-generator} -%service_add_post issue-generator.service issue-add-ssh-keys.service +%service_add_post issue-generator.service issue-generator.path issue-add-ssh-keys.service %preun -%service_del_preun issue-generator.service issue-add-ssh-keys.service +%service_del_preun issue-generator.service issue-generator.path issue-add-ssh-keys.service %postun -%service_del_postun issue-generator.service issue-add-ssh-keys.service +%service_del_postun issue-generator.service issue-generator.path issue-add-ssh-keys.service %files %license COPYING